guards hotfix

This commit is contained in:
2025-03-15 19:42:00 -05:00
parent 199215f2e6
commit d67bf0bc64
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -742,6 +742,7 @@ public class MobAI {
} }
} }
mob.refresh();
switch (mob.BehaviourType) { switch (mob.BehaviourType) {
case GuardCaptain: case GuardCaptain:
+3 -1
View File
@@ -1539,7 +1539,9 @@ public class Mob extends AbstractIntelligenceAgent {
this.setResists(new Resists("Dropper")); this.setResists(new Resists("Dropper"));
} else if(this.isDropper){ } else if(this.isDropper){
this.setResists(new Resists("Dropper")); this.setResists(new Resists("Dropper"));
} else{ } else if(this.getMobBaseID() == 14104){
this.setResists(new Resists("Elite"));
}else{
this.setResists(new Resists()); this.setResists(new Resists());
} }
this.resists.calculateResists(this, false); this.resists.calculateResists(this, false);
+2 -1
View File
@@ -5384,7 +5384,8 @@ public class PlayerCharacter extends AbstractCharacter {
} }
this.region = AbstractWorldObject.GetRegionByWorldObject(this); //this.region = AbstractWorldObject.GetRegionByWorldObject(this);
this.region = Regions.GetRegionForTeleport(this.loc);
setLoc(newLoc); setLoc(newLoc);