Browse Source

mob resists

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
942288cee2
  1. 20
      src/engine/objects/Mob.java

20
src/engine/objects/Mob.java

@ -180,11 +180,8 @@ public class Mob extends AbstractIntelligenceAgent {
switch (raceType) { switch (raceType) {
case "Aelfborn": case "Aelfborn":
case "NPC": case "NPC":
case "Rat":
case "Reptile":
case "Grave": case "Grave":
case "Human": case "Human":
case "Goblin":
case "CSR": case "CSR":
case "Construct": case "Construct":
case "Celestial": case "Celestial":
@ -228,15 +225,23 @@ public class Mob extends AbstractIntelligenceAgent {
} }
} }
break; break;
case "Reptile":
case "Dragon":
resists.addResists(Resists.getResists(10));
break;
case "Goblin":
resists.addResists(Resists.getResists(9));
break;
case "Aracoix": case "Aracoix":
resists.addResists(Resists.getResists(22)); resists.addResists(Resists.getResists(22));
break; break;
case "Rat":
case "Troll":
resists.addResists(Resists.getResists(33));
break;
case "Centaur": case "Centaur":
resists.addResists(Resists.getResists(24)); resists.addResists(Resists.getResists(24));
break; break;
case "Dragon":
resists.addResists(Resists.getResists(10));
break;
case "Dwarf": case "Dwarf":
resists.addResists(Resists.getResists(25)); resists.addResists(Resists.getResists(25));
break; break;
@ -278,9 +283,6 @@ public class Mob extends AbstractIntelligenceAgent {
case "Siege": case "Siege":
resists.addResists(Resists.getResists(38)); resists.addResists(Resists.getResists(38));
break; break;
case "Troll":
resists.addResists(Resists.getResists(33));
break;
case "Undead": case "Undead":
resists.addResists(Resists.getResists(27)); resists.addResists(Resists.getResists(27));
break; break;

Loading…
Cancel
Save