This commit is contained in:
ntr
2019-07-05 17:18:21 +10:00
parent 83e8117c6a
commit 3abdfe81d7
3 changed files with 25 additions and 11 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ pub fn resolve(skill: Skill, source: &mut Construct, target: &mut Construct, mut
Skill::BreakI |
Skill::BreakII |
Skill::BreakIII => break(source, target, resolutions, skill), // no damage stun, adds vulnerable
Skill::BreakIII => break_(source, target, resolutions, skill), // no damage stun, adds vulnerable
Skill::TriageI |
Skill::TriageII |
@@ -1296,7 +1296,7 @@ fn intercept(source: &mut Construct, target: &mut Construct, mut results: Resolu
return results;
}
fn break(source: &mut Construct, target: &mut Construct, mut results: Resolutions, skill: Skill) -> Resolutions {
fn break_(source: &mut Construct, target: &mut Construct, mut results: Resolutions, skill: Skill) -> Resolutions {
let stun = skill.effect()[0];
results.push(Resolution::new(source, target).event(target.add_effect(skill, stun)));
let vuln = skill.effect()[1];