Merge branch 'develop' of ssh://git.mnml.gg:40022/~/mnml into develop
This commit is contained in:
commit
02e739606c
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mnml-client",
|
"name": "mnml-client",
|
||||||
"version": "1.7.0",
|
"version": "1.7.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mnml-client",
|
"name": "mnml-client",
|
||||||
"version": "1.7.0",
|
"version": "1.7.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
module.exports = { // This will need to be edited if we change server recipes
|
// This will need to be edited if we change server recipes
|
||||||
|
module.exports = {
|
||||||
// Attack
|
// Attack
|
||||||
Strike: () => 'red-border',
|
Strike: () => 'red-border',
|
||||||
Blast: () => 'blue-border',
|
Blast: () => 'blue-border',
|
||||||
@ -31,9 +32,9 @@ module.exports = { // This will need to be edited if we change server recipes
|
|||||||
Restrict: () => 'red-border',
|
Restrict: () => 'red-border',
|
||||||
Purge: () => 'green-border',
|
Purge: () => 'green-border',
|
||||||
Silence: () => 'blue-border',
|
Silence: () => 'blue-border',
|
||||||
Curse: () => 'red-green-border',
|
Invert: () => 'red-green-border',
|
||||||
Decay: () => 'blue-green-border',
|
Decay: () => 'blue-green-border',
|
||||||
Invert: () => 'red-blue-border',
|
Curse: () => 'red-blue-border',
|
||||||
|
|
||||||
// // Lifes Upgrades
|
// // Lifes Upgrades
|
||||||
// LifeGG: () => 'green-border',
|
// LifeGG: () => 'green-border',
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mnml-ops",
|
"name": "mnml-ops",
|
||||||
"version": "1.7.0",
|
"version": "1.7.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "mnml"
|
name = "mnml"
|
||||||
version = "1.7.0"
|
version = "1.7.1"
|
||||||
authors = ["ntr <ntr@smokestack.io>"]
|
authors = ["ntr <ntr@smokestack.io>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@ -620,70 +620,70 @@ impl Item {
|
|||||||
// Lifes Upgrades
|
// Lifes Upgrades
|
||||||
Item::LifeGG |
|
Item::LifeGG |
|
||||||
Item::LifeGGPlus |
|
Item::LifeGGPlus |
|
||||||
Item::LifeGGPlusPlus => format!("Increases construct GreenLife by {:?}.
|
Item::LifeGGPlusPlus => format!("Increases construct GreenLife by {:?}.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
Item::LifeRR |
|
Item::LifeRR |
|
||||||
Item::LifeRRPlus |
|
Item::LifeRRPlus |
|
||||||
Item::LifeRRPlusPlus => format!("Increases construct RedLife by {:?}.
|
Item::LifeRRPlusPlus => format!("Increases construct RedLife by {:?}.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
Item::LifeBB |
|
Item::LifeBB |
|
||||||
Item::LifeBBPlus |
|
Item::LifeBBPlus |
|
||||||
Item::LifeBBPlusPlus => format!("Increases construct BlueLife by {:?}.
|
Item::LifeBBPlusPlus => format!("Increases construct BlueLife by {:?}.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
Item::LifeRG |
|
Item::LifeRG |
|
||||||
Item::LifeRGPlus |
|
Item::LifeRGPlus |
|
||||||
Item::LifeRGPlusPlus => format!("Increases construct RedLife and GreenLife by {:?}.
|
Item::LifeRGPlusPlus => format!("Increases construct RedLife and GreenLife by {:?}.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
Item::LifeGB |
|
Item::LifeGB |
|
||||||
Item::LifeGBPlus |
|
Item::LifeGBPlus |
|
||||||
Item::LifeGBPlusPlus => format!("Increases construct GreenLife and BlueLife by {:?}.
|
Item::LifeGBPlusPlus => format!("Increases construct GreenLife and BlueLife by {:?}.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
Item::LifeRB |
|
Item::LifeRB |
|
||||||
Item::LifeRBPlus |
|
Item::LifeRBPlus |
|
||||||
Item::LifeRBPlusPlus => format!("Increases construct RedLife and BlueLife by {:?}.
|
Item::LifeRBPlusPlus => format!("Increases construct RedLife and BlueLife by {:?}.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
// Power Upgrades
|
// Power Upgrades
|
||||||
Item::PowerRR |
|
Item::PowerRR |
|
||||||
Item::PowerRRPlus |
|
Item::PowerRRPlus |
|
||||||
Item::PowerRRPlusPlus => format!("Increases construct RedPower by {:?}%.
|
Item::PowerRRPlusPlus => format!("Increases construct RedPower by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
Item::PowerBB |
|
Item::PowerBB |
|
||||||
Item::PowerBBPlus |
|
Item::PowerBBPlus |
|
||||||
Item::PowerBBPlusPlus => format!("Increases construct BluePower by {:?}%.
|
Item::PowerBBPlusPlus => format!("Increases construct BluePower by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
Item::PowerGG |
|
Item::PowerGG |
|
||||||
Item::PowerGGPlus |
|
Item::PowerGGPlus |
|
||||||
Item::PowerGGPlusPlus => format!("Increases construct GreenPower by {:?}%.
|
Item::PowerGGPlusPlus => format!("Increases construct GreenPower by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
Item::PowerRG |
|
Item::PowerRG |
|
||||||
Item::PowerRGPlus |
|
Item::PowerRGPlus |
|
||||||
Item::PowerRGPlusPlus => format!("Increases construct GreenPower and RedPower by {:?}%.
|
Item::PowerRGPlusPlus => format!("Increases construct GreenPower and RedPower by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
Item::PowerGB |
|
Item::PowerGB |
|
||||||
Item::PowerGBPlus |
|
Item::PowerGBPlus |
|
||||||
Item::PowerGBPlusPlus => format!("Increases construct GreenPower and BluePower by {:?}%.
|
Item::PowerGBPlusPlus => format!("Increases construct GreenPower and BluePower by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
Item::PowerRB |
|
Item::PowerRB |
|
||||||
Item::PowerRBPlus |
|
Item::PowerRBPlus |
|
||||||
Item::PowerRBPlusPlus => format!("Increases construct RedPower and BluePower by {:?}%.
|
Item::PowerRBPlusPlus => format!("Increases construct RedPower and BluePower by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
@ -705,7 +705,7 @@ impl Item {
|
|||||||
Item::SpeedGGPlusPlus |
|
Item::SpeedGGPlusPlus |
|
||||||
Item::SpeedRGPlusPlus |
|
Item::SpeedRGPlusPlus |
|
||||||
Item::SpeedGBPlusPlus |
|
Item::SpeedGBPlusPlus |
|
||||||
Item::SpeedRBPlusPlus => format!("Increases construct SpeedStat by {:?}%.
|
Item::SpeedRBPlusPlus => format!("Increases construct SpeedStat by {:?}%.
|
||||||
If your team meets total colour thresholds the spec provides additional bonuses.",
|
If your team meets total colour thresholds the spec provides additional bonuses.",
|
||||||
self.into_spec().unwrap().values().base()),
|
self.into_spec().unwrap().values().base()),
|
||||||
|
|
||||||
@ -796,7 +796,7 @@ impl Item {
|
|||||||
Item::Hybrid|
|
Item::Hybrid|
|
||||||
Item::HybridPlus |
|
Item::HybridPlus |
|
||||||
Item::HybridPlusPlus => format!(
|
Item::HybridPlusPlus => format!(
|
||||||
"Hybrid increases GreenPower by {:?}%.
|
"Hybrid increases GreenPower by {:?}%.
|
||||||
Blue based Attack skills will blast again dealing {:?}% GreenPower as blue damage.
|
Blue based Attack skills will blast again dealing {:?}% GreenPower as blue damage.
|
||||||
Lasts {:?}T.",
|
Lasts {:?}T.",
|
||||||
self.into_skill().unwrap().effect()[0].get_multiplier() - 100,
|
self.into_skill().unwrap().effect()[0].get_multiplier() - 100,
|
||||||
@ -823,7 +823,7 @@ impl Item {
|
|||||||
Item::Purge|
|
Item::Purge|
|
||||||
Item::PurgePlus |
|
Item::PurgePlus |
|
||||||
Item::PurgePlusPlus => format!(
|
Item::PurgePlusPlus => format!(
|
||||||
"Remove buffs from target construct.
|
"Remove buffs from target construct.
|
||||||
Applies purge disabling target green skills for {:?}T.",
|
Applies purge disabling target green skills for {:?}T.",
|
||||||
self.into_skill().unwrap().effect()[0].get_duration()),
|
self.into_skill().unwrap().effect()[0].get_duration()),
|
||||||
|
|
||||||
@ -836,7 +836,7 @@ impl Item {
|
|||||||
Item::Reflect|
|
Item::Reflect|
|
||||||
Item::ReflectPlus |
|
Item::ReflectPlus |
|
||||||
Item::ReflectPlusPlus => format!(
|
Item::ReflectPlusPlus => format!(
|
||||||
"Reflect incoming blue skills to source. Lasts {:?}T.
|
"Reflect incoming blue skills to source. Lasts {:?}T.
|
||||||
Recharges target BlueLife based on {:?}% BluePower.",
|
Recharges target BlueLife based on {:?}% BluePower.",
|
||||||
self.into_skill().unwrap().effect()[0].get_duration(),
|
self.into_skill().unwrap().effect()[0].get_duration(),
|
||||||
self.into_skill().unwrap().multiplier()),
|
self.into_skill().unwrap().multiplier()),
|
||||||
@ -943,6 +943,11 @@ impl Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// !!!!!!
|
||||||
|
// IF YOU CHANGE A COMBO
|
||||||
|
// BE SURE TO EDIT BUTTONS.JSX TOO
|
||||||
|
// !!!!!!
|
||||||
|
|
||||||
fn combo(&self) -> Vec<Item> {
|
fn combo(&self) -> Vec<Item> {
|
||||||
match self {
|
match self {
|
||||||
Item::Intercept => vec![Item::Buff, Item::Red, Item::Red],
|
Item::Intercept => vec![Item::Buff, Item::Red, Item::Red],
|
||||||
|
|||||||
@ -831,13 +831,13 @@ impl Skill {
|
|||||||
|
|
||||||
// Buff base
|
// Buff base
|
||||||
Skill::HybridBlast => 50,
|
Skill::HybridBlast => 50,
|
||||||
|
|
||||||
Skill::HasteStrike => 60,
|
Skill::HasteStrike => 60,
|
||||||
|
|
||||||
Skill::Intercept=> 80,
|
Skill::Intercept=> 80,
|
||||||
Skill::InterceptPlus => 110,
|
Skill::InterceptPlus => 110,
|
||||||
Skill::InterceptPlusPlus => 150,
|
Skill::InterceptPlusPlus => 150,
|
||||||
|
|
||||||
Skill::TriageTick=> 75,
|
Skill::TriageTick=> 75,
|
||||||
Skill::TriageTickPlus => 110,
|
Skill::TriageTickPlus => 110,
|
||||||
Skill::TriageTickPlusPlus => 140,
|
Skill::TriageTickPlusPlus => 140,
|
||||||
@ -1392,7 +1392,10 @@ fn sustain(source: &mut Construct, target: &mut Construct, mut results: Resoluti
|
|||||||
if red > 0 || blue > 0 { EventStages::PostOnly }
|
if red > 0 || blue > 0 { EventStages::PostOnly }
|
||||||
else { EventStages::NoStages }
|
else { EventStages::NoStages }
|
||||||
}
|
}
|
||||||
_ => EventStages::NoStages,
|
_ => {
|
||||||
|
warn!("no recharge event found {:?}", e);
|
||||||
|
EventStages::NoStages
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
results.push(Resolution::new(source, target).event(e).stages(stages));
|
results.push(Resolution::new(source, target).event(e).stages(stages));
|
||||||
@ -1411,7 +1414,10 @@ fn intercept(source: &mut Construct, target: &mut Construct, mut results: Resolu
|
|||||||
if red > 0 || blue > 0 { EventStages::PostOnly }
|
if red > 0 || blue > 0 { EventStages::PostOnly }
|
||||||
else { EventStages::NoStages }
|
else { EventStages::NoStages }
|
||||||
}
|
}
|
||||||
_ => EventStages::NoStages,
|
_ => {
|
||||||
|
warn!("no recharge event found {:?}", e);
|
||||||
|
EventStages::NoStages
|
||||||
|
}
|
||||||
};
|
};
|
||||||
results.push(Resolution::new(source, target).event(e).stages(stages));
|
results.push(Resolution::new(source, target).event(e).stages(stages));
|
||||||
|
|
||||||
@ -1712,8 +1718,11 @@ fn reflect(source: &mut Construct, target: &mut Construct, mut results: Resoluti
|
|||||||
Event::Recharge { red, blue, skill: _ } => {
|
Event::Recharge { red, blue, skill: _ } => {
|
||||||
if red > 0 || blue > 0 { EventStages::PostOnly }
|
if red > 0 || blue > 0 { EventStages::PostOnly }
|
||||||
else { EventStages::NoStages }
|
else { EventStages::NoStages }
|
||||||
},
|
}
|
||||||
_ => EventStages::NoStages,
|
_ => {
|
||||||
|
warn!("no recharge event found {:?}", e);
|
||||||
|
EventStages::NoStages
|
||||||
|
}
|
||||||
};
|
};
|
||||||
results.push(Resolution::new(source, target).event(e).stages(stages));
|
results.push(Resolution::new(source, target).event(e).stages(stages));
|
||||||
return results;;
|
return results;;
|
||||||
@ -1728,7 +1737,10 @@ fn recharge(source: &mut Construct, target: &mut Construct, mut results: Resolut
|
|||||||
if red > 0 || blue > 0 { EventStages::AllStages }
|
if red > 0 || blue > 0 { EventStages::AllStages }
|
||||||
else { EventStages::StartEnd }
|
else { EventStages::StartEnd }
|
||||||
}
|
}
|
||||||
_ => EventStages::NoStages,
|
_ => {
|
||||||
|
warn!("no recharge event found {:?}", e);
|
||||||
|
EventStages::NoStages
|
||||||
|
}
|
||||||
};
|
};
|
||||||
results.push(Resolution::new(source, target).event(e).stages(stages));
|
results.push(Resolution::new(source, target).event(e).stages(stages));
|
||||||
return results;
|
return results;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user