reverse resolutions cause of pop

This commit is contained in:
ntr 2019-03-25 18:25:43 +11:00
parent 4459185ba4
commit 2b22b85acb
2 changed files with 1 additions and 3 deletions

View File

@ -22,9 +22,6 @@ ensure all skills impl
Skill::Slay -> red attack with bonus somethingorother for blue / maim no healing Skill::Slay -> red attack with bonus somethingorother for blue / maim no healing
Hatred -> damage received converted into bonus dmg Hatred -> damage received converted into bonus dmg
on attack
Skill::Toxic -> apply debuff to attackers
make parry semi-aggressive make parry semi-aggressive
constants constants
change to ownership pattern change to ownership pattern

View File

@ -432,6 +432,7 @@ impl Game {
resolutions.append(&mut cast.skill.resolve(&mut source, target)); resolutions.append(&mut cast.skill.resolve(&mut source, target));
} }
resolutions.reverse();
while let Some(resolution) = resolutions.pop() { while let Some(resolution) = resolutions.pop() {
// fixme for mash // fixme for mash
self.log_resolution(cast.speed, cast.skill, &resolution); self.log_resolution(cast.speed, cast.skill, &resolution);