Added check to prevent heal aura from being negative

This commit is contained in:
Knightress Paladin 2021-07-20 17:48:35 -07:00
parent ce31ac9fd1
commit 9be690770a

View File

@ -99,7 +99,7 @@ impl CharacterBehavior for Data {
category: _,
source: _,
} => {
data.strength *= 1.0 + (self.combo_at_cast).log(2.0_f32);
data.strength *= 1.0 + self.combo_at_cast.max(1.0_f32).log(2.0_f32);
},
}
}