v2.0.0: fixed exploit where damaging DM-300 early would skip first phase
This commit is contained in:
@@ -462,6 +462,10 @@ public class DM300 extends Mob {
|
||||
|
||||
@Override
|
||||
public void damage(int dmg, Object src) {
|
||||
if (!BossHealthBar.isAssigned()){
|
||||
notice();
|
||||
}
|
||||
|
||||
int preHP = HP;
|
||||
super.damage(dmg, src);
|
||||
if (isInvulnerable(src.getClass())){
|
||||
|
||||
Reference in New Issue
Block a user