v2.2.1: fixed crystal spire being vulernable to certain specific effects
This commit is contained in:
+5
@@ -291,6 +291,11 @@ public class CrystalSpire extends Mob {
|
|||||||
super.damage(dmg, src);
|
super.damage(dmg, src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isInvulnerable(Class effect) {
|
||||||
|
return effect != Pickaxe.class;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean add( Buff buff ) {
|
public boolean add( Buff buff ) {
|
||||||
return false; //immune to all buffs and debuffs
|
return false; //immune to all buffs and debuffs
|
||||||
|
|||||||
Reference in New Issue
Block a user