guards hotfix
This commit is contained in:
@@ -742,6 +742,7 @@ public class MobAI {
|
||||
|
||||
}
|
||||
}
|
||||
mob.refresh();
|
||||
|
||||
switch (mob.BehaviourType) {
|
||||
case GuardCaptain:
|
||||
|
||||
@@ -1539,7 +1539,9 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
this.setResists(new Resists("Dropper"));
|
||||
} else if(this.isDropper){
|
||||
this.setResists(new Resists("Dropper"));
|
||||
} else{
|
||||
} else if(this.getMobBaseID() == 14104){
|
||||
this.setResists(new Resists("Elite"));
|
||||
}else{
|
||||
this.setResists(new Resists());
|
||||
}
|
||||
this.resists.calculateResists(this, false);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user