v3.0.0: fixed monk's action indicator possibly showing with <1 energy
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action {
|
|||||||
|
|
||||||
energy = Math.min(energy+energyGain, energyCap());
|
energy = Math.min(energy+energyGain, energyCap());
|
||||||
|
|
||||||
if (energy > 0 && cooldown == 0){
|
if (energy >= 1 && cooldown == 0){
|
||||||
ActionIndicator.setAction(this);
|
ActionIndicator.setAction(this);
|
||||||
}
|
}
|
||||||
BuffIndicator.refreshHero();
|
BuffIndicator.refreshHero();
|
||||||
|
|||||||
Reference in New Issue
Block a user