Browse Source

mob resists

lakebane-master
FatBoy-DOTC 6 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 { @@ -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":
@ -228,15 +225,23 @@ public class Mob extends AbstractIntelligenceAgent { @@ -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 { @@ -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;

Loading…
Cancel
Save