human blood runes cost 0

This commit is contained in:
2024-05-03 21:44:35 -05:00
parent b731291e6c
commit b45b325cad
+13
View File
@@ -3460,6 +3460,19 @@ public class PlayerCharacter extends AbstractCharacter {
int intMax = this.race.getIntMax();
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();
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)
available += (level - 1) * 5;
else if (level < 30)