Browse Source

saetors allowed to take creation runes

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
c3a00186ff
  1. 3
      src/engine/objects/PlayerCharacter.java

3
src/engine/objects/PlayerCharacter.java

@ -934,11 +934,12 @@ public class PlayerCharacter extends AbstractCharacter { @@ -934,11 +934,12 @@ public class PlayerCharacter extends AbstractCharacter {
}
// Validate Rune against Race
if(raceID != 1999) {
if (!race.isAllowedRune(runeBase)) {
Logger.info("Trait Not valid for Race");
return null;
}
}
// Validate BaseClass against Race
if (!baseClass.isAllowedRune(runeBase)) {
Logger.info("Trait Not valid for BaseClass");

Loading…
Cancel
Save