v0.9.1c: fixed DM-300 rarely using abilities while stunned
This commit is contained in:
parent
5467883a69
commit
e01818ceb2
|
@ -156,6 +156,10 @@ public class NewDM300 extends Mob {
|
||||||
@Override
|
@Override
|
||||||
protected boolean act() {
|
protected boolean act() {
|
||||||
|
|
||||||
|
if (paralysed > 0){
|
||||||
|
return super.act();
|
||||||
|
}
|
||||||
|
|
||||||
//ability logic only triggers if DM is not supercharged
|
//ability logic only triggers if DM is not supercharged
|
||||||
if (!supercharged){
|
if (!supercharged){
|
||||||
if (turnsSinceLastAbility >= 0) turnsSinceLastAbility++;
|
if (turnsSinceLastAbility >= 0) turnsSinceLastAbility++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user