v0.6.2: bugfixes to toxic and fire imbue buffs
This commit is contained in:
+3
-3
@@ -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;
|
||||||
|
|||||||
+4
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user