From 4f56cacaea6a129d4ec3ad4090122898ba639d41 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 13 Apr 2024 20:57:10 -0500 Subject: [PATCH] unarmed mob damage addressed --- src/engine/gameManager/LootManager.java | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index b7780f96..8585e216 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -157,6 +157,51 @@ public enum LootManager { break; } } + MobLoot specialDrop = null; + switch(mob.getObjectUUID()) { + case 5996://elf 1 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252134),true); + mob.setFirstName("Melandrach The Blood-Mage"); + break; + case 8139: //elf 2 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252135),true); + mob.setFirstName("Kyrtaar The Blood-Mage"); + break; + case 2332: //elf 3 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252136),true); + mob.setFirstName("Vamir The Blood-Mage"); + break; + case 34071: //human 4 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252129),true); + mob.setFirstName("Alatar The Blood-Mage"); + break; + case 32724:// human 5 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252130),true); + mob.setFirstName("Elphaba The Blood-Mage"); + break; + case 23379: //human 1 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252131),true); + mob.setFirstName("Bavmorda The Blood-Mage"); + break; + case 16910: //human 2 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252132),true); + mob.setFirstName("Draco The Blood-Mage"); + break; + case 15929: //human 3 + specialDrop = new MobLoot(mob,ItemBase.getItemBase(252133),true); + mob.setFirstName("Atlantes The Blood-Mage"); + break; + } + if(specialDrop != null) { + mob.setLevel((short) 65); + mob.setSpawnTime(10800); + mob.healthMax = (7500); + mob.setHealth(7500); + ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " in " + mob.getParentZone().getName() + " has found the " + specialDrop.getName() + ". Are you tough enough to take it?"); + chatMsg.setMessageType(10); + chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); + DispatchMessage.dispatchMsgToAll(chatMsg); + } } public static MobLoot getGenTableItem(int genTableID, AbstractCharacter mob) {