From b45b325cadfb3fd36a4039cc0834b312573e1622 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 3 May 2024 21:44:35 -0500 Subject: [PATCH] human blood runes cost 0 --- src/engine/objects/PlayerCharacter.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index e2c6018d..b8d745f7 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -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)