|
@@ -563,8 +563,6 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable {
|
|
mob.setIsDead(false);
|
|
mob.setIsDead(false);
|
|
// Reset decay info
|
|
// Reset decay info
|
|
mob.setDecayed(false);
|
|
mob.setDecayed(false);
|
|
- // Set the HP and MP of the L2NpcInstance to the max
|
|
|
|
- mob.setCurrentHpMp(mob.getMaxHp(), mob.getMaxMp());
|
|
|
|
// Clear script variables
|
|
// Clear script variables
|
|
if (mob.hasVariables()) {
|
|
if (mob.hasVariables()) {
|
|
mob.getVariables().getSet().clear();
|
|
mob.getVariables().getSet().clear();
|
|
@@ -596,6 +594,8 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Set the HP and MP of the L2NpcInstance to the max
|
|
|
|
+ mob.setCurrentHpMp(mob.getMaxHp(), mob.getMaxMp());
|
|
// Reset summoner
|
|
// Reset summoner
|
|
mob.setSummoner(null);
|
|
mob.setSummoner(null);
|
|
// Reset summoned list
|
|
// Reset summoned list
|