v0.6.3: fixed a bug in battlemage frost logic
This commit is contained in:
parent
6c0d240598
commit
80d19ac2d0
|
@ -104,7 +104,7 @@ public class WandOfFrost extends DamageWand {
|
|||
@Override
|
||||
public void onHit(MagesStaff staff, Char attacker, Char defender, int damage) {
|
||||
Chill chill = defender.buff(Chill.class);
|
||||
if (chill != null && Random.IntRange(2, 10) > chill.cooldown()){
|
||||
if (chill != null && Random.IntRange(2, 10) <= chill.cooldown()){
|
||||
//need to delay this through an actor so that the freezing isn't broken by taking damage from the staff hit.
|
||||
new FlavourBuff(){
|
||||
{actPriority = VFX_PRIO;}
|
||||
|
|
Loading…
Reference in New Issue
Block a user