From 679346383a8d9d55e307a866811eb21f0c22e9e6 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 2 May 2024 19:27:07 -0500 Subject: [PATCH] assorted fixes --- src/engine/db/handlers/dbRuneBaseHandler.java | 6 ++++++ src/engine/gameManager/LootManager.java | 3 --- src/engine/objects/PlayerCharacter.java | 9 +++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/engine/db/handlers/dbRuneBaseHandler.java b/src/engine/db/handlers/dbRuneBaseHandler.java index 3eead9ac..b5f30312 100644 --- a/src/engine/db/handlers/dbRuneBaseHandler.java +++ b/src/engine/db/handlers/dbRuneBaseHandler.java @@ -86,8 +86,14 @@ public class dbRuneBaseHandler extends dbHandlerBase { case 3046: case 3047: case 3048: + case 2514: rb.getRace().put(1999, true); break; + case 3035: + rb.getBaseClass().put(2501,true); + break; + case 3049: + rb.getRace().clear(); } } diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 19f93d1f..747196b3 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -443,9 +443,6 @@ public enum LootManager { public static void GenerateInventoryDrop(Mob mob, BootySetEntry bse) { - if(bse.itemBase == 3049)//disable clanwarden - return; - if(ItemBase.getItemBase(bse.itemBase).isDiscRune()) { if(!Mob.disciplineDroppers.contains(mob)) Mob.disciplineDroppers.add(mob); diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 382bfbb7..e2c6018d 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -977,7 +977,16 @@ public class PlayerCharacter extends AbstractCharacter { switch (attrID) { case MBServerStatics.RUNE_COST_ATTRIBUTE_ID: + 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": + value = 0; + break; + } Logger.info("Bought " + rb.getName() + " for " + value + " points. " + (remainingPoints - value) + " left.");