diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 7d1e966c..c6348d78 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -180,11 +180,8 @@ public class Mob extends AbstractIntelligenceAgent { switch (raceType) { case "Aelfborn": case "NPC": - case "Rat": - case "Reptile": case "Grave": case "Human": - case "Goblin": case "CSR": case "Construct": case "Celestial": @@ -193,7 +190,7 @@ public class Mob extends AbstractIntelligenceAgent { case "SiegeEngineer": int realmID = RealmMap.getRealmIDAtLocation(mob.bindLoc); Realm realm = Realm.getRealm(realmID); - if(realm != null) { + if (realm != null) { switch (realm.getRealmName()) { //ice generics case "Hethlund": @@ -228,15 +225,23 @@ public class Mob extends AbstractIntelligenceAgent { } } break; + case "Reptile": + case "Dragon": + resists.addResists(Resists.getResists(10)); + break; + case "Goblin": + resists.addResists(Resists.getResists(9)); + break; case "Aracoix": resists.addResists(Resists.getResists(22)); break; + case "Rat": + case "Troll": + resists.addResists(Resists.getResists(33)); + break; case "Centaur": resists.addResists(Resists.getResists(24)); break; - case "Dragon": - resists.addResists(Resists.getResists(10)); - break; case "Dwarf": resists.addResists(Resists.getResists(25)); break; @@ -278,9 +283,6 @@ public class Mob extends AbstractIntelligenceAgent { case "Siege": resists.addResists(Resists.getResists(38)); break; - case "Troll": - resists.addResists(Resists.getResists(33)); - break; case "Undead": resists.addResists(Resists.getResists(27)); break;