cryp animations
This commit is contained in:
+3
-4
@@ -1137,13 +1137,12 @@ fn siphon_tick(source: &mut Cryp, target: &mut Cryp, mut results: Resolutions, s
|
||||
let siphon_events = target.deal_blue_damage(Skill::SiphonTick, amount);
|
||||
|
||||
for e in siphon_events {
|
||||
results.push(Resolution::new(source, target).event(e));
|
||||
|
||||
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);
|
||||
for e in heal {
|
||||
results.push(Resolution::new(source, source).event(e));
|
||||
for h in heal {
|
||||
results.push(Resolution::new(source, source).event(h));
|
||||
};
|
||||
},
|
||||
_ => (),
|
||||
|
||||
Reference in New Issue
Block a user