login crash bug

This commit is contained in:
2024-03-10 12:48:05 -05:00
parent 6dac5c7ec8
commit afc91e22e5
2 changed files with 8 additions and 7 deletions
+7 -7
View File
@@ -1605,13 +1605,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.lastName = this.getContract().getName();
this.healthMax = this.mobBase.getHealthMax();
if(this.mobBase.getLevel() > 80){
if(this.getMobBaseID() == 14319){//ithriana
this.healthMax = 5400000;
} else{
this.healthMax = 1500000;
}
}
this.manaMax = 0;
this.staminaMax = 0;
this.setHealth(this.healthMax);
@@ -1712,6 +1705,13 @@ public class Mob extends AbstractIntelligenceAgent {
try {
NPCManager.applyRuneSetEffects(this);
recalculateStats();
if(this.mobBase.getLevel() > 80){
if(this.getMobBaseID() == 14319){//ithriana
this.healthMax = 5400000;
} else{
this.healthMax = 1500000;
}
}
this.setHealth(this.healthMax);
// Set bounds for this mobile