|
|
|
@ -216,7 +216,9 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -216,7 +216,9 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
switch(mob.mobBase.raceType){ |
|
|
|
|
int mobbaseID = mob.getMobBaseID(); |
|
|
|
|
if(mobbaseID != 0) { |
|
|
|
|
switch (MobBase.mobbase_race_types.get(mobbaseID)) { |
|
|
|
|
case "Aelfborn": |
|
|
|
|
case "NPC": |
|
|
|
|
case "Rat": |
|
|
|
@ -295,6 +297,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -295,6 +297,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
resists.addResists(Resists.getResists(11)); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
mob.mobResists = resists; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|