Browse Source

human blood runes cost 0

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
b45b325cad
  1. 13
      src/engine/objects/PlayerCharacter.java

13
src/engine/objects/PlayerCharacter.java

@ -3460,6 +3460,19 @@ public class PlayerCharacter extends AbstractCharacter {
int intMax = this.race.getIntMax(); int intMax = this.race.getIntMax();
int spiMax = this.race.getSpiMax(); int spiMax = this.race.getSpiMax();
int available = this.race.getStartingPoints() - this.strMod.get() - this.dexMod.get() - this.conMod.get() - this.intMod.get() - this.spiMod.get(); int available = this.race.getStartingPoints() - this.strMod.get() - this.dexMod.get() - this.conMod.get() - this.intMod.get() - this.spiMod.get();
for(CharacterRune cr : this.runes){
RuneBase rb = RuneBase.getRuneBase(cr.getRuneBaseID());
switch(rb.getName()){
case "Born of the Ethyri":
case "Born of the Taripontor":
case "Born of the Gwendannen":
case "Born of the Invorri":
case "Born of the Irydnu":
available += 10;
break;
}
}
if (level < 20) if (level < 20)
available += (level - 1) * 5; available += (level - 1) * 5;
else if (level < 30) else if (level < 30)

Loading…
Cancel
Save