combat phase fixes to decay, siphon tick

This commit is contained in:
Mashy
2019-05-02 12:19:29 +10:00
parent 5029e60746
commit b368ada693
2 changed files with 5 additions and 2 deletions
Executable → Regular
+2 -2
View File
@@ -651,7 +651,7 @@ impl Skill {
Skill::Chaos => None,
Skill::Amplify => Some(1),
Skill::Invert => Some(2),
Skill::Decay => None, // dot
Skill::Decay => Some(1), // dot
Skill::DecayTick => None,
Skill::Siphon => None,
Skill::SiphonTick => None,
@@ -1155,7 +1155,7 @@ fn siphon_tick(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, s
match e {
Event::Damage { amount, mitigation: _, colour: _, skill: _ } => {
results.push(Resolution::new(source, target).event(e));
let heal = source.deal_green_damage(Skill::Siphon, amount);
let heal = source.deal_green_damage(Skill::SiphonTick, amount);
for h in heal {
results.push(Resolution::new(source, source).event(h));
};