v0.6.2: bugfixes to toxic and fire imbue buffs
This commit is contained in:
parent
a6d6b7308e
commit
aeb53585d1
|
@ -66,10 +66,10 @@ public class FireImbue extends Buff {
|
||||||
|
|
||||||
spend(TICK);
|
spend(TICK);
|
||||||
left -= TICK;
|
left -= TICK;
|
||||||
if (left < 5){
|
if (left <= 0){
|
||||||
BuffIndicator.refreshHero();
|
|
||||||
} else if (left <= 0) {
|
|
||||||
detach();
|
detach();
|
||||||
|
} else if (left < 5){
|
||||||
|
BuffIndicator.refreshHero();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -61,8 +61,11 @@ public class ToxicImbue extends Buff {
|
||||||
|
|
||||||
spend(TICK);
|
spend(TICK);
|
||||||
left -= TICK;
|
left -= TICK;
|
||||||
if (left <= 0)
|
if (left <= 0){
|
||||||
detach();
|
detach();
|
||||||
|
} else if (left < 5){
|
||||||
|
BuffIndicator.refreshHero();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user