v0.9.1c: fixed Tengu getting extra turns in load in some cases

This commit is contained in:
Evan Debenham 2021-01-12 18:19:15 -05:00
parent ecd93baffd
commit 3a1fdee8fd

View File

@ -97,7 +97,10 @@ public class NewTengu extends Mob {
@Override
protected void onAdd() {
//when he's removed and re-added to the fight, his time is always set to now.
spend(-cooldown());
if (cooldown() > TICK) {
spend(-cooldown());
spendToWhole();
}
super.onAdd();
}