Browse Source

saetors allowed to take creation runes

lakebane-strongholds
FatBoy-DOTC 3 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 {
} }
// Validate Rune against Race // Validate Rune against Race
if(raceID != 1999) {
if (!race.isAllowedRune(runeBase)) { if (!race.isAllowedRune(runeBase)) {
Logger.info("Trait Not valid for Race"); Logger.info("Trait Not valid for Race");
return null; return null;
} }
}
// Validate BaseClass against Race // Validate BaseClass against Race
if (!baseClass.isAllowedRune(runeBase)) { if (!baseClass.isAllowedRune(runeBase)) {
Logger.info("Trait Not valid for BaseClass"); Logger.info("Trait Not valid for BaseClass");

Loading…
Cancel
Save