From 6f3612d1962946f7ef355791faf038a5f544ab47 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 31 Aug 2024 16:01:19 -0500 Subject: [PATCH] Elf Blood Runes Free --- src/engine/net/client/msg/ApplyRuneMsg.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/engine/net/client/msg/ApplyRuneMsg.java b/src/engine/net/client/msg/ApplyRuneMsg.java index b57c267d..5e487552 100644 --- a/src/engine/net/client/msg/ApplyRuneMsg.java +++ b/src/engine/net/client/msg/ApplyRuneMsg.java @@ -200,6 +200,9 @@ public class ApplyRuneMsg extends ClientNetMsg { case "Born of the Gwendannen": case "Born of the Invorri": case "Born of the Irydnu": + case "Scion of the Dar Khelegeur": + case "Scion of the Gwaridorn": + case "Scion of the Twathedilion": mod = 0; } if (mod > playerCharacter.getUnusedStatPoints()) { @@ -277,6 +280,21 @@ public class ApplyRuneMsg extends ClientNetMsg { return false; } } + break; + case "Scion of the Dar Khelegeur": + case "Scion of the Gwaridorn": + case "Scion of the Twathedilion": + for (CharacterRune charRune : playerCharacter.getRunes()) { + RuneBase rb2 = charRune.getRuneBase(); + switch (rb2.getName()) { + case "Scion of the Dar Khelegeur": + case "Scion of the Gwaridorn": + case "Scion of the Twathedilion": + ChatManager.chatSystemError(playerCharacter, "You Have Already Applied A Blood Rune"); + return false; + } + } + break; } //if discipline, check number applied if (isDiscipline(runeID)) { @@ -357,6 +375,9 @@ public class ApplyRuneMsg extends ClientNetMsg { case "Born of the Gwendannen": case "Born of the Invorri": case "Born of the Irydnu": + case "Scion of the Dar Khelegeur": + case "Scion of the Gwaridorn": + case "Scion of the Twathedilion": cost = 0; break; }