v2.5.3: DM-300 can no longer use an ability right out of supercharge
This commit is contained in:
@@ -535,6 +535,9 @@ public class DM300 extends Mob {
|
|||||||
supercharged = false;
|
supercharged = false;
|
||||||
((DM300Sprite)sprite).updateChargeState(false);
|
((DM300Sprite)sprite).updateChargeState(false);
|
||||||
|
|
||||||
|
//adjust turns since last ability to prevent DM immediately using an ability when charge ends
|
||||||
|
turnsSinceLastAbility = Math.max(turnsSinceLastAbility, MIN_COOLDOWN-3);
|
||||||
|
|
||||||
if (pylonsActivated < totalPylonsToActivate()){
|
if (pylonsActivated < totalPylonsToActivate()){
|
||||||
yell(Messages.get(this, "charge_lost"));
|
yell(Messages.get(this, "charge_lost"));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user