purify fix

This commit is contained in:
Mashy 2020-01-15 10:49:55 +10:00
parent 84b68e2ccc
commit 55f8fc0b41

View File

@ -2082,7 +2082,7 @@ impl Purify {
fn purify(cast: Cast, game: &mut Game, values: Purify) {
let gp = game.value(Value::Stat { construct: cast.source, stat: Stat::GreenPower });
let rms = game.value(Value::Removals { construct: cast.target });
let rms = game.value(Value::Effects { construct: cast.target });
let amount = gp.pct(values.green_heal_base().saturating_mul(rms));
game.action(cast,