forked from MagicBane/Server
human blood runes cost 0
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user