v0.9.1c: fixed Tengu getting extra turns in load in some cases
This commit is contained in:
+4
-1
@@ -97,7 +97,10 @@ public class NewTengu extends Mob {
|
|||||||
@Override
|
@Override
|
||||||
protected void onAdd() {
|
protected void onAdd() {
|
||||||
//when he's removed and re-added to the fight, his time is always set to now.
|
//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();
|
super.onAdd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user