int nRandom; string sItem; int nStack = 1; int nMobHD; string sMobResef; //SpeakString("My hit dice "+IntToString(nMobHD)); //:: //:: Test Void Main //:: //void main (){} //:: //:: //:: void dsoCreateItemOnObject(string sItemTemplate, object oTarget = OBJECT_SELF, int nStackSize = 1) { if ((GetLocalInt(GetModule(), "LOOT_DEBUG") > 0 )) { SpeakString("Will create item "+sItemTemplate+" stack "+IntToString(nStackSize)); } //:: Make sure it's a blueprint by trimming to 16 and lowercasing it sItemTemplate = GetSubString(sItemTemplate, 0, 16); sItemTemplate = GetStringLowerCase(sItemTemplate); if ((GetLocalInt(GetModule(), "LOOT_DEBUG") > 0 )) { SpeakString("Attempting to create item "+sItemTemplate+" stack "+IntToString(nStackSize)); } object oItem = CreateItemOnObject(sItemTemplate, oTarget, nStackSize); } //:: End dsoCreateItemOnObject() void TrashLoot() //:: Start TrashLoot() { nRandom = d20(); switch (nRandom) { case 1: sItem = "kit_heal_1_001"; break; // Compress case 2: sItem = "pot_coconut"; break; // Magical Coconut case 3: sItem = "pot_bloodberry"; break; // Magical Bloodberry case 4: sItem = "pot_spinachjuice"; break; // Spinach Juice case 5: sItem = "pot_peach"; break; // Magical Peach case 6: sItem = "NW_IT_MSMLMISC21"; break; // Rags case 7: sItem = "CRFT_BANDAGES"; break; // Bandages case 8: sItem = "CRFT_BANDAGES"; break; // Bandages case 9: sItem = "CRFT_GINSENG"; break; // Ginseng case 10: sItem = "CRFT_GINSENG"; break; // Ginseng case 11: sItem = "CRFT_GARLIC"; break; // Garlic case 12: sItem = "CRFT_GINSENG"; break; // Ginseng case 13: sItem = "CRFT_SPINACH"; break; // Spinach case 14: sItem = "h2_canteen"; break; // Canteen case 15: sItem = "crpi_broken"; break; // Broken Item case 16: sItem = "crpi_broken"; break; // Broken Item case 17: sItem = "crpi_broken"; break; // Broken Item case 18: sItem = "crpi_broken"; break; // Broken Item case 19: sItem = "crpi_broken"; break; // Broken Item case 20: sItem = "crpi_broken"; break; // Broken Item } // switch // if (nRandom > 80) // nStack = 10+d20(2); if ((GetLocalInt(GetModule(), "LOOT_DEBUG") > 0 )) { SpeakString("TrashLoot()"); SpeakString("Item rolled case "+IntToString(nRandom)+" sItem "+sItem+" Stack "+IntToString(nStack)); } dsoCreateItemOnObject(sItem,OBJECT_SELF,nStack); } //:: End TrashLoot() void UberLoot () //:: Start UberLoot() { nRandom = d100(); switch (nRandom) { case 1: sItem = "prc_it_shedden5"; break; // Shedden +5 case 2: sItem = "pot_holynectar"; break; // Holy Nectar case 3: sItem = "pot_cherry"; break; // Magical Cherry case 4: sItem = "pot_lemon"; break; // Magical Lemon case 5: sItem = "pot_dranja"; break; // Magical Dranja Berry case 6: sItem = "DS_ITMRNG_PROT04"; break; // Ring of Protection +4 case 7: sItem = "DS_ITMRNG_PROT05"; break; // Ring of Protection +5 case 8: sItem = "AR_ITMRNG_CHANGE"; break; // Superior Ring of Change case 9: sItem = "ds_itmbrcr_prot4"; break; // Bracers of Armor +4 case 10: sItem = "ds_itmbrcr_prot5"; break; // Bracers of Armor +5 case 11: sItem = "pot_deccan"; break; // Deccan Spiritberry case 12: sItem = "AR_ITMNCK_DRKVIS"; break; // Amulet of Dark Visions case 13: sItem = "AR_ITMNCK_AIRDH"; break; // Air Drake Heart case 14: sItem = "AR_ITMNCK_EARTHD"; break; // Earth Drake Heart case 15: sItem = "AR_ITMNCK_FIRED"; break; // Fire Drake Heart case 16: sItem = "AR_ITMNCK_WATERD"; break; // Water Drake Heart case 17: sItem = "AR_ITPNCK_HOCEAN"; break; // Heart of the Ocean case 18: sItem = "pot_deccan"; break; // Deccan Spiritberry case 19: sItem = "AR_ITMRNG_CHA04"; break; // Iconic Ring of Charisma case 20: sItem = "AR_ITMNCK_CHA04"; break; // Iconic Amulet of Charisma case 21: sItem = "AR_ITMNCK_STR04"; break; // Iconic Amulet of Strength case 22: sItem = "AR_ITMRNG_DEX04"; break; // Iconic Ring of Dexterity case 23: sItem = "AR_ITMNCK_WIS04"; break; // Iconic Amulet of Wisdom case 24: sItem = "AR_ITMRNG_INT04"; break; // Iconic Ring of Intelligence case 25: sItem = "AR_ITMRNG_STR04"; break; // Iconic Ring of Strength case 26: sItem = "AR_ITMRNG_WIS04"; break; // Iconic Ring of Wisdom case 27: sItem = "AR_ITMNCK_CON04"; break; // Iconic Amulet of Constitution case 28: sItem = "AR_ITMNCK_DEX04"; break; // Iconic Amulet of Dexterity case 29: sItem = "AR_ITMNCK_INT04"; break; // Iconic Amulet of Intelligence case 30: sItem = "AR_ITMRNG_CON04"; break; // Iconic Ring of Constitution case 31: sItem = "AR_AMCLGB_JINGS"; break; // Jing's Garb case 32: sItem = "ar_apclgb_rhul"; break; // Rhul-thaun Battle Garb case 33: sItem = "AR_AMCLRB_ILLWIL"; break; // Robe of Ill Will case 34: sItem = "AR_HELM_PHANDARA"; break; // Phandara's Helm case 35: sItem = "AR_AMLTSL_BMASTR"; break; // Beastmaster Armor case 36: sItem = "AR_AMMDBP_BATTLE"; break; // Battlerage Armor case 37: sItem = "AR_ASHPTO_FGFORT"; break; // Forged Shield of the Fortress case 38: sItem = "AR_ASHMLW_HALF"; break; // Halfbreed's Guardian case 39: sItem = "ar_itblt_power"; break; // Girdle of Power case 40: sItem = "AR_AMCLGB_JANDOR"; break; // Jandora's Garb case 41: sItem = "ar_helm_jandora"; break; // Jandora's Tiara case 42: sItem = "ar_itmbcr_wardng"; break; // Bracers of Warding case 43: sItem = "AR_ITMCLK_TORAK"; break; // Torak's Wrap case 44: sItem = "AR_ITMCLK_SPECTR"; break; // Spectral Cloak case 45: sItem = "ar_itmglv_bledge"; break; // Blinding Edge Gauntlets case 46: sItem = "AR_ITPRNG_ADRE02"; break; // Greater Ring of Adrenalin case 47: sItem = "ar_waxpgr_denar"; break; // Scorched Axe of Denar case 48: sItem = "ar_wswmbs_ragna"; break; // Ragnarok case 49: sItem = "ar_wswmdg_ginos"; break; // Gino's Backstabber case 50: sItem = "ar_wswmls_cleave"; break; // The Cleavelander case 51: sItem = "ar_wswmrp_lifesa"; break; // Lifesapper case 52: sItem = "ar_wswmss_hrtprc"; break; // Heartpiercer case 53: sItem = "AR_WBLMCL_WFBTR"; break; // Wifebeater case 54: sItem = "ar_wblmms_eclips"; break; // The Eclipse case 55: sItem = "ar_wblmhw_justls"; break; // Justl's Hammer case 56: sItem = "AR_WDBMQS_SUN"; break; // Sun Staff case 57: sItem = "ar_wdbmax_destin"; break; // Destiny's Edge case 58: sItem = "ar_wdbmsw_icyhrt"; break; // The Icy Heart case 59: sItem = "ar_itmbcr_jandor"; break; // Jandora's Bracers case 60: sItem = "AR_AMLTSL_ENTERT"; break; // The Entertainer case 61: sItem = "ar_wsppwp_bchain"; break; // The Old Ball & Chain case 62: sItem = "ar_wbwmxh_hrtrip"; break; // Heart Ripper case 63: sItem = "AR_WSWPSS_BEASTM"; break; // Beastmaster Blade case 64: sItem = "AR_WSPMSC_HARVES"; break; // Harvester case 65: sItem = "ar_waxmgr_ekairs"; break; // Ekair's Father case 66: sItem = "ar_wplmss_shinin"; break; // Shining Gythka case 67: sItem = "AR_WPLPSS_DRAKE"; break; // Drake Bane Gythka case 68: sItem = "AR_APCLRB_ESSENC"; break; // Essence Robe case 69: sItem = "AR_WMGST_LALORS"; break; // Lalor's Spine case 70: sItem = "ar_wswmrp_felsik"; break; // Felsikith case 71: sItem = "ar_wplmsc_solar"; break; // Solar Flare case 72: sItem = "ar_wspmku_lali"; break; // Lali's Bliss case 73: sItem = "ar_wspmku_rajaat"; break; // Messenger of Rajaat case 74: sItem = "DS_AMHVFP_SPIRIT"; break; // Embrace of the Spirit case 75: sItem = "AR_AMHVSM_SANSHI"; break; // Regalia of Sanshir case 76: sItem = "ar_helm_sanshir"; break; // Helm of Sanshir case 77: sItem = "AR_ASHMTO_SANSHR"; break; // Sanshir's Wall case 78: sItem = "ar_wswmbs_sanshi"; break; // Sanshir's Fury case 79: sItem = "ar_wswmls_calder"; break; // Heart of the Caldera case 80: sItem = "AR_AMCLCL_MTNSOL"; break; // Mountainsoul case 81: sItem = "AR_WTHMAX_NIKHI"; break; // Nikhi's Rainbow case 82: sItem = "AR_WAMMAR_MYSTIC"; break; // Mystic Arrow case 83: sItem = "AR_WAMAR_HAMSTR"; break; // Hamstring Arrow case 84: sItem = "AR_WAMAR_HRTSKR"; break; // Heartseeker Arrow case 85: sItem = "AR_WAMPBO_ACID02"; break; // Imbued Caustic Bolt case 86: sItem = "AR_WAMMBO_MYSTIC"; break; // Mystic Bolt case 87: sItem = "AR_WAMMPBO_SCREAM"; break; // Screaming Bolts case 88: sItem = "AR_WAMMBU_GIANT"; break; // Giant Slayer Stones case 89: sItem = "AR_WAMMBU_KAPOW"; break; // Ka-Pow! case 90: sItem = "AR_WAMBU_FIRE02"; break; // Phosphorus Bullets case 91: sItem = "X2_WAMMAR012"; break; // Arrow +4 case 92: sItem = "X2_WAMMAR013"; break; // Arrow +5 case 93: sItem = "X2_WAMMBO011"; break; // Bolt +4 case 94: sItem = "X2_WAMMBO012"; break; // Bolt +5 case 96: sItem = "X2_WAMMBU009"; break; // Bullet +4 case 97: sItem = "X2_WAMMBU010"; break; // Bullet +5 case 98: sItem = "X0_WTHMAX002"; break; // Throwing Axe +5 case 99: sItem = "X0_WTHMDT002"; break; // Dart +5 } // End Switch if (nRandom > 80) nStack = 10+d20(2); if ((GetLocalInt(GetModule(), "LOOT_DEBUG") > 0 )) { SpeakString("UberLoot()"); SpeakString("Item rolled case "+IntToString(nRandom)+" sItem "+sItem+" Stack "+IntToString(nStack)); } dsoCreateItemOnObject(sItem,OBJECT_SELF,nStack); } //:: End UberLoot //:: End UberLoot() void Loot() //:: Start Loot() { nMobHD = GetHitDice(OBJECT_SELF); if (GetLocalInt(OBJECT_SELF, "MAX_LOOT") > 0) {nMobHD = 40;} if (nMobHD < 6) //:: Start [Table A] < 6 HD Loot Tables { int nTableA = Random(8) + 1; if (nTableA == 1) //:: Start < 6HD Ammo & Thrown Weapons Table { int nAmmo = d8(1); int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wamar_ivory"; break; // Drake Ivory Arrows case 2: sItem = "ar_wambo_ivory"; break; // Drake Ivory Bolts case 3: sItem = "ar_wambu_ivory"; break; // Drake Ivory Bullets case 4: sItem = "ar_wthdt_timiris"; break; // Timiris Thorn case 5: sItem = "ar_wthdt_ivory"; break; // Drake Ivory Throwing Daggers case 6: sItem = "ar_wthsh_ivory"; break; // Drake Ivory Chatkcha case 7: sItem = "ar_wthax_ivory"; break; // Drake Ivory Throwing Axes case 8: sItem = "ar_wthch_ivory"; break; // Drake Ivory Chakram } } //:: End < 6HD Ammo & Thrown Weapons Table if (nTableA == 2) //:: Start < 6HD Helmets, Armor & Shields Table { int nArmor = Random(29)+1; switch (nArmor) { case 1: sItem = "ar_altlt_leather"; break; // Leather Armor case 2: sItem = "ar_amdhd_hide01"; break; // Hide Armor case 3: sItem = "ar_altsl_bone01"; break; // Bone Studded Armor case 4: sItem = "ar_amdsc_bone01"; break; // Bone Scale Mail case 5: sItem = "ar_amdsc_erdlu"; break; // Erdlu Scale Mail case 6: sItem = "ar_aclrb_camo"; break; // Robe of Camouflage case 7: sItem = "ar_ahvhp_bone01"; break; // Bone Brigandine case 8: sItem = "ar_altlt_mekilot"; break; // Mekillot Hide Leather case 9: sItem = "ar_amdsc_mekilot"; break; // Mekillot Hide Armor case 10: sItem = "ar_ahvhp_mekilot"; break; // Mekillot Hide Half Plate case 11: sItem = "ar_altsl_ivory"; break; // Drake Ivory Studded Armor case 12: sItem = "ar_amdsc_ivory"; break; // Drake Ivory Scale Mail case 13: sItem = "ar_amdbp_ivory"; break; // Drake Ivory Breastplate case 14: sItem = "ar_amdbm_bronze"; break; // Bronze Banded Mail case 15: sItem = "ar_helm_bone01"; break; // Bone Helmet case 16: sItem = "ar_helm_ceramic"; break; // Ceramic Helmet case 17: sItem = "ar_helm_kankshll"; break; // Kank Shell Helm case 18: sItem = "ar_helm_mekillot"; break; // Mekillot Hide Helm case 19: sItem = "ar_helm_ivory"; break; // Drake Ivory Helmet case 20: sItem = "ar_helm_spelunk"; break; // Spelunker's Helm case 21: sItem = "ar_ashlw_wood01"; break; // Wooden Shield case 22: sItem = "ar_ashlw_mekillo"; break; // Mekillot Hide Shield case 23: sItem = "ar_ashlw_ivory"; break; // Drake Ivory Shield case 24: sItem = "ar_ashsw_wood01"; break; // Wooden Buckler case 25: sItem = "ar_ashsw_mekilli"; break; // Mekillot Hide Buckler case 26: sItem = "ar_ashsw_ivory"; break; // Drake Ivory Buckler case 27: sItem = "ar_ashto_wood01"; break; // Wooden Tower Shield case 28: sItem = "ar_ashto_mekilli"; break; // Mekillot Hide Tower Shield case 29: sItem = "ar_ashto_ivory"; break; // Drake Ivory Tower Shield } } //:: End < 6HD Helmets, Armor & Shields Table if (nTableA == 3) //:: Start < 6HD Weapons Table { int nWeapon = Random(40)+1; switch (nWeapon) { case 1: sItem = "ar_wswbs_ivory"; break; // Drake Ivory Bastard Sword case 2: sItem = "ar_waxbt_ivory"; break; // Drake Ivory Battleaxe case 3: sItem = "ar_wblcl_ivory"; break; // Drake Ivory Spiked Club case 4: sItem = "ar_wswdg_serrate"; break; // Serrated Dagger case 5: sItem = "ar_wswdg_ivory"; break; // Drake Ivory Dagger case 6: sItem = "ar_wdbma_ivory"; break; // Drake Ivory Dire Mace case 7: sItem = "ar_wdbax_ivory"; break; // Drake Ivory Lotulis case 8: sItem = "ar_waxwar_ivory"; break; // Drake Ivory Waraxe case 9: sItem = "ar_xswfa_ivory"; break; // Drake Ivory Falchion case 10: sItem = "ar_waxgr_ivory"; break; // Drake Ivory Greataxe case 11: sItem = "ar_wswgs_ivory"; break; // Drake Ivory Greatsword case 12: sItem = "ar_wplhb_ivory"; break; // Drake Ivory Trikal case 13: sItem = "ar_waxhn_ivory"; break; // Drake Ivory Handaxe case 14: sItem = "ds_wblmh_ivory"; break; // Drake Ivory Heavy Mace case 15: sItem = "ar_wbwxh_ashen"; break; // Heavy Ashen Crossbow case 16: sItem = "ar_wblfh_ivory"; break; // Drake Ivory Heavy Flail case 17: sItem = "ar_wspku_ivory"; break; // Drake Ivory Kukri case 18: sItem = "ar_wblfl_ivory"; break; // Drake Ivory Flail case 19: sItem = "ar_wblhl_ivory"; break; // Drake Ivory Light Hammer case 20: sItem = "ar_wblml_ivory"; break; // Drake Ivory Mace case 21: sItem = "ar_wswls_ivory"; break; // Drake Ivory Longsword case 22: sItem = "ar_wmgrd_elem01"; break; // Lesser Rod of Elements case 23: sItem = "ar_wblak_bone01"; break; // Alhulak case 24: sItem = "ar_wblms_ivory"; break; // Drake Ivory Morningstar case 25: sItem = "ar_wswrp_ivory"; break; // Drake Ivory Rapier case 26: sItem = "ar_wswsc_ivory"; break; // Drake Ivory Scimitar case 27: sItem = "ar_splsc_ivory"; break; // Drake Ivory Scythe case 28: sItem = "ar_wplss_ivory"; break; // Drake Ivory Gythka case 29: sItem = "ar_wswss_ivory"; break; // Drake Ivory Shortsword case 30: sItem = "ar_wspsc_ivory"; break; // Drake Ivory Sickle case 31: sItem = "ar_trident_ivory"; break; // Drake Ivory Trident case 32: sItem = "ar_wdbsw_ivory"; break; // Drake Ivory Dragon's Paw case 33: sItem = "ar_wblhw_ivory"; break; // Drake Ivory Warhammer case 34: sItem = "ar_wspwp_ivory"; break; // Drake Ivory Studded Whip case 35: sItem = "ar_waxwk_ivory"; break; // Drake Ivory Widow's Knife case 36: sItem = "ds_wblmu_ivory"; break; // Drake Ivory Maul case 37: sItem = "ar_xswfa_ivory"; break; // Drake Ivory Falchion case 38: sItem = "ar_wsphp_copper"; break; // Copper Miner's Pick case 39: sItem = "ar_wbwxl_ashen"; break; // Ashen Crossbow case 40: sItem = "ar_wbwsl_wyvern"; break; // Wyvern Hide Sling } } //:: End < 6HD Weapon Table if (nTableA == 4) //:: Start < 6HD Clothing & Jewelry Table { int nGear = Random(40)+1; switch (nGear) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "nw_it_mneck021"; break; // Silver Necklace case 3: sItem = "ar_itmnck_cha00"; break; // Lesser Amulet of Charisma case 4: sItem = "ar_itmnck_con00"; break; // Lesser Amulet of Constitution case 5: sItem = "ar_itmnck_dex00"; break; // Lesser Amulet of Dexterity case 6: sItem = "ar_itmnck_int00"; break; // Lesser Amulet of Intelligence case 7: sItem = "ar_itmnck_str00"; break; // Lesser Amulet of Strength case 8: sItem = "ar_itmnck_wis00"; break; // Lesser Amulet of Wisdom case 9: sItem = "ar_itblt_medical"; break; // Medical Belt case 10: sItem = "ar_itmblt_dviper"; break; // Scales of the Dune Viper case 11: sItem = "ar_itblt_balstr"; break; // Belt of Balanced Strength case 12: sItem = "ar_itblt_toolblt"; break; // Tool Belt case 13: sItem = "ar_itmbts_nimble"; break; // Sandals of Nimbleness case 14: sItem = "ar_itbts_sneaky"; break; // Sneaky Boots case 15: sItem = "ar_itbts_elven"; break; // Elven Boots case 16: sItem = "ar_itmbts_light"; break; // Light Boots case 17: sItem = "ar_itbcr_kank"; break; // Kank Shell Bracers case 18: sItem = "ar_itclk_camo"; break; // Cloak of Camoflauge case 19: sItem = "at_itclk_stiff"; break; // Stiff Cloak case 20: sItem = "ar_itpglv_deftns"; break; // Gloves of Deftness case 21: sItem = "ar_itpglv_focus"; break; // Gloves of Focus case 22: sItem = "ar_itglv_obs02"; break; // Obsidian Fighting Gauntlets case 23: sItem = "ar_itpglv_warrr"; break; // Gloves of the Warrior case 24: sItem = "ar_itpglv_tame"; break; // Gloves of the Tame case 25: sItem = "ar_itpglv_pilfer"; break; // Gloves of Pilfering case 26: sItem = "ar_itmglv_elemnt"; break; // Gloves of the Elements case 27: sItem = "ar_itglv_wrazors"; break; // Bone Wrist Razors case 28: sItem = "nw_it_mring021"; break; // Copper Ring case 29: sItem = "nw_it_mring022"; break; // Silver Ring case 30: sItem = "nw_it_mring010"; break; // Ring of Crimson case 31: sItem = "ar_itmrng_heartw"; break; // Heartwarder Ring case 32: sItem = "ar_itmrng_cha00"; break; // Lesser Ring of Charisma case 33: sItem = "ar_itmrng_con00"; break; // Lesser Ring of Constitution case 34: sItem = "ar_itmrng_dex00"; break; // Lesser Ring of Dexterity case 35: sItem = "ar_itmrng_int00"; break; // Lesser Ring of Intelligence case 36: sItem = "ar_itmrng_str00"; break; // Lesser Ring of Strength case 38: sItem = "ar_itmrng_wis00"; break; // Lesser Ring of Wisdom case 39: sItem = "ar_itmrng_elem01"; break; // Elemental Ring case 40: sItem = "nw_it_mneck020"; break; // Copper Necklace } } //:: End < 6HD Clothing & Jewelry Table if (nTableA == 5) //:: Start < 6HD Gems & Trade Goods Table { int nGems = Random(24)+1; switch (nGems) { case 1: sItem = "crpi_o_agate"; break; // Agate case 2: sItem = "nw_it_gem013"; break; // Alexandrite case 3: sItem = "nw_it_gem014"; break; // Aventurine case 4: sItem = "crpi_s_bloodston"; break; // Bloodstone case 5: sItem = "crpi_s_citrine"; break; // Citrine case 6: sItem = "nw_it_gem002"; break; // Fire Agate case 7: sItem = "nw_it_gem015"; break; // Fluorspar case 8: sItem = "nw_it_gem001"; break; // Greenstone case 9: sItem = "crpi_o_hematite"; break; // Hematite case 10: sItem = "crpi_s_jasper"; break; // Jasper case 11: sItem = "crpi_o_lapislazu"; break; // Lapis Lazuli case 12: sItem = "crpi_o_malachite"; break; // Malachite case 13: sItem = "crpi_s_moonstone"; break; // Moonstone case 14: sItem = "crpi_o_obsidian"; break; // Obsidian case 15: sItem = "crpi_s_onyx"; break; // Onyx case 16: sItem = "nw_it_gem004"; break; // Phenalope case 17: sItem = "crpi_o_quartz"; break; // Quartz case 18: sItem = "crpi_o_rhodochro"; break; // Rhodochrosite case 19: sItem = "crpi_s_sardonyx"; break; // Sardonyx case 20: sItem = "crpi_s_starrose"; break; // Star Rose Quartz case 21: sItem = "crpi_o_tigereye"; break; // Tiger Eye case 22: sItem = "crpi_o_turquoise"; break; // Turquoise case 23: sItem = "crpi_s_zircon"; break; // Zircon case 24: sItem = "crpi_broken"; break; // Broken Item } } //:: End < 6HD Gems & Trade Goods Table if (nTableA == 6) //:: Start < 6HD Potions & Alchemy Items Table { int nPotion = Random(33)+1; switch (nPotion) { case 1: sItem = "pot_gulgapple"; break; // Magical Gulgan Apple case 2: sItem = "pot_bloodberry"; break; // Magical Bloodberry case 3: sItem = "pot_siannan"; break; // Magical Siannan Berry case 4: sItem = "pot_coconut"; break; // Magical Coconut case 5: sItem = "pot_guava"; break; // Magical Guava case 6: sItem = "pot_blueberry"; break; // Magical Blueberry case 7: sItem = "pot_heartberry"; break; // Magical Heartberry case 8: sItem = "pot_kiwi"; break; // Magical Kiwi case 9: sItem = "pot_kulinav"; break; // Magical Kulinav Berry case 10: sItem = "pot_malach"; break; // Magical Malach Berry case 11: sItem = "pot_mulberry"; break; // Magical Mulberry case 12: sItem = "pot_opaka"; break; // Magical Opaka Fruit case 13: sItem = "pot_pynia"; break; // Magical Pynia Berry case 14: sItem = "pot_strawberry"; break; // Magical Strawberry case 15: sItem = "pot_taslberry"; break; // Magical Tasl Berry case 16: sItem = "pot_tulaqberry"; break; // Magical Tulaq Berry case 17: sItem = "pot_vhalberry"; break; // Magical Vhalberry case 18: sItem = "pot_peach"; break; // Magical Peach case 19: sItem = "prc_it_shedden"; break; // Shedden case 20: sItem = "prc_it_scrmflsk"; break; // Screaming Flask case 21: sItem = "prc_brittlebn"; break; // Vial of Brittlebone case 22: sItem = "prc_it_antitox"; break; // Antitoxin case 23: sItem = "prc_it_blendcrm"; break; // Blend Cream case 24: sItem = "prc_it_crcklpdr"; break; // Crackle Powder case 25: sItem = "prc_it_emblmfr"; break; // Embalming Fire case 26: sItem = "prc_it_fareyeoil"; break; // Fareye Oil case 27: sItem = "prc_it_healblm"; break; // Healer's Balm case 28: sItem = "prc_it_keenear"; break; // Keenear Powder case 29: sItem = "prc_it_lockslip"; break; // Lockslip Grease case 30: sItem = "prc_it_natdrgt"; break; // Nature's Draught case 31: sItem = "prc_it_nerv"; break; // Nerv case 32: sItem = "prc_it_softfoot"; break; // Softfoot case 33: sItem = "crpi_broken"; break; // Broken Item } } //:: End < 6HD Potions & Alchemy Items Table if (nTableA == 7) //:: Start < 6HD Scrolls Table { int nScroll = Random(71)+1; switch (nScroll) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "nw_it_sparscr002"; break; // Ray of Frost case 3: sItem = "nw_it_sparscr003"; break; // Daze case 4: sItem = "nw_it_sparscr004"; break; // Light case 5: sItem = "nw_it_sparscr107"; break; // Charm Person case 6: sItem = "nw_it_sparscr113"; break; // Negative Energy Ray case 7: sItem = "nw_it_sparscr109"; break; // Magic Missile case 8: sItem = "x1_it_sparscr102"; break; // Amplify case 9: sItem = "nw_it_sparscr112"; break; // Burning Hands case 10: sItem = "nw_it_spdvscr202"; break; // Charm Person or Animal case 11: sItem = "nw_it_sparscr110"; break; // Color Spray case 12: sItem = "x1_it_spdvscr102"; break; // Divine Favor case 13: sItem = "nw_it_sparscr103"; break; // Grease case 14: sItem = "x2_it_sparscr101"; break; // Horizikaul's Boom case 15: sItem = "x2_it_sparscr104"; break; // Ice Dagger case 16: sItem = "x2_it_sparscr102"; break; // Ironguts case 17: sItem = "nw_it_sparscr104"; break; // Mage Armor case 18: sItem = "x2_it_sparscr105"; break; // Magic Weapon case 19: sItem = "nw_it_sparscr102"; break; // Protection from Alignment case 20: sItem = "nw_it_sparscr111"; break; // Ray of Enfeeblement case 21: sItem = "nw_it_sparscr001"; break; // Resistance case 22: sItem = "nw_it_sparscr210"; break; // Scare case 23: sItem = "x2_it_sparscr103"; break; // Shelgarn's Persistent Blade case 24: sItem = "x1_it_sparscr103"; break; // Shield case 25: sItem = "nw_it_sparscr108"; break; // Sleep case 26: sItem = "nw_it_sparscr105"; break; // Summon Creature I case 27: sItem = "x2_it_spdvscr202"; break; // Barkskin case 28: sItem = "nw_it_sparscr101"; break; // Endure Elements case 29: sItem = "x2_it_sparscral"; break; // Protection from Alignment case 30: sItem = "x1_it_sparscr201"; break; // Balagarn's Iron Horn case 31: sItem = "nw_it_sparscr211"; break; // Blindness / Deafness case 32: sItem = "nw_it_sparscr212"; break; // Bull's Strength case 33: sItem = "nw_it_sparscr217"; break; // Clarity case 34: sItem = "x2_it_sparscr206"; break; // Cloud of Bewilderment case 35: sItem = "x2_it_sparscr201"; break; // Combust case 36: sItem = "x1_it_spdvscr301"; break; // Continual Flame case 37: sItem = "nw_it_sparscr206"; break; // Darkness case 38: sItem = "x2_it_sparscr202"; break; // Death Armor case 39: sItem = "nw_it_sparscr219"; break; // Eagle's Splendor case 40: sItem = "nw_it_sparscr215"; break; // Endurance case 41: sItem = "x1_it_sparscr101"; break; // Expeditious Retreat case 42: sItem = "x2_it_sparscr203"; break; // Gedlee's Electric Loop case 43: sItem = "nw_it_sparscr208"; break; // Ghostly Visage case 44: sItem = "nw_it_sparscr209"; break; // Ghoul Touch case 45: sItem = "nw_it_sparscr308"; break; // Hold Person case 46: sItem = "nw_it_sparscr106"; break; // Identify case 47: sItem = "nw_it_sparscr207"; break; // Invisibility case 48: sItem = "nw_it_sparscr216"; break; // Knock case 49: sItem = "nw_it_sparscr218"; break; // Lesser Dispel case 50: sItem = "nw_it_sparscr202"; break; // Melf's Acid Arrow case 51: sItem = "nw_it_sparscr221"; break; // Owl's Wisdom case 52: sItem = "x2_it_spdvscr107"; break; // Remove Fear case 53: sItem = "nw_it_sparscr201"; break; // Resist Elements case 54: sItem = "nw_it_sparscr205"; break; // See Invisibility case 55: sItem = "nw_it_spdvscr203"; break; // Silence case 56: sItem = "x2_it_sparscr204"; break; // Stone Bones case 57: sItem = "nw_it_sparscr203"; break; // Summon Creature II case 58: sItem = "x1_it_sparscr202"; break; // Tasha's Hideous Laughter case 59: sItem = "nw_it_sparscr214"; break; // Ultravision case 60: sItem = "nw_it_sparscr204"; break; // Web case 61: sItem = "x1_it_sparscr104"; break; // True Strike case 62: sItem = "nw_it_sparscr303"; break; // Protection from Elements case 63: sItem = "nw_it_spdvscr201"; break; // Lesser Restoration case 64: sItem = "x2_it_spdvscr305"; break; // Darkfire case 65: sItem = "x2_it_sparscr207"; break; // Cat's Grace case 66: sItem = "x2_it_sparscr305"; break; // Find Traps case 67: sItem = "x1_it_spdvscr203"; break; // One with the Land case 68: sItem = "x2_it_spdvscr205"; break; // Remove Paralysis case 69: sItem = "nw_it_sparscr220"; break; // Fox's Cunning case 70: sItem = "x2_it_sparscr205"; break; // Flame Weapon case 71: sItem = "x2_it_spdvscr108"; break; // Sanctuary } } //:: End < 6HD Scrolls Table if (nTableA == 8) //:: Start < 6HD Mundane Miscellaneous Table { int nMundane = Random(57)+1; switch (nMundane) { case 1: sItem = "x2_it_cfm_wand"; break; // Bone Wand case 2: sItem = "x2_it_cfm_bscrl"; break; // Blank Scroll case 3: sItem = "ar_itbk_trader01"; break; // The Trader's Journal case 4: sItem = "ar_itbk_alchem01"; break; // Azzer Lirin's Alchemy Basics Vol. I case 5: sItem = "ar_itbk_taril01"; break; // Taril's Journal - Part One case 6: sItem = "ar_itbk_taril02"; break; // Taril's Journal - Part Two case 7: sItem = "ar_itbk_stel01"; break; // The Artifice of House Stel - Vol 1 case 8: sItem = "ar_itbk_stel02"; break; // The Artifice of House Stel - Vol 2 case 9: sItem = "ar_itbk_alchem02"; break; // Azzer Lirin's Alchemy Basics Vol. II case 10: sItem = "ar_itbk_alchem03"; break; // Azzer Lirin's Alchemy Advanced Vol. III case 11: sItem = "x2_it_cmat_cloth"; break; // Bolt of Cloth case 12: sItem = "x2_it_cmat_elmw"; break; // Plank of Elm Wood case 13: sItem = "x2_it_bmt_bshaft"; break; // Elmwood Bow Shaft case 14: sItem = "x2_it_bmt_ltorso"; break; // Leather Armor Torso case 15: sItem = "x2_it_bmt_wshldb"; break; // Oaken Shield Body case 16: sItem = "x2_it_bmt_proj"; break; // Projectile Shaft case 17: sItem = "x2_it_bmt_cloth"; break; // Woolen Cloth case 18: sItem = "x2_it_amt_lstrng"; break; // Leather Strings case 19: sItem = "x2_it_amt_cpadd"; break; // Woolen Cloth Pads case 20: sItem = "x2_it_amt_feath"; break; // Feathers case 21: sItem = "x2_it_cfm_pbottl"; break; // Magical Potion Bottle case 22: sItem = "kit_heal_2_001"; break; // Basic Healing Kit case 23: sItem = "ar_it_trader01"; break; // The Trader's Journal - Missing Pages case 24: sItem = "ar_it_trader02"; break; // The Trader's Journal - Missing Pages case 25: sItem = "crft_garlic"; break; // Garlic case 26: sItem = "crft_ginseng"; break; // Ginseng case 27: sItem = "nw_it_msmlmisc11"; break; // Quartz Crystal case 28: sItem = "crft_spinach"; break; // Spinach case 29: sItem = "nw_it_msmlmisc23"; break; // Belladonna case 30: sItem = "crft_bandages"; break; // Bandages case 31: sItem = "nw_it_thnmisc001"; break; // Empty Bottle case 32: sItem = "ar_it_lantern01"; break; // Lantern case 33: sItem = "nw_it_picks001"; break; // Thieves' Tools +1 case 34: sItem = "nw_it_picks002"; break; // Thieves' Tools +3 case 35: sItem = "nw_it_torch001"; break; // Torch case 36: sItem = "nw_it_trap001"; break; // Minor Spike Trap Kit case 37: sItem = "nw_it_trap005"; break; // Minor Holy Trap Kit case 38: sItem = "nw_it_trap021"; break; // Minor Electrical Trap Kit case 39: sItem = "nw_it_trap025"; break; // Minor Gas Trap Kit case 40: sItem = "x2_it_bmt_wpole"; break; // Oaken Pole case 41: sItem = "x2_it_bmt_oakhlt"; break; // Oaken Weapon Grip case 42: sItem = "x1_wmgrenade001"; break; // Acid Flask case 43: sItem = "x1_wmgrenade003"; break; // Caltrops case 44: sItem = "x1_wmgrenade004"; break; // Choking Powder case 45: sItem = "ds_thrw_flameoil"; break; // Flaming Oil case 46: sItem = "x1_wmgrenade002"; break; // Alchemist's Fire case 47: sItem = "x1_wmgrenade007"; break; // Thunderstone case 48: sItem = "x1_wmgrenade005"; break; // Holy Water case 49: sItem = "x1_wmgrenade006"; break; // Tanglefoot Bag case 50: sItem = "prc_it_alcslpgas"; break; // Alchemical Sleeping Gas case 51: sItem = "prc_it_alcfrost"; break; // Alchemist's Frost case 52: sItem = "prc_it_acidfire"; break; // Acidic Fire case 53: sItem = "prc_it_alcspark"; break; // Alchemist's Spark case 54: sItem = "prc_it_biledrp"; break; // Bile Droppings case 55: sItem = "prc_it_festerbmb"; break; // Festering Bomb case 56: sItem = "prc_it_flashplt"; break; // Flash Pellet case 57: sItem = "prc_it_weepstn"; break; // Weeping Stone } } //:: End < 6HD Mundane Miscellaneous Table } //:: End [Table A] < 6HD Loot Tables if (nMobHD > 5 && nMobHD < 11) //:: Start [Table B] 6 HD - 10 HD Loot Tables { int nTableB = Random(9) + 1; if (nTableB == 1) //:: Start 6 HD - 10 HD Ammo & Thrown Weapons { int nAmmo = Random(26) + 1; int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wamar_ivory"; break; // Drake Ivory Arrows case 2: sItem = "ar_wambo_ivory"; break; // Drake Ivory Bolts case 3: sItem = "ar_wambu_ivory"; break; // Drake Ivory Bullets case 4: sItem = "ar_wthdt_timiris"; break; // Timiris Thorn case 5: sItem = "ar_wthdt_ivory"; break; // Drake Ivory Throwing Daggers case 6: sItem = "ar_wthsh_ivory"; break; // Drake Ivory Chatkcha case 7: sItem = "ar_wthax_ivory"; break; // Drake Ivory Throwing Axes case 8: sItem = "ar_wthch_ivory"; break; // Drake Ivory Chakram case 9: sItem = "ar_wamar_iron01"; break; // Iron Arrow case 10: sItem = "ar_wampar_acid01"; break; // Caustic Arrows case 11: sItem = "ar_wampar_fire01"; break; // Burning Arrows case 12: sItem = "ar_wampar_ice01"; break; // Icy Arrows case 13: sItem = "ar_wampar_elec01"; break; // Charged Arrows case 14: sItem = "ar_wamar_bgrass"; break; // Bloodgrass Arrow case 15: sItem = "ar_wambo_iron01"; break; // Iron Bolts case 16: sItem = "ar_wampbo_acid01"; break; // Caustic Bolts case 17: sItem = "ar_wampbo_fire01"; break; // Burning Bolts case 18: sItem = "ar_wampbo_ice01"; break; // Icy Bolts case 19: sItem = "ar_wampbo_elec01"; break; // Charged Bolts case 20: sItem = "ar_wambo_bgrass"; break; // Bloodgrass Bolts case 21: sItem = "ar_wambu_iron02"; break; // Iron Core Bullets case 22: sItem = "ar_wambu_iron01"; break; // Polished Iron Bullet case 23: sItem = "ar_wampbu_acid01"; break; // Caustic Bullets case 24: sItem = "ar_wampbu_fire01"; break; // Burning Bullets case 25: sItem = "ar_wampbu_ice01"; break; // Icey Bullets case 26: sItem = "ar_wthpax_cleave"; break; // Throwing Axe of Cleaving } } //:: End 6 HD - 10 HD Ammo & Thrown Weapons Table if (nTableB == 2) //:: Start 6 HD - 10 HD Helmets, Armor & Shields { int nArmor = Random(32)+1; switch (nArmor) { case 1: sItem = "ar_amdsc_erdlu"; break; // Erdlu Scale Mail case 2: sItem = "ar_aclrb_camo"; break; // Robe of Camouflage case 3: sItem = "ar_altlt_mekilot"; break; // Mekillot Hide Leather case 4: sItem = "ar_amdsc_mekilot"; break; // Mekillot Hide Armor case 5: sItem = "ar_ahvhp_mekilot"; break; // Mekillot Hide Half Plate case 6: sItem = "ar_altsl_ivory"; break; // Drake Ivory Studded Armor case 7: sItem = "ar_amdsc_ivory"; break; // Drake Ivory Scale Mail case 8: sItem = "ar_amdbp_ivory"; break; // Drake Ivory Breastplate case 9: sItem = "ar_amdbm_bronze"; break; // Bronze Banded Mail case 10: sItem = "ar_helm_kankshll"; break; // Kank Shell Helm case 11: sItem = "ar_helm_mekillot"; break; // Mekillot Hide Helm case 12: sItem = "ar_helm_ivory"; break; // Drake Ivory Helmet case 13: sItem = "ar_helm_spelunk"; break; // Spelunker's Helm case 14: sItem = "ar_ashlw_mekillo"; break; // Mekillot Hide Shield case 15: sItem = "ar_ashlw_ivory"; break; // Drake Ivory Shield case 16: sItem = "ar_ashsw_mekilli"; break; // Mekillot Hide Buckler case 17: sItem = "ar_ashsw_ivory"; break; // Drake Ivory Buckler case 18: sItem = "ar_ashto_mekilli"; break; // Mekillot Hide Tower Shield case 19: sItem = "ar_ashto_ivory"; break; // Drake Ivory Tower Shield case 20: sItem = "ar_ahvhp_ivory"; break; // Drake Ivory Brigadine case 21: sItem = "ar_amclrb_dwalkr"; break; // Robe of the Desert Walker case 22: sItem = "ar_amltsl_dagorr"; break; // Dagorran Hide Armor case 23: sItem = "ar_amclrb_eyes"; break; // Lesser Robe of Eyes case 24: sItem = "ar_ammdbp_dagorr"; break; // Dagorran Hide Breastplate case 25: sItem = "ar_amhvhp_dagorr"; break; // Dagorran Hide Half Plate case 26: sItem = "ar_amclcl_desert"; break; // Desert Giant Clothes case 27: sItem = "ar_ahvfp_ivory"; break; // Drake Ivory Full Plate case 28: sItem = "ar_amclrb_sage"; break; // Robes of the Sage case 29: sItem = "ar_helm_eagles"; break; // Eagle's Helm case 30: sItem = "ar_ashmto_sr14"; break; // Shield of Spell Resistance case 31: sItem = "ar_apltlt_kank"; break; // Kank Shell Armor case 32: sItem = "ar_ashmsw_protec"; break; // Buckler of Protection } } //:: End 6 HD - 10 HD Helmets, Armor & Shields if (nTableB == 3) //:: Start 6 HD - 10 HD Weapons Table { int nWeapon = Random(54)+1; switch (nWeapon) { case 1: sItem = "ar_wswbs_ivory"; break; // Drake Ivory Bastard Sword case 2: sItem = "ar_waxbt_ivory"; break; // Drake Ivory Battleaxe case 3: sItem = "ar_wblcl_ivory"; break; // Drake Ivory Spiked Club case 4: sItem = "ar_wswdg_serrate"; break; // Serrated Dagger case 5: sItem = "ar_wswdg_ivory"; break; // Drake Ivory Dagger case 6: sItem = "ar_wdbma_ivory"; break; // Drake Ivory Dire Mace case 7: sItem = "ar_wdbax_ivory"; break; // Drake Ivory Lotulis case 8: sItem = "ar_waxwar_ivory"; break; // Drake Ivory Waraxe case 9: sItem = "ar_xswfa_ivory"; break; // Drake Ivory Falchion case 10: sItem = "ar_waxgr_ivory"; break; // Drake Ivory Greataxe case 11: sItem = "ar_wswgs_ivory"; break; // Drake Ivory Greatsword case 12: sItem = "ar_wplhb_ivory"; break; // Drake Ivory Trikal case 13: sItem = "ar_waxhn_ivory"; break; // Drake Ivory Handaxe case 14: sItem = "ds_wblmh_ivory"; break; // Drake Ivory Heavy Mace case 15: sItem = "ar_wbwxh_ashen"; break; // Heavy Ashen Crossbow case 16: sItem = "ar_wblfh_ivory"; break; // Drake Ivory Heavy Flail case 17: sItem = "ar_wspku_ivory"; break; // Drake Ivory Kukri case 18: sItem = "ar_wblfl_ivory"; break; // Drake Ivory Flail case 19: sItem = "ar_wblhl_ivory"; break; // Drake Ivory Light Hammer case 20: sItem = "ar_wblml_ivory"; break; // Drake Ivory Mace case 21: sItem = "ar_wswls_ivory"; break; // Drake Ivory Longsword case 22: sItem = "ar_wmgrd_elem01"; break; // Lesser Rod of Elements case 23: sItem = "ar_wblak_bone01"; break; // Alhulak case 24: sItem = "ar_wblms_ivory"; break; // Drake Ivory Morningstar case 25: sItem = "ar_wswrp_ivory"; break; // Drake Ivory Rapier case 26: sItem = "ar_wswsc_ivory"; break; // Drake Ivory Scimitar case 27: sItem = "ar_splsc_ivory"; break; // Drake Ivory Scythe case 28: sItem = "ar_wplss_ivory"; break; // Drake Ivory Gythka case 29: sItem = "ar_wswss_ivory"; break; // Drake Ivory Shortsword case 30: sItem = "ar_wspsc_ivory"; break; // Drake Ivory Sickle case 31: sItem = "ar_trident_ivory"; break; // Drake Ivory Trident case 32: sItem = "ar_wdbsw_ivory"; break; // Drake Ivory Dragon's Paw case 33: sItem = "ar_wblhw_ivory"; break; // Drake Ivory Warhammer case 34: sItem = "ar_wspwp_ivory"; break; // Drake Ivory Studded Whip case 35: sItem = "ar_waxwk_ivory"; break; // Drake Ivory Widow's Knife case 36: sItem = "ds_wblmu_ivory"; break; // Drake Ivory Maul case 37: sItem = "ar_xswfa_ivory"; break; // Drake Ivory Falchion case 38: sItem = "ar_wsphp_copper"; break; // Copper Miner's Pick case 39: sItem = "ar_wbwxl_ashen"; break; // Ashen Crossbow case 40: sItem = "ar_wbwsl_wyvern"; break; // Wyvern Hide Sling case 41: sItem = "ar_waxbt_rckstem"; break; // Rockstem Cutter case 42: sItem = "ar_wblcl_sing01"; break; // Singing Stick I case 43: sItem = "ar_wblcl_sing02"; break; // Singing Stick II case 44: sItem = "ar_wswdg_parry"; break; // Parrying Dagger case 45: sItem = "ar_wswdg_dullsur"; break; // Dull Surgical Blade case 46: sItem = "ar_waxwr_rckstm"; break; // Rockstem Hacker case 47: sItem = "ar_waxgr_rckstm"; break; // Rockstem Cleaver case 48: sItem = "ar_waxhn_rckstem"; break; // Rockstem Chopper case 49: sItem = "ar_wbwxh_agafari"; break; // Heavy Agafari Crossbow case 50: sItem = "ar_wbwln_ashen"; break; // Ashen Longbow case 51: sItem = "ar_wdbqs_ivory"; break; // Ivory Shod Quarterstaff case 52: sItem = "ar_wbwsh_ashen"; break; // Ashen Shortbow case 53: sItem = "ar_wbwmsl_giant"; break; // Giant Slayer Sling case 54: sItem = "ar_wbwmsl_mekill"; break; // Mekillot Hide Sling } } //:: End 6 HD - 10 HD Weapons Table if (nTableB == 4) //:: 6 HD - 10 Clothing & Jewelry Table { int nGear = Random(70)+1; switch (nGear) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "nw_it_mneck021"; break; // Silver Necklace case 3: sItem = "ar_itmnck_cha00"; break; // Lesser Amulet of Charisma case 4: sItem = "ar_itmnck_con00"; break; // Lesser Amulet of Constitution case 5: sItem = "ar_itmnck_dex00"; break; // Lesser Amulet of Dexterity case 6: sItem = "ar_itmnck_int00"; break; // Lesser Amulet of Intelligence case 7: sItem = "ar_itmnck_str00"; break; // Lesser Amulet of Strength case 8: sItem = "ar_itmnck_wis00"; break; // Lesser Amulet of Wisdom case 9: sItem = "ar_itblt_medical"; break; // Medical Belt case 10: sItem = "ar_itmblt_dviper"; break; // Scales of the Dune Viper case 11: sItem = "ar_itblt_balstr"; break; // Belt of Balanced Strength case 12: sItem = "ar_itblt_toolblt"; break; // Tool Belt case 13: sItem = "ar_itmbts_nimble"; break; // Sandals of Nimbleness case 14: sItem = "ar_itbts_sneaky"; break; // Sneaky Boots case 15: sItem = "ar_itbts_elven"; break; // Elven Boots case 16: sItem = "ar_itmbts_light"; break; // Light Boots case 17: sItem = "ar_itbcr_kank"; break; // Kank Shell Bracers case 18: sItem = "ar_itclk_camo"; break; // Cloak of Camoflauge case 19: sItem = "at_itclk_stiff"; break; // Stiff Cloak case 20: sItem = "ar_itpglv_deftns"; break; // Gloves of Deftness case 21: sItem = "ar_itpglv_focus"; break; // Gloves of Focus case 22: sItem = "ar_itglv_obs02"; break; // Obsidian Fighting Gauntlets case 23: sItem = "ar_itpglv_warrr"; break; // Gloves of the Warrior case 24: sItem = "ar_itpglv_tame"; break; // Gloves of the Tame case 25: sItem = "ar_itpglv_pilfer"; break; // Gloves of Pilfering case 26: sItem = "ar_itmglv_elemnt"; break; // Gloves of the Elements case 27: sItem = "ar_itglv_wrazors"; break; // Bone Wrist Razors case 28: sItem = "nw_it_mring021"; break; // Copper Ring case 29: sItem = "nw_it_mring022"; break; // Silver Ring case 30: sItem = "nw_it_mring010"; break; // Ring of Crimson case 31: sItem = "ar_itmrng_heartw"; break; // Heartwarder Ring case 32: sItem = "ar_itmrng_cha00"; break; // Lesser Ring of Charisma case 33: sItem = "ar_itmrng_con00"; break; // Lesser Ring of Constitution case 34: sItem = "ar_itmrng_dex00"; break; // Lesser Ring of Dexterity case 35: sItem = "ar_itmrng_int00"; break; // Lesser Ring of Intelligence case 36: sItem = "ar_itmrng_str00"; break; // Lesser Ring of Strength case 38: sItem = "ar_itmrng_wis00"; break; // Lesser Ring of Wisdom case 39: sItem = "ar_itmrng_elem01"; break; // Elemental Ring case 40: sItem = "ar_itmnck_sand01"; break; // Sandstone Amulet case 41: sItem = "nw_it_mneck022"; break; // Gold Necklace case 42: sItem = "ar_itmnck_advent"; break; // Adventurer's Amulet case 43: sItem = "ar_itmnck_cha01"; break; // Amulet of Charisma case 44: sItem = "ar_itmnck_con01"; break; // Amulet of Constitution case 45: sItem = "ar_itmnck_dex01"; break; // Amulet of Dexterity case 46: sItem = "ar_itmnck_int01"; break; // Amulet of Intelligence case 47: sItem = "ar_itmnck_str01"; break; // Amulet of Strength case 48: sItem = "ar_itmnck_wis01"; break; // Amulet of Wisdom case 49: sItem = "ar_itpblt_brawl"; break; // Belt of the Brawler case 50: sItem = "ar_itblt_miracle"; break; // Miracle Belt case 51: sItem = "ar_itpblt_psypho"; break; // Psyphon Belt case 52: sItem = "ar_itpblt_inbarr"; break; // Belt of Inertial Barrier case 53: sItem = "ar_itmbts_regen"; break; // Precious Boots of Regeneration case 54: sItem = "ar_itpbts_coward"; break; // Boots of the Coward case 55: sItem = "ar_itbts_greased"; break; // Greased Boots case 56: sItem = "ar_itmbcr_prtect"; break; // Blessed Bracers of Protection case 57: sItem = "ar_itmclk_forest"; break; // Forest Cloak case 58: sItem = "ar_itpclk_repel1"; break; // Cloak of Warding case 59: sItem = "ar_itglv_ivory1"; break; // Drake Ivory Studded Gauntlet case 60: sItem = "ar_itmglv_sr"; break; // Spellwarp Gloves case 61: sItem = "ar_itmglv_etrade"; break; // Elven Trader Gloves case 62: sItem = "nw_it_mring023"; break; // Gold Ring case 63: sItem = "ar_itmrng_va01"; break; // Veiled Alliance Ring case 64: sItem = "ar_itmrng_cha01"; break; // Ring of Charisma case 65: sItem = "ar_itmrng_con01"; break; // Ring of Constitution case 66: sItem = "ar_itmrng_dex01"; break; // Ring of Dexterity case 67: sItem = "ar_itmrng_int01"; break; // Ring of Intelligence case 68: sItem = "ar_itmrng_str01"; break; // Ring of Strength case 69: sItem = "ar_itmrng_wis01"; break; // Ring of Wisdom case 70: sItem = "nw_it_mneck020"; break; // Copper Necklace } } //:: End 6 HD - 10 HD Clothing & Jewelry Table if (nTableB == 5) //:: Start 6 HD - 10 HD Gems & Trade Goods Table { int nGems = Random(36)+1; switch (nGems) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "nw_it_gem013"; break; // Alexandrite case 3: sItem = "nw_it_gem014"; break; // Aventurine case 4: sItem = "crpi_s_bloodston"; break; // Bloodstone case 5: sItem = "crpi_s_citrine"; break; // Citrine case 6: sItem = "nw_it_gem002"; break; // Fire Agate case 7: sItem = "nw_it_gem015"; break; // Fluorspar case 8: sItem = "nw_it_gem001"; break; // Greenstone case 9: sItem = "crpi_o_hematite"; break; // Hematite case 10: sItem = "crpi_s_jasper"; break; // Jasper case 11: sItem = "crpi_o_lapislazu"; break; // Lapis Lazuli case 12: sItem = "crpi_o_malachite"; break; // Malachite case 13: sItem = "crpi_s_moonstone"; break; // Moonstone case 14: sItem = "crpi_o_obsidian"; break; // Obsidian case 15: sItem = "crpi_s_onyx"; break; // Onyx case 16: sItem = "nw_it_gem004"; break; // Phenalope case 17: sItem = "crpi_o_quartz"; break; // Quartz case 18: sItem = "crpi_o_rhodochro"; break; // Rhodochrosite case 19: sItem = "crpi_s_sardonyx"; break; // Sardonyx case 20: sItem = "crpi_s_starrose"; break; // Star Rose Quartz case 21: sItem = "crpi_o_tigereye"; break; // Tiger Eye case 22: sItem = "crpi_o_turquoise"; break; // Turquoise case 23: sItem = "crpi_s_zircon"; break; // Zircon case 24: sItem = "crpi_f_amber"; break; // Amber case 25: sItem = "crpi_f_amethyst"; break; // Amethyst case 26: sItem = "crpi_p_aquamarin"; break; // Aquamarine case 27: sItem = "crpi_f_chrysober"; break; // Chrysoberyl case 28: sItem = "crpi_f_coral"; break; // Coral case 29: sItem = "crpi_p_garnet"; break; // Garnet case 30: sItem = "crpi_f_jade"; break; // Jade case 31: sItem = "crpi_f_jet"; break; // Jet case 32: sItem = "crpi_p_peridot"; break; // Peridot case 33: sItem = "crpi_p_spinel"; break; // Spinel case 34: sItem = "crpi_p_topaz"; break; // Topaz case 35: sItem = "crpi_f_tourmalin"; break; // Tourmaline case 36: sItem = "crpi_o_agate"; break; // Agate } } //:: End 6 HD - 10 HD Gems & Trade Goods Table if (nTableB == 6) //:: Start 6 HD - 10 HD Potions & Alchemy Items Table { int nPotion = Random(42)+1; switch (nPotion) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "pot_bloodberry"; break; // Magical Bloodberry case 3: sItem = "pot_siannan"; break; // Magical Siannan Berry case 4: sItem = "pot_coconut"; break; // Magical Coconut case 5: sItem = "pot_guava"; break; // Magical Guava case 6: sItem = "pot_blueberry"; break; // Magical Blueberry case 7: sItem = "pot_heartberry"; break; // Magical Heartberry case 8: sItem = "pot_kiwi"; break; // Magical Kiwi case 9: sItem = "pot_kulinav"; break; // Magical Kulinav Berry case 10: sItem = "pot_malach"; break; // Magical Malach Berry case 11: sItem = "pot_mulberry"; break; // Magical Mulberry case 12: sItem = "pot_opaka"; break; // Magical Opaka Fruit case 13: sItem = "pot_pynia"; break; // Magical Pynia Berry case 14: sItem = "pot_strawberry"; break; // Magical Strawberry case 15: sItem = "pot_taslberry"; break; // Magical Tasl Berry case 16: sItem = "pot_tulaqberry"; break; // Magical Tulaq Berry case 17: sItem = "pot_vhalberry"; break; // Magical Vhalberry case 18: sItem = "pot_peach"; break; // Magical Peach case 19: sItem = "prc_it_shedden"; break; // Shedden case 20: sItem = "prc_it_scrmflsk"; break; // Screaming Flask case 21: sItem = "prc_brittlebn"; break; // Vial of Brittlebone case 22: sItem = "prc_it_antitox"; break; // Antitoxin case 23: sItem = "prc_it_blendcrm"; break; // Blend Cream case 24: sItem = "prc_it_crcklpdr"; break; // Crackle Powder case 25: sItem = "prc_it_emblmfr"; break; // Embalming Fire case 26: sItem = "prc_it_fareyeoil"; break; // Fareye Oil case 27: sItem = "prc_it_healblm"; break; // Healer's Balm case 28: sItem = "prc_it_keenear"; break; // Keenear Powder case 29: sItem = "prc_it_lockslip"; break; // Lockslip Grease case 30: sItem = "prc_it_natdrgt"; break; // Nature's Draught case 31: sItem = "prc_it_nerv"; break; // Nerv case 32: sItem = "prc_it_softfoot"; break; // Softfoot case 33: sItem = "pot_gulgapple"; break; // Magical Gulgan Apple case 34: sItem = "pot_lime"; break; // Magical Lime case 35: sItem = "pot_zzgresh"; break; // Magical Zz'gresh Berry case 36: sItem = "pot_holynectar"; break; // Holy Nectar case 37: sItem = "pot_plum"; break; // Magical Plum case 38: sItem = "pot_fenberry"; break; // Magical Fenberry case 39: sItem = "pot_dranja"; break; // Magical Dranja Berry case 40: sItem = "pot_grapes"; break; // Magical Grapes case 41: sItem = "pot_raspberry"; break; // Magical Raspberry case 42: sItem = "prc_it_shedden2"; break; // Shedden +2 } } //:: End 6 HD - 10 HD Potions & Alchemy Items Table if (nTableB == 7) //:: Start 6 HD - 10 HD Scrolls Table { int nScroll = Random(71)+1; switch (nScroll) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "nw_it_sparscr002"; break; // Ray of Frost case 3: sItem = "nw_it_sparscr003"; break; // Daze case 4: sItem = "nw_it_sparscr004"; break; // Light case 5: sItem = "nw_it_sparscr107"; break; // Charm Person case 6: sItem = "nw_it_sparscr113"; break; // Negative Energy Ray case 7: sItem = "nw_it_sparscr109"; break; // Magic Missile case 8: sItem = "x1_it_sparscr102"; break; // Amplify case 9: sItem = "nw_it_sparscr112"; break; // Burning Hands case 10: sItem = "nw_it_spdvscr202"; break; // Charm Person or Animal case 11: sItem = "nw_it_sparscr110"; break; // Color Spray case 12: sItem = "x1_it_spdvscr102"; break; // Divine Favor case 13: sItem = "nw_it_sparscr103"; break; // Grease case 14: sItem = "x2_it_sparscr101"; break; // Horizikaul's Boom case 15: sItem = "x2_it_sparscr104"; break; // Ice Dagger case 16: sItem = "x2_it_sparscr102"; break; // Ironguts case 17: sItem = "nw_it_sparscr104"; break; // Mage Armor case 18: sItem = "x2_it_sparscr105"; break; // Magic Weapon case 19: sItem = "nw_it_sparscr102"; break; // Protection from Alignment case 20: sItem = "nw_it_sparscr111"; break; // Ray of Enfeeblement case 21: sItem = "nw_it_sparscr001"; break; // Resistance case 22: sItem = "nw_it_sparscr210"; break; // Scare case 23: sItem = "x2_it_sparscr103"; break; // Shelgarn's Persistent Blade case 24: sItem = "x1_it_sparscr103"; break; // Shield case 25: sItem = "nw_it_sparscr108"; break; // Sleep case 26: sItem = "nw_it_sparscr105"; break; // Summon Creature I case 27: sItem = "x2_it_spdvscr202"; break; // Barkskin case 28: sItem = "nw_it_sparscr101"; break; // Endure Elements case 29: sItem = "x2_it_sparscral"; break; // Protection from Alignment case 30: sItem = "x1_it_sparscr201"; break; // Balagarn's Iron Horn case 31: sItem = "nw_it_sparscr211"; break; // Blindness / Deafness case 32: sItem = "nw_it_sparscr212"; break; // Bull's Strength case 33: sItem = "nw_it_sparscr217"; break; // Clarity case 34: sItem = "x2_it_sparscr206"; break; // Cloud of Bewilderment case 35: sItem = "x2_it_sparscr201"; break; // Combust case 36: sItem = "x1_it_spdvscr301"; break; // Continual Flame case 37: sItem = "nw_it_sparscr206"; break; // Darkness case 38: sItem = "x2_it_sparscr202"; break; // Death Armor case 39: sItem = "nw_it_sparscr219"; break; // Eagle's Splendor case 40: sItem = "nw_it_sparscr215"; break; // Endurance case 41: sItem = "x1_it_sparscr101"; break; // Expeditious Retreat case 42: sItem = "x2_it_sparscr203"; break; // Gedlee's Electric Loop case 43: sItem = "nw_it_sparscr208"; break; // Ghostly Visage case 44: sItem = "nw_it_sparscr209"; break; // Ghoul Touch case 45: sItem = "nw_it_sparscr308"; break; // Hold Person case 46: sItem = "nw_it_sparscr106"; break; // Identify case 47: sItem = "nw_it_sparscr207"; break; // Invisibility case 48: sItem = "nw_it_sparscr216"; break; // Knock case 49: sItem = "nw_it_sparscr218"; break; // Lesser Dispel case 50: sItem = "nw_it_sparscr202"; break; // Melf's Acid Arrow case 51: sItem = "nw_it_sparscr221"; break; // Owl's Wisdom case 52: sItem = "x2_it_spdvscr107"; break; // Remove Fear case 53: sItem = "nw_it_sparscr201"; break; // Resist Elements case 54: sItem = "nw_it_sparscr205"; break; // See Invisibility case 55: sItem = "nw_it_spdvscr203"; break; // Silence case 56: sItem = "x2_it_sparscr204"; break; // Stone Bones case 57: sItem = "nw_it_sparscr203"; break; // Summon Creature II case 58: sItem = "x1_it_sparscr202"; break; // Tasha's Hideous Laughter case 59: sItem = "nw_it_sparscr214"; break; // Ultravision case 60: sItem = "nw_it_sparscr204"; break; // Web case 61: sItem = "x1_it_sparscr104"; break; // True Strike case 62: sItem = "nw_it_sparscr303"; break; // Protection from Elements case 63: sItem = "nw_it_spdvscr201"; break; // Lesser Restoration case 64: sItem = "x2_it_spdvscr305"; break; // Darkfire case 65: sItem = "x2_it_sparscr207"; break; // Cat's Grace case 66: sItem = "x2_it_sparscr305"; break; // Find Traps case 67: sItem = "x1_it_spdvscr203"; break; // One with the Land case 68: sItem = "x2_it_spdvscr205"; break; // Remove Paralysis case 69: sItem = "nw_it_sparscr220"; break; // Fox's Cunning case 70: sItem = "x2_it_sparscr205"; break; // Flame Weapon case 71: sItem = "x2_it_spdvscr108"; break; // Sanctuary } } //:: End 6 HD - 10 HD Scrolls Table if (nTableB == 8) //:: Start 6 HD - 10 HD Mundane Miscellaneous Table { int nMundane = Random(78)+1; switch (nMundane) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_cfm_bscrl"; break; // Blank Scroll case 3: sItem = "ar_itbk_trader01"; break; // The Trader's Journal case 4: sItem = "ar_itbk_alchem01"; break; // Azzer Lirin's Alchemy Basics Vol. I case 5: sItem = "ar_itbk_taril01"; break; // Taril's Journal - Part One case 6: sItem = "ar_itbk_taril02"; break; // Taril's Journal - Part Two case 7: sItem = "ar_itbk_stel01"; break; // The Artifice of House Stel - Vol 1 case 8: sItem = "ar_itbk_stel02"; break; // The Artifice of House Stel - Vol 2 case 9: sItem = "ar_itbk_alchem02"; break; // Azzer Lirin's Alchemy Basics Vol. II case 10: sItem = "ar_itbk_alchem03"; break; // Azzer Lirin's Alchemy Advanced Vol. III case 11: sItem = "x2_it_cmat_cloth"; break; // Bolt of Cloth case 12: sItem = "x2_it_cmat_elmw"; break; // Plank of Elm Wood case 13: sItem = "x2_it_bmt_bshaft"; break; // Elmwood Bow Shaft case 14: sItem = "x2_it_bmt_ltorso"; break; // Leather Armor Torso case 15: sItem = "x2_it_bmt_wshldb"; break; // Oaken Shield Body case 16: sItem = "x2_it_bmt_proj"; break; // Projectile Shaft case 17: sItem = "x2_it_bmt_cloth"; break; // Woolen Cloth case 18: sItem = "x2_it_amt_lstrng"; break; // Leather Strings case 19: sItem = "x2_it_amt_cpadd"; break; // Woolen Cloth Pads case 20: sItem = "x2_it_amt_feath"; break; // Feathers case 21: sItem = "x2_it_cfm_pbottl"; break; // Magical Potion Bottle case 22: sItem = "kit_heal_2_001"; break; // Basic Healing Kit case 23: sItem = "ar_it_trader01"; break; // The Trader's Journal - Missing Pages case 24: sItem = "ar_it_trader02"; break; // The Trader's Journal - Missing Pages case 25: sItem = "crft_garlic"; break; // Garlic case 26: sItem = "crft_ginseng"; break; // Ginseng case 27: sItem = "nw_it_msmlmisc11"; break; // Quartz Crystal case 28: sItem = "crft_spinach"; break; // Spinach case 29: sItem = "nw_it_msmlmisc23"; break; // Belladonna case 30: sItem = "crft_bandages"; break; // Bandages case 31: sItem = "nw_it_thnmisc001"; break; // Empty Bottle case 32: sItem = "ar_it_lantern01"; break; // Lantern case 33: sItem = "nw_it_picks001"; break; // Thieves' Tools +1 case 34: sItem = "nw_it_picks002"; break; // Thieves' Tools +3 case 35: sItem = "nw_it_torch001"; break; // Torch case 36: sItem = "nw_it_trap001"; break; // Minor Spike Trap Kit case 37: sItem = "nw_it_trap005"; break; // Minor Holy Trap Kit case 38: sItem = "nw_it_trap021"; break; // Minor Electrical Trap Kit case 39: sItem = "nw_it_trap025"; break; // Minor Gas Trap Kit case 40: sItem = "x2_it_bmt_wpole"; break; // Oaken Pole case 41: sItem = "x2_it_bmt_oakhlt"; break; // Oaken Weapon Grip case 42: sItem = "x1_wmgrenade001"; break; // Acid Flask case 43: sItem = "x1_wmgrenade003"; break; // Caltrops case 44: sItem = "x1_wmgrenade004"; break; // Choking Powder case 45: sItem = "ds_thrw_flameoil"; break; // Flaming Oil case 46: sItem = "x1_wmgrenade002"; break; // Alchemist's Fire case 47: sItem = "x1_wmgrenade007"; break; // Thunderstone case 48: sItem = "x1_wmgrenade005"; break; // Holy Water case 49: sItem = "x1_wmgrenade006"; break; // Tanglefoot Bag case 50: sItem = "prc_it_alcslpgas"; break; // Alchemical Sleeping Gas case 51: sItem = "prc_it_alcfrost"; break; // Alchemist's Frost case 52: sItem = "prc_it_acidfire"; break; // Acidic Fire case 53: sItem = "prc_it_alcspark"; break; // Alchemist's Spark case 54: sItem = "prc_it_biledrp"; break; // Bile Droppings case 55: sItem = "prc_it_festerbmb"; break; // Festering Bomb case 56: sItem = "prc_it_flashplt"; break; // Flash Pellet case 57: sItem = "prc_it_weepstn"; break; // Weeping Stone case 58: sItem = "x2_it_cfm_wand"; break; // Bone Wand case 59: sItem = "ar_itbk_alchem04"; break; // Azzer Lirin's Alchemy Advanced Vol. IV case 60: sItem = "ar_itbk_elemammo"; break; // Book of Elemental Ammunition case 61: sItem = "ar_itbk_elearmor"; break; // Book of Elemental Armor Alchemy case 62: sItem = "ar_itbk_eleweap1"; break; // Book of Elemental Weapons Alchemy case 63: sItem = "magicbag_001"; break; // Least Bag of Reduction case 64: sItem = "x2_it_acidbomb"; break; // Acid Bomb case 65: sItem = "x2_it_firebomb"; break; // Fire Bomb case 66: sItem = "kit_heal_3_001"; break; // Advanced Healing Kit case 67: sItem = "ar_it_contain000"; break; // Backpack case 68: sItem = "nw_it_trap002"; break; // Average Spike Trap Kit case 69: sItem = "nw_it_trap034"; break; // Average Acid Splash Trap Kit case 70: sItem = "nw_it_trap030"; break; // Average Frost Trap Kit case 71: sItem = "nw_it_trap006"; break; // Average Holy Trap Kit case 72: sItem = "nw_it_trap042"; break; // Average Negative Trap Kit case 73: sItem = "nw_it_trap010"; break; // Average Tangle Trap Kit case 74: sItem = "nw_it_trap014"; break; // Average Blob of Acid Trap Kit case 75: sItem = "nw_it_trap018"; break; // Average Fire Trap Kit case 76: sItem = "nw_it_trap022"; break; // Average Electrical Trap Kit case 77: sItem = "nw_it_trap026"; break; // Average Gas Trap Kit case 78: sItem = "prc_it_shedden2"; break; // Shedden +2 } } //:: End 6 HD - 10 Mundane Miscellaneous Table if (nTableB == 9) //:: Start 6 HD - 10 HD Magical Miscellaneous Table { int nMagic = Random(16)+1; switch (nMagic) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_wmgrd_bandit"; break; // Bandit Camp Flute case 3: sItem = "ar_wpsst_klar"; break; // Staff of the Klar case 4: sItem = "ar_wmgst_elemend"; break; // Elemental Endurance case 5: sItem = "ar_wmgst_protect"; break; // Druid's Protector case 6: sItem = "ar_wmgst_sage"; break; // Sage's Staff case 7: sItem = "ar_wmgst_herald"; break; // Herald's Friend case 8: sItem = "ar_wmgst_lshwstk"; break; // Lesser Shadowstick case 9: sItem = "ar_wmgwn_force01"; break; // Wand of Missiles case 10: sItem = "ar_wmgwn_negnrg"; break; // Wand of Negative Energy case 11: sItem = "ar_itm_shielding"; break; // Brooch of Shielding case 12: sItem = "ar_itm_elvenchrm"; break; // Elven Charm case 13: sItem = "ar_itm_protect"; break; // Charm of Protection case 14: sItem = "ar_wmgrd_elem01"; break; // Lesser Rod of Elements case 15: sItem = "ar_itmbk_lore"; break; // Book of Lore case 16: sItem = "ar_itmbk_mistres"; break; // Book of the Mistress } } //:: End 6 HD - 10 HD Magical Miscellaneous Table } //:: End [Table B] 6 HD - 10 HD Loot Tables if (nMobHD > 10 && nMobHD < 16) //:: Start [Table C] 11 HD - 15 HD Loot Tables { int nTableC = Random(9) + 1; if (nTableC == 1) //:: Start 11 HD - 15 HD Ammo & Thrown Weapons { int nAmmo = Random(28) + 1; int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wampar_acid01"; break; // Caustic Arrows case 2: sItem = "ar_wampar_fire01"; break; // Burning Arrows case 3: sItem = "ar_wampar_ice01"; break; // Icy Arrows case 4: sItem = "ar_wampar_elec01"; break; // Charged Arrows case 5: sItem = "ar_wamar_bgrass"; break; // Bloodgrass Arrow case 6: sItem = "ar_wambo_iron01"; break; // Iron Bolts case 7: sItem = "ar_wampbo_acid01"; break; // Caustic Bolts case 8: sItem = "ar_wampbo_fire01"; break; // Burning Bolts case 9: sItem = "ar_wampbo_ice01"; break; // Icy Bolts case 10: sItem = "ar_wampbo_elec01"; break; // Charged Bolts case 11: sItem = "ar_wambo_bgrass"; break; // Bloodgrass Bolts case 12: sItem = "ar_wambu_iron02"; break; // Iron Core Bullets case 13: sItem = "ar_wambu_iron01"; break; // Polished Iron Bullet case 14: sItem = "ar_wampbu_acid01"; break; // Caustic Bullets case 15: sItem = "ar_wampbu_fire01"; break; // Burning Bullets case 16: sItem = "ar_wampbu_ice01"; break; // Icey Bullets case 17: sItem = "ar_wthpax_cleave"; break; // Throwing Axe of Cleaving case 18: sItem = "ar_wamar_hrtskr"; break; // Heartseeker Arrow case 19: sItem = "nw_wammar008"; break; // Poison Arrow case 20: sItem = "ar_wammbo_scream"; break; // Screaming Bolts case 21: sItem = "ar_wampbo_acid02"; break; // Imbued Caustic Bolt case 22: sItem = "ar_wampbu_elec01"; break; // Charged Bullets case 23: sItem = "ar_wambu_zombie"; break; // Zombie Bullets case 24: sItem = "ar_wthdt_iron01"; break; // Iron Throwing Daggers case 25: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 26: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 27: sItem = "ar_wthax_iron01"; break; // Iron Throwing Axes case 28: sItem = "ar_wthch_iron01"; break; // Iron Chakram } } //:: End 11 HD - 15 HD Ammo & Thrown Weapons Table if (nTableC == 2) //:: Start 11 HD - 15 HD Helmets, Armor & Shields { int nArmor = Random(55)+1; switch (nArmor) { case 1: sItem = "ar_amltsl_dagorr"; break; // Dagorran Hide Armor case 2: sItem = "ar_amclrb_eyes"; break; // Lesser Robe of Eyes case 3: sItem = "ar_ammdbp_dagorr"; break; // Dagorran Hide Breastplate case 4: sItem = "ar_amhvhp_dagorr"; break; // Dagorran Hide Half Plate case 5: sItem = "ar_amclcl_desert"; break; // Desert Giant Clothes case 6: sItem = "ar_ahvfp_ivory"; break; // Drake Ivory Full Plate case 7: sItem = "ar_amclrb_sage"; break; // Robes of the Sage case 8: sItem = "ar_helm_eagles"; break; // Eagle's Helm case 9: sItem = "ar_ashmto_sr14"; break; // Shield of Spell Resistance case 10: sItem = "ar_apltlt_kank"; break; // Kank Shell Armor case 11: sItem = "ar_ashmsw_protec"; break; // Buckler of Protection case 12: sItem = "ar_amclrb_braxat"; break; // Braxat Hide Robe case 13: sItem = "ar_amclrb_healer"; break; // Healer's Robe case 14: sItem = "ar_ammdbp_spinew"; break; // Spinewyrm Breastplate case 15: sItem = "ar_amltlt_braxat"; break; // Braxat Leather Armor case 16: sItem = "ar_amltlt_reaper"; break; // Hide of the Dune Reaper case 17: sItem = "ar_amltpd_bsthed"; break; // Beasthead Tunic case 18: sItem = "ar_amclcl_giant"; break; // Giant Hair Clothing case 19: sItem = "ar_amhvhp_rampag"; break; // Rampager Half Plate case 20: sItem = "ar_amclhr_hugos"; break; // Hugo's Hand case 21: sItem = "ar_altlt_agafari"; break; // Agafari Reinforced Leather case 22: sItem = "ar_adbp_agafari"; break; // Agafari Breastplate case 23: sItem = "ar_apmdbp_isteel"; break; // Imbued Steel Breastplate case 24: sItem = "ar_amhvhp_antiqu"; break; // Antique Plate Mail case 25: sItem = "ar_ahvhp_agafari"; break; // Agafari Half Plate case 26: sItem = "ar_amclrb_defbat"; break; // Defiler's Battle Robe case 27: sItem = "ar_amclrb_wizbat"; break; // Preserver's Battle Robe case 28: sItem = "ar_amclcl_decay"; break; // Shroud of Decay case 29: sItem = "ar_amcltn_ranger"; break; // Ranger's Tunic case 30: sItem = "ar_apclcl_swift"; break; // Swift Wind case 31: sItem = "ar_ammdsc_ztal"; break; // Z'tal Razorscale case 32: sItem = "ar_amclcl_vine"; break; // Vine Clothing case 33: sItem = "ar_apcltn_thugs"; break; // Thug's Tunic case 34: sItem = "ar_amltpd_archer"; break; // Archer's Tunic case 35: sItem = "ar_amclcl_jizzar"; break; // Jizzarat's Gear case 36: sItem = "ar_amclgb_dedman"; break; // Deadman's Hide case 37: sItem = "ar_ammdsc_louels"; break; // Louel's Defense case 38: sItem = "ar_amclhr_gladi8"; break; // Gladiator's Harness case 39: sItem = "ar_amltlt_spider"; break; // Spider Armor case 40: sItem = "ar_helm_antique"; break; // Antique Helm case 41: sItem = "ar_helm_iron01"; break; // Iron Helmet case 42: sItem = "ar_helm_eyes"; break; // Helm of Eyes case 43: sItem = "ar_helm_mind"; break; // Helm of the Mind case 44: sItem = "ar_helm_drakef"; break; // Drake Forged Helmet case 45: sItem = "ar_helm_maglens"; break; // Magnification Lens case 46: sItem = "ar_helm_golas"; break; // Gola's Guard case 47: sItem = "ar_helm_imbued"; break; // Imbued Helmet case 48: sItem = "ar_ashlw_agafari"; break; // Agafari Shield case 49: sItem = "ar_ashmlw_antiqu"; break; // Antique Shield case 50: sItem = "ar_ashmlw_spell"; break; // Spellbane Shield case 51: sItem = "ar_ashmsw_heartf"; break; // Heartfinder Shield case 52: sItem = "ar_ashsw_agafari"; break; // Agafari Buckler case 53: sItem = "ar_ashmsw_obhope"; break; // The Obsidian Hope case 54: sItem = "ar_ashmto_ashen"; break; // Ashen Shield case 55: sItem = "ar_ashto_agafari"; break; // Agafari Tower Shield } } //:: End 11 HD - 15 HD Helmets, Armor & Shields if (nTableC == 3) //:: Start 11 HD - 15 HD Weapons Table { int nWeapon = Random(82)+1; switch (nWeapon) { case 1: sItem = "ar_wbwxl_ashen"; break; // Ashen Crossbow case 2: sItem = "ar_wbwsl_wyvern"; break; // Wyvern Hide Sling case 3: sItem = "ar_waxbt_rckstem"; break; // Rockstem Cutter case 4: sItem = "ar_wblcl_sing01"; break; // Singing Stick I case 5: sItem = "ar_wblcl_sing02"; break; // Singing Stick II case 6: sItem = "ar_wswdg_parry"; break; // Parrying Dagger case 7: sItem = "ar_wswdg_dullsur"; break; // Dull Surgical Blade case 8: sItem = "ar_waxwr_rckstm"; break; // Rockstem Hacker case 9: sItem = "ar_waxgr_rckstm"; break; // Rockstem Cleaver case 10: sItem = "ar_waxhn_rckstem"; break; // Rockstem Chopper case 11: sItem = "ar_wbwxh_agafari"; break; // Heavy Agafari Crossbow case 12: sItem = "ar_wbwln_ashen"; break; // Ashen Longbow case 13: sItem = "ar_wdbqs_ivory"; break; // Ivory Shod Quarterstaff case 14: sItem = "ar_wbwsh_ashen"; break; // Ashen Shortbow case 15: sItem = "ar_wbwmsl_giant"; break; // Giant Slayer Sling case 16: sItem = "ar_wbwmsl_mekill"; break; // Mekillot Hide Sling case 17: sItem = "ar_wswbs_iron01"; break; // Iron Bastard Sword case 18: sItem = "ar_wblmcl_whackr"; break; // The Whacker case 19: sItem = "ar_wswdg_poison"; break; // Poison Dagger case 20: sItem = "ar_wswdg_dew"; break; // Dew Sticker case 21: sItem = "ar_wswdg_iron01"; break; // Iron Dagger case 22: sItem = "ar_wswpbf_imbued"; break; // Imbued Bard's Friend case 23: sItem = "ar_wswdg_surgicl"; break; // Surgical Blade case 24: sItem = "ar_wswmdg_jazsts"; break; // Jazst's Blade case 25: sItem = "ar_wdbma_iron01"; break; // Iron Dire Mace case 26: sItem = "ar_wdbax_iron01"; break; // Iron Lotulis case 27: sItem = "ar_waxwr_dew"; break; // Dew Hacker case 28: sItem = "ar_waxwr_iron01"; break; // Iron Waraxe case 29: sItem = "ar_xswfa_iron01"; break; // Iron Falchion case 30: sItem = "ar_waxgr_iron01"; break; // Iron Greataxe case 31: sItem = "ar_wswgs_iron01"; break; // Iron Greatsword case 32: sItem = "ar_wswgs_dew"; break; // Dew Stalk case 33: sItem = "ar_wplhb_iron01"; break; // Iron Trikal case 34: sItem = "ar_waxhn_iron01"; break; // Iron Handaxe case 35: sItem = "ds_wblmh_iron"; break; // Iron Heavy Mace case 36: sItem = "ar_wbwmxh_ltpath"; break; // Lighted Path case 37: sItem = "ar_wbwxh_dedaim"; break; // Dead Aim Heavy Crossbow case 38: sItem = "ar_wblfh_iron01"; break; // Iron Heavy Flail case 39: sItem = "ds_wspmka_iron01"; break; // Iron Kama case 40: sItem = "ar_wspku_iron01"; break; // Iron Kukri case 41: sItem = "ar_wspmku_sharp"; break; // Sharpshadow Blade case 42: sItem = "ar_wbwxl_agafari"; break; // Agafari Crossbow case 43: sItem = "nw_wbwmxl007"; break; // Crossbow of Murder case 44: sItem = "ar_wbwmxl_dedaim"; break; // Dead Aim Crossbow case 45: sItem = "ar_wblfl_iron01"; break; // Iron Flail case 46: sItem = "ar_wblmfl_gunt"; break; // Gunt's Flail case 47: sItem = "ar_wblhl_iron01"; break; // Iron Light Hammer case 48: sItem = "ar_wblml_iron01"; break; // Iron Mace case 49: sItem = "ar_wblmml_smash"; break; // Mace of Smashing case 50: sItem = "ar_wbwln_agafari"; break; // Agafari Longbow case 51: sItem = "ar_wbwmln_drajan"; break; // The Drajian Feather case 52: sItem = "ar_wbwmln_giant"; break; // Giant's Arm Bow case 53: sItem = "ar_wswls_dew"; break; // Dew Slicer case 54: sItem = "ar_wswls_iron01"; break; // Iron Longsword case 55: sItem = "ar_wdbqs_iron01"; break; // Iron Shod Quarterstaff case 56: sItem = "ar_wswrp_iron01"; break; // Iron Rapier case 57: sItem = "ar_wswmrp_hrazor"; break; // Heradat's Razor case 58: sItem = "ar_wswsc_iron01"; break; // Iron Scimitar case 59: sItem = "ar_wswpsc_bugban"; break; // Bugbane case 60: sItem = "ar_wplsc_iron01"; break; // Iron Scythe case 61: sItem = "ar_wbwsh_agafari"; break; // Agafari Shortbow case 62: sItem = "ar_wbwmsh_wrens"; break; // Wren's Bow case 63: sItem = "ar_wplss_blight"; break; // Blighted Spear case 64: sItem = "ar_wplss_iron01"; break; // Iron Gythka case 65: sItem = "ar_wplmss_kikck"; break; // Gythka of Kik-clikta case 66: sItem = "ar_wswss_dew"; break; // Dew Stabber case 67: sItem = "ar_wswss_iron01"; break; // Iron Shortsword case 68: sItem = "ar_wswss_gash"; break; // Gash case 69: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 70: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 71: sItem = "ar_wspsc_iron01"; break; // Iron Sickle case 72: sItem = "ar_wbwsl_salaman"; break; // Salamander Hide Sling case 73: sItem = "ar_wbwmsl_grabs"; break; // Grab's Sling case 74: sItem = "ar_wbwmsl_rocky"; break; // Rocky! case 75: sItem = "ar_wpltr_iron01"; break; // Iron Trident case 76: sItem = "ar_wdbsw_iron01"; break; // Iron Dragon's Paw case 77: sItem = "ar_wblhw_iron01"; break; // Iron Warhammer case 78: sItem = "ar_wblphw_crush"; break; // Crusher case 79: sItem = "ar_wspwp_dewlash"; break; // Dew Lash case 80: sItem = "ar_wspwp_iron01"; break; // Iron Studded Whip case 81: sItem = "ar_wspmwp_sorcha"; break; // Sorcha's Lash case 82: sItem = "ar_wspmwp_sting"; break; // Stinging Whip } } //:: End 11 HD - 15 HD Weapons Table if (nTableC == 4) //:: 11 HD - 15 HD Clothing & Jewelry Table { int nGear = Random(74)+1; switch (nGear) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_itmrng_heartw"; break; // Heartwarder Ring case 3: sItem = "ar_itmnck_cha01"; break; // Amulet of Charisma case 4: sItem = "ar_itmnck_con01"; break; // Amulet of Constitution case 5: sItem = "ar_itmnck_dex01"; break; // Amulet of Dexterity case 6: sItem = "ar_itmnck_int01"; break; // Amulet of Intelligence case 7: sItem = "ar_itmnck_str01"; break; // Amulet of Strength case 8: sItem = "ar_itmnck_wis01"; break; // Amulet of Wisdom case 9: sItem = "ar_itpblt_brawl"; break; // Belt of the Brawler case 10: sItem = "ar_itblt_miracle"; break; // Miracle Belt case 11: sItem = "ar_itpblt_psypho"; break; // Psyphon Belt case 12: sItem = "ar_itpblt_inbarr"; break; // Belt of Inertial Barrier case 13: sItem = "ar_itmbts_regen"; break; // Precious Boots of Regeneration case 14: sItem = "ar_itpbts_coward"; break; // Boots of the Coward case 15: sItem = "ar_itbts_greased"; break; // Greased Boots case 16: sItem = "ar_itmbcr_prtect"; break; // Blessed Bracers of Protection case 17: sItem = "ar_itmclk_forest"; break; // Forest Cloak case 18: sItem = "ar_itpclk_repel1"; break; // Cloak of Warding case 19: sItem = "ar_itglv_ivory1"; break; // Drake Ivory Studded Gauntlet case 20: sItem = "ar_itmglv_sr"; break; // Spellwarp Gloves case 21: sItem = "ar_itmglv_etrade"; break; // Elven Trader Gloves case 22: sItem = "nw_it_mring023"; break; // Gold Ring case 23: sItem = "ar_itmrng_va01"; break; // Veiled Alliance Ring case 24: sItem = "ar_itmrng_cha01"; break; // Ring of Charisma case 25: sItem = "ar_itmrng_con01"; break; // Ring of Constitution case 26: sItem = "ar_itmrng_dex01"; break; // Ring of Dexterity case 27: sItem = "ar_itmrng_int01"; break; // Ring of Intelligence case 28: sItem = "ar_itmrng_str01"; break; // Ring of Strength case 29: sItem = "ar_itmrng_wis01"; break; // Ring of Wisdom case 30: sItem = "ar_itmnck_alhope"; break; // Alassra's Hope case 31: sItem = "ar_itmnck_sand02"; break; // Greater Sandstone Amulet case 32: sItem = "ar_itpnck_clrsee"; break; // Amulet of Clear Seeing case 33: sItem = "ar_itmnck_cha02"; break; // Greater Amulet of Charisma case 34: sItem = "ar_itmnck_con02"; break; // Greater Amulet of Consitution case 35: sItem = "ar_itmnck_dex02"; break; // Greater Amulet of Dexterity case 36: sItem = "ar_itmnck_int02"; break; // Greater Amulet of Intelligence case 37: sItem = "ar_itmnck_str02"; break; // Greater Amulet of Strength case 38: sItem = "ar_itmnck_wis02"; break; // Greater Amulet of Wisdom case 39: sItem = "ar_itpnck_proba"; break; // Probability Stone case 40: sItem = "ar_itnck_hl_aura"; break; // Amulet of Healing Aura case 41: sItem = "ar_itnck_health"; break; // Necklace of Healthy Aura case 42: sItem = "ar_itmnck_stlth"; break; // Amulet of Stealth case 43: sItem = "ar_itblt_livsash"; break; // Living Sash case 44: sItem = "ar_itmblt_ranger"; break; // Ranger's Belt of Many Things case 45: sItem = "ar_itblt_critcar"; break; // Critical Care Medical Belt case 46: sItem = "ar_itbts_ground"; break; // Grounding Boots case 47: sItem = "ar_itmbts_elf"; break; // Elf Skin Boots case 48: sItem = "ar_itmbts_shadow"; break; // Shadow Boots case 49: sItem = "ar_itmbts_jingle"; break; // Jingle Boots case 50: sItem = "ar_itmbts_dwarf"; break; // Dwarf Hide Boots case 51: sItem = "ar_itpbts_imbued"; break; // Imbued Boots case 52: sItem = "ar_itpbts_jazsts"; break; // Jazst's Boots case 53: sItem = "ar_itmbts_kyles"; break; // Kyle's Boots case 54: sItem = "ar_itmbcr_dfence"; break; // Bracers of Defense case 55: sItem = "ar_itmbcr_escape"; break; // Bracers of Escape case 56: sItem = "ar_itmclk_wastes"; break; // Cloak of the Wastes case 57: sItem = "at_itclk_slick"; break; // Slick Cloak case 58: sItem = "at_itpclk_repel2"; break; // Greater Cloak of Repulsion case 59: sItem = "ar_itmglv_grids"; break; // Grid's Hands case 60: sItem = "ar_itglv_iron01"; break; // Iron Studded Gauntlet case 61: sItem = "ar_itglv_ivory2"; break; // Drake Ivory Fighting Gauntlets case 62: sItem = "ar_itemglv_drake"; break; // Drake Forged Gauntlets case 63: sItem = "ar_itmglv_gladtr"; break; // Gladiator's Gauntlet case 64: sItem = "ar_itmglv_kelas"; break; // Kela's Gloves case 65: sItem = "ar_itmrng_cha02"; break; // Greater Ring of Charisma case 66: sItem = "ar_itmrng_con02"; break; // Greater Ring of Consitution case 67: sItem = "ar_itmrng_dex02"; break; // Greater Ring of Dexterity case 68: sItem = "ar_itmrng_endir"; break; // Ring of Endir case 69: sItem = "ar_itmrng_int02"; break; // Greater Ring of Intelligence case 70: sItem = "ar_itmrng_str02"; break; // Greater Ring of Strength case 71: sItem = "ar_itmrng_wis02"; break; // Greater Ring of Wisdom case 72: sItem = "ar_itmrng_dgreed"; break; // Defiler's Greed case 73: sItem = "ar_itprng_adre01"; break; // Ring of Adrenalin case 74: sItem = "ar_itprng_pyro"; break; // Pyrokinetic Ring } } //:: End 11 HD - 15 HD Clothing & Jewelry Table if (nTableC == 5) //:: Start 11 HD - 15 HD Gems & Trade Goods Table { int nGems = Random(23)+1; switch (nGems) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "crpi_f_amber"; break; // Amber case 3: sItem = "crpi_f_amethyst"; break; // Amethyst case 4: sItem = "crpi_p_aquamarin"; break; // Aquamarine case 5: sItem = "crpi_f_chrysober"; break; // Chrysoberyl case 6: sItem = "crpi_f_coral"; break; // Coral case 7: sItem = "crpi_p_garnet"; break; // Garnet case 8: sItem = "crpi_f_jade"; break; // Jade case 9: sItem = "crpi_f_jet"; break; // Jet case 10: sItem = "crpi_p_peridot"; break; // Peridot case 11: sItem = "crpi_p_spinel"; break; // Spinel case 12: sItem = "crpi_p_topaz"; break; // Topaz case 13: sItem = "crpi_f_tourmalin"; break; // Tourmaline case 14: sItem = "crpi_o_agate"; break; // Agate case 15: sItem = "crpi_g_blackopal"; break; // Black Opal case 16: sItem = "crpi_g_blacksaph"; break; // Black Sapphire case 17: sItem = "crpi_g_diamond"; break; // Diamond case 18: sItem = "crpi_g_emerald"; break; // Emerald case 19: sItem = "crpi_g_fireopal"; break; // Fire Opal case 20: sItem = "crpi_g_opal"; break; // Opal case 21: sItem = "crpi_g_ruby"; break; // Ruby case 22: sItem = "crpi_g_sapphire"; break; // Sapphire case 23: sItem = "crpi_g_starsapph"; break; // Star Sapphire } } //:: End 11 HD - 15 HD Gems & Trade Goods Table if (nTableC == 6) //:: Start 11 HD - 15 HD Potions & Alchemy Items Table { int nPotion = Random(13)+1; switch (nPotion) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "pot_lime"; break; // Magical Lime case 3: sItem = "pot_zzgresh"; break; // Magical Zz'gresh Berry case 4: sItem = "pot_holynectar"; break; // Holy Nectar case 5: sItem = "pot_plum"; break; // Magical Plum case 6: sItem = "pot_fenberry"; break; // Magical Fenberry case 7: sItem = "pot_dranja"; break; // Magical Dranja Berry case 8: sItem = "pot_grapes"; break; // Magical Grapes case 9: sItem = "pot_raspberry"; break; // Magical Raspberry case 10: sItem = "prc_it_shedden2"; break; // Shedden +2 case 11: sItem = "pot_cherry"; break; // Magical Cherry case 12: sItem = "pot_lemon"; break; // Magical Lemon case 13: sItem = "prc_it_shedden3"; break; // Shedden +3 } } //:: End 11 HD - 15 HD Potions & Alchemy Items Table if (nTableC == 7) //:: Start 11 HD - 15 HD Scrolls Table { int nScroll = Random(54)+1; switch (nScroll) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_spdvscr405"; break; // Freedom of Movement case 3: sItem = "nw_it_spdvscr302"; break; // Remove Disease case 4: sItem = "nw_it_sparscr311"; break; // Vampiric Touch case 5: sItem = "nw_it_sparscr509"; break; // Animate Dead case 6: sItem = "nw_it_sparscr414"; break; // Bestow Curse case 7: sItem = "nw_it_sparscr405"; break; // Charm Monster case 8: sItem = "nw_it_sparscr406"; break; // Confusion case 9: sItem = "nw_it_sparscr411"; break; // Contagion case 10: sItem = "x1_it_sparscr301"; break; // Displacement case 11: sItem = "nw_it_sparscr413"; break; // Fear case 12: sItem = "nw_it_sparscr309"; break; // Fireball case 13: sItem = "nw_it_sparscr304"; break; // Flame Arrow case 14: sItem = "x2_it_sparscr304"; break; // Greater Magic Weapon case 15: sItem = "nw_it_sparscr312"; break; // Haste case 16: sItem = "nw_it_sparscr314"; break; // Invisibility Sphere case 17: sItem = "x2_it_sparscr303"; break; // Keen Edge case 18: sItem = "nw_it_sparscr310"; break; // Lightning Bolt case 19: sItem = "x2_it_sparscrmc"; break; // Magic Circle against Alignment case 20: sItem = "x2_it_spdvscr304"; break; // Magic Vestment case 21: sItem = "x2_it_sparscr301"; break; // Mestil's Acid Breath case 22: sItem = "nw_it_spdvscr402"; break; // Neutralize Poison case 23: sItem = "nw_it_sparscr402"; break; // Remove Curse case 24: sItem = "x2_it_sparscr302"; break; // Scintillating Sphere case 25: sItem = "nw_it_sparscr313"; break; // Slow case 26: sItem = "nw_it_sparscr305"; break; // Stinking Cloud case 27: sItem = "nw_it_sparscr306"; break; // Summon Creature III case 28: sItem = "nw_it_sparscr315"; break; // Negative Energy Burst case 29: sItem = "x2_it_spdvscr403"; break; // Death Ward case 30: sItem = "nw_it_sparscr503"; break; // Dominate Person case 31: sItem = "nw_it_sparscr416"; break; // Elemental Shield case 32: sItem = "nw_it_sparscr412"; break; // Enervation case 33: sItem = "x2_it_spdvscr406"; break; // Hammer of the Gods case 34: sItem = "nw_it_sparscr505"; break; // Hold Monster case 35: sItem = "nw_it_sparscr408"; break; // Improved Invisibility case 36: sItem = "x1_it_sparscr401"; break; // Isaac's Lesser Missile Storm case 37: sItem = "nw_it_sparscr417"; break; // Lesser Spell Breach case 38: sItem = "nw_it_sparscr401"; break; // Minor Globe of Invulnerability case 39: sItem = "nw_it_sparscr409"; break; // Phantasmal Killer case 40: sItem = "nw_it_sparscr410"; break; // Shadow Conjuration case 41: sItem = "nw_it_sparscr404"; break; // Summon Creature IV case 42: sItem = "x1_it_sparscr303"; break; // Gust of Wind case 43: sItem = "nw_it_sparscr507"; break; // Cone of Cold case 44: sItem = "nw_it_sparscr407"; break; // Wall of Fire case 45: sItem = "x2_it_sparscr401"; break; // Ice Storm case 46: sItem = "x2_it_spdvscr404"; break; // Divine Power case 47: sItem = "nw_it_sparscr307"; break; // Clairaudience & Clairvoyance case 48: sItem = "nw_it_spdvscr301"; break; // Remove Blindness / Deafness case 49: sItem = "x2_it_spdvscr401"; break; // Holy Sword case 50: sItem = "nw_it_sparscr501"; break; // Dismissal case 51: sItem = "nw_it_sparscr301"; break; // Dispel Magic case 52: sItem = "nw_it_sparscr403"; break; // Stoneskin case 53: sItem = "nw_it_sparscr415"; break; // Polymorph Self case 54: sItem = "nw_it_spdvscr401"; break; // Restoration } } //:: End 11 HD - 15 HD Scrolls Table if (nTableC == 8) //:: Start 11 HD - 15 HD Mundane Miscellaneous Table { int nMundane = Random(52)+1; switch (nMundane) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_cfm_bscrl"; break; // Blank Scroll case 3: sItem = "x2_it_cfm_pbottl"; break; // Magical Potion Bottle case 4: sItem = "x2_it_cfm_wand"; break; // Bone Wand case 5: sItem = "x1_wmgrenade001"; break; // Acid Flask case 6: sItem = "x1_wmgrenade003"; break; // Caltrops case 7: sItem = "x1_wmgrenade004"; break; // Choking Powder case 8: sItem = "ds_thrw_flameoil"; break; // Flaming Oil case 9: sItem = "x1_wmgrenade002"; break; // Alchemist's Fire case 10: sItem = "x1_wmgrenade007"; break; // Thunderstone case 11: sItem = "x1_wmgrenade005"; break; // Holy Water case 12: sItem = "x1_wmgrenade006"; break; // Tanglefoot Bag case 13: sItem = "prc_it_alcslpgas"; break; // Alchemical Sleeping Gas case 14: sItem = "prc_it_alcfrost"; break; // Alchemist's Frost case 15: sItem = "prc_it_acidfire"; break; // Acidic Fire case 16: sItem = "prc_it_alcspark"; break; // Alchemist's Spark case 17: sItem = "prc_it_biledrp"; break; // Bile Droppings case 18: sItem = "prc_it_festerbmb"; break; // Festering Bomb case 19: sItem = "prc_it_flashplt"; break; // Flash Pellet case 20: sItem = "prc_it_weepstn"; break; // Weeping Stone case 21: sItem = "ar_itbk_alchem04"; break; // Azzer Lirin's Alchemy Advanced Vol. IV case 22: sItem = "ar_itbk_elemammo"; break; // Book of Elemental Ammunition case 23: sItem = "ar_itbk_elearmor"; break; // Book of Elemental Armor Alchemy case 25: sItem = "ar_itbk_eleweap1"; break; // Book of Elemental Weapons Alchemy case 26: sItem = "magicbag_001"; break; // Least Bag of Reduction case 27: sItem = "x2_it_acidbomb"; break; // Acid Bomb case 28: sItem = "x2_it_firebomb"; break; // Fire Bomb case 29: sItem = "kit_heal_3_001"; break; // Advanced Healing Kit case 30: sItem = "ar_it_contain000"; break; // Backpack case 31: sItem = "nw_it_trap002"; break; // Average Spike Trap Kit case 32: sItem = "nw_it_trap034"; break; // Average Acid Splash Trap Kit case 33: sItem = "nw_it_trap030"; break; // Average Frost Trap Kit case 34: sItem = "nw_it_trap006"; break; // Average Holy Trap Kit case 35: sItem = "nw_it_trap042"; break; // Average Negative Trap Kit case 36: sItem = "nw_it_trap010"; break; // Average Tangle Trap Kit case 37: sItem = "nw_it_trap014"; break; // Average Blob of Acid Trap Kit case 38: sItem = "nw_it_trap022"; break; // Average Electrical Trap Kit case 39: sItem = "nw_it_trap026"; break; // Average Gas Trap Kit case 40: sItem = "prc_it_shedden2"; break; // Shedden +2 case 41: sItem = "ar_itbk_eleweap2"; break; // Book of Advanced Elemental Weapons Alchemy case 42: sItem = "ar_itbk_alchem05"; break; // Azzer Lirin's Alchemy Advanced Vol. V case 43: sItem = "magicbag_002"; break; // Lesser Bag of Reduction case 44: sItem = "kit_heal_4_001"; break; // Expert Healing Kit case 45: sItem = "crft_mandrake"; break; // Mandrake case 46: sItem = "nw_it_picks003"; break; // Thieves' Tools +6 case 47: sItem = "nw_it_trap003"; break; // Strong Spike Trap Kit case 48: sItem = "nw_it_trap043"; break; // Strong Negative Trap Kit case 49: sItem = "nw_it_trap011"; break; // Strong Tangle Trap Kit case 50: sItem = "nw_it_trap023"; break; // Strong Electrical Trap Kit case 51: sItem = "nw_it_trap027"; break; // Strong Gas Trap Kit case 52: sItem = "prc_it_shedden3"; break; // Shedden +3 } } //:: End 11 HD - 15 HD Mundane Miscellaneous Table if (nTableC == 9) //:: Start 11 HD - 15 HD Magical Miscellaneous Table { int nMagic = Random(30)+1; switch (nMagic) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_wmgrd_bandit"; break; // Bandit Camp Flute case 3: sItem = "ar_wpsst_klar"; break; // Staff of the Klar case 4: sItem = "ar_wmgst_elemend"; break; // Elemental Endurance case 5: sItem = "ar_wmgst_protect"; break; // Druid's Protector case 6: sItem = "ar_wmgst_sage"; break; // Sage's Staff case 7: sItem = "ar_wmgst_herald"; break; // Herald's Friend case 8: sItem = "ar_wmgst_lshwstk"; break; // Lesser Shadowstick case 9: sItem = "ar_wmgwn_force01"; break; // Wand of Missiles case 10: sItem = "ar_wmgwn_negnrg"; break; // Wand of Negative Energy case 11: sItem = "ar_itm_shielding"; break; // Brooch of Shielding case 12: sItem = "ar_itm_elvenchrm"; break; // Elven Charm case 13: sItem = "ar_itm_protect"; break; // Charm of Protection case 14: sItem = "ar_itmbk_lore"; break; // Book of Lore case 15: sItem = "ar_itmbk_mistres"; break; // Book of the Mistress case 16: sItem = "ar_itmbk_healing"; break; // Book of Healing case 17: sItem = "ar_itm_orbfire"; break; // Orb of Fire case 18: sItem = "ar_itm_orbice"; break; // Orb of Ice case 19: sItem = "ar_itm_orbshock"; break; // Orb of Lightning case 20: sItem = "ar_itm_hornaknar"; break; // Horn of Ak'nar case 21: sItem = "ar_itm_hearthstn"; break; // Hearthstone Charm case 22: sItem = "ar_itm_clilyre"; break; // Cli Lyre case 23: sItem = "ar_wmgrd_elem02"; break; // Rod of Elements case 24: sItem = "nw_wmgst004"; break; // Staff of Defense case 25: sItem = "nw_wmgst005"; break; // Staff of Power case 26: sItem = "ar_wmgst_radian"; break; // Staff of Radiance case 27: sItem = "ar_wmgst_decepti"; break; // Staff of Deception case 28: sItem = "ar_wpsst_avi"; break; // Staff of the Aviarag case 29: sItem = "ar_wpsst_belgoi"; break; // Staff of the Belgoi case 30: sItem = "ar_wpsst_feylaar"; break; // Staff of the Feylaar } } //:: End 11 HD - 15 HD Magical Miscellaneous Table } //:: End [Table C] 11 HD - 15 HD Loot Tables if (nMobHD > 15 && nMobHD < 21) //:: Start [Table D] 16 HD - 20 HD Loot Tables { int nTableD = Random(9) + 1; if (nTableD == 1) //:: Start 16 HD - 20 HD Ammo & Thrown Weapons { int nAmmo = Random(35) + 1; int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wampar_acid01"; break; // Caustic Arrows case 2: sItem = "ar_wampar_fire01"; break; // Burning Arrows case 3: sItem = "ar_wampar_ice01"; break; // Icy Arrows case 4: sItem = "ar_wampar_elec01"; break; // Charged Arrows case 5: sItem = "ar_wamar_bgrass"; break; // Bloodgrass Arrow case 6: sItem = "ar_wambo_iron01"; break; // Iron Bolts case 7: sItem = "ar_wampbo_acid01"; break; // Caustic Bolts case 8: sItem = "ar_wampbo_fire01"; break; // Burning Bolts case 9: sItem = "ar_wampbo_ice01"; break; // Icy Bolts case 10: sItem = "ar_wampbo_elec01"; break; // Charged Bolts case 11: sItem = "ar_wambo_bgrass"; break; // Bloodgrass Bolts case 12: sItem = "ar_wambu_iron02"; break; // Iron Core Bullets case 13: sItem = "ar_wambu_iron01"; break; // Polished Iron Bullet case 14: sItem = "ar_wampbu_acid01"; break; // Caustic Bullets case 15: sItem = "ar_wampbu_fire01"; break; // Burning Bullets case 16: sItem = "ar_wampbu_ice01"; break; // Icey Bullets case 17: sItem = "ar_wthpax_cleave"; break; // Throwing Axe of Cleaving case 18: sItem = "ar_wamar_hrtskr"; break; // Heartseeker Arrow case 19: sItem = "nw_wammar008"; break; // Poison Arrow case 20: sItem = "ar_wammbo_scream"; break; // Screaming Bolts case 21: sItem = "ar_wampbo_acid02"; break; // Imbued Caustic Bolt case 22: sItem = "ar_wampbu_elec01"; break; // Charged Bullets case 23: sItem = "ar_wambu_zombie"; break; // Zombie Bullets case 24: sItem = "ar_wthdt_iron01"; break; // Iron Throwing Daggers case 25: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 26: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 27: sItem = "ar_wthax_iron01"; break; // Iron Throwing Axes case 28: sItem = "ar_wthch_iron01"; break; // Iron Chakram case 29: sItem = "ar_wamar_hamstr"; break; // Hamstring Arrow case 30: sItem = "ar_wammar_mystic"; break; // Mystic Arrow case 31: sItem = "ar_wammbo_mystic"; break; // Mystic Bolt case 32: sItem = "ar_wambu_fire02"; break; // Phosphorus Bullets case 33: sItem = "ar_wammbu_kapow"; break; // Ka-Pow! case 34: sItem = "ar_wammbu_giant"; break; // Giant Slayer Stones case 35: sItem = "ar_wthmax_nikhi"; break; // Nikhi's Rainbow } } //:: End 16 HD - 20 HD Ammo & Thrown Weapons Table if (nTableD == 2) //:: Start 16 HD - 20 HD Helmets, Armor & Shields { int nArmor = Random(67)+1; switch (nArmor) { case 1: sItem = "ar_amclrb_braxat"; break; // Braxat Hide Robe case 2: sItem = "ar_amclrb_healer"; break; // Healer's Robe case 3: sItem = "ar_ammdbp_spinew"; break; // Spinewyrm Breastplate case 4: sItem = "ar_amltlt_braxat"; break; // Braxat Leather Armor case 5: sItem = "ar_amltlt_reaper"; break; // Hide of the Dune Reaper case 6: sItem = "ar_amltpd_bsthed"; break; // Beasthead Tunic case 7: sItem = "ar_amclcl_giant"; break; // Giant Hair Clothing case 8: sItem = "ar_amhvhp_rampag"; break; // Rampager Half Plate case 9: sItem = "ar_amclhr_hugos"; break; // Hugo's Hand case 10: sItem = "ar_altlt_agafari"; break; // Agafari Reinforced Leather case 11: sItem = "ar_adbp_agafari"; break; // Agafari Breastplate case 12: sItem = "ar_apmdbp_isteel"; break; // Imbued Steel Breastplate case 13: sItem = "ar_amhvhp_antiqu"; break; // Antique Plate Mail case 14: sItem = "ar_ahvhp_agafari"; break; // Agafari Half Plate case 15: sItem = "ar_amclrb_defbat"; break; // Defiler's Battle Robe case 16: sItem = "ar_amclrb_wizbat"; break; // Preserver's Battle Robe case 17: sItem = "ar_amclcl_decay"; break; // Shroud of Decay case 18: sItem = "ar_amcltn_ranger"; break; // Ranger's Tunic case 19: sItem = "ar_apclcl_swift"; break; // Swift Wind case 20: sItem = "ar_ammdsc_ztal"; break; // Z'tal Razorscale case 21: sItem = "ar_amclcl_vine"; break; // Vine Clothing case 22: sItem = "ar_apcltn_thugs"; break; // Thug's Tunic case 23: sItem = "ar_amltpd_archer"; break; // Archer's Tunic case 24: sItem = "ar_amclcl_jizzar"; break; // Jizzarat's Gear case 25: sItem = "ar_amclgb_dedman"; break; // Deadman's Hide case 26: sItem = "ar_ammdsc_louels"; break; // Louel's Defense case 27: sItem = "ar_amclhr_gladi8"; break; // Gladiator's Harness case 28: sItem = "ar_amltlt_spider"; break; // Spider Armor case 29: sItem = "ar_helm_antique"; break; // Antique Helm case 30: sItem = "ar_helm_iron01"; break; // Iron Helmet case 31: sItem = "ar_helm_eyes"; break; // Helm of Eyes case 32: sItem = "ar_helm_mind"; break; // Helm of the Mind case 33: sItem = "ar_helm_drakef"; break; // Drake Forged Helmet case 34: sItem = "ar_helm_maglens"; break; // Magnification Lens case 35: sItem = "ar_helm_golas"; break; // Gola's Guard case 36: sItem = "ar_helm_imbued"; break; // Imbued Helmet case 37: sItem = "ar_ashlw_agafari"; break; // Agafari Shield case 38: sItem = "ar_ashmlw_antiqu"; break; // Antique Shield case 39: sItem = "ar_ashmlw_spell"; break; // Spellbane Shield case 40: sItem = "ar_ashmsw_heartf"; break; // Heartfinder Shield case 41: sItem = "ar_ashsw_agafari"; break; // Agafari Buckler case 42: sItem = "ar_ashmsw_obhope"; break; // The Obsidian Hope case 43: sItem = "ar_ashmto_ashen"; break; // Ashen Shield case 44: sItem = "ar_ashto_agafari"; break; // Agafari Tower Shield case 45: sItem = "ar_amclrb_advent"; break; // High Adventurer's Robe case 46: sItem = "ar_amclcl_dunern"; break; // Dunerunner Chain case 47: sItem = "ar_ammdcm_hereda"; break; // Heredat's Chain of Fire case 48: sItem = "ar_ahvfp_bsthide"; break; // Beasthide Plate case 49: sItem = "ar_amclrb_underw"; break; // Robes of the Underworld case 50: sItem = "ar_amhvfp_drake"; break; // Drake Forged Plate case 51: sItem = "ar_amclgb_blkslt"; break; // Black Silt case 52: sItem = "ar_amhvfp_divine"; break; // Divine Shell case 53: sItem = "ar_ammdbp_umber"; break; // Umber Hulk Shell case 54: sItem = "ar_apclrb_essenc"; break; // Essence Robe case 55: sItem = "ar_amltsl_mrange"; break; // Master Ranger's Armor case 56: sItem = "ar_amclcl_rouge"; break; // Rogue's Wrap case 57: sItem = "ar_amdbp_lfshape"; break; // Life Shaped Body Armor case 58: sItem = "ar_apclgb_villic"; break; // Villichi Garb case 59: sItem = "ar_amltlt_bless"; break; // The Blessing of Tyr case 60: sItem = "ar_amhvfp_underw"; break; // Forged Plate of the Underworld case 61: sItem = "ar_helm_divcasq"; break; // Divine Casque case 62: sItem = "ar_helm_husil"; break; // Black Helm of Husil case 63: sItem = "ar_helm_obsflame"; break; // Obsidian Helm of Flames case 64: sItem = "ar_ashmlw_grafna"; break; // Grafna's Pride case 65: sItem = "ar_ashpto_imbued"; break; // Imbued Shield case 66: sItem = "ar_ashmto_mirror"; break; // Mirror Shield case 67: sItem = "ar_ashmto_giant"; break; // The Giantguard } } //:: End 16 HD - 20 HD Helmets, Armor & Shields if (nTableD == 3) //:: Start 16 HD - 20 HD Weapons Table { int nWeapon = Random(152)+1; switch (nWeapon) { case 1: sItem = "ar_wswbs_iron01"; break; // Iron Bastard Sword case 2: sItem = "ar_wblmcl_whackr"; break; // The Whacker case 3: sItem = "ar_wswdg_poison"; break; // Poison Dagger case 4: sItem = "ar_wswdg_dew"; break; // Dew Sticker case 5: sItem = "ar_wswdg_iron01"; break; // Iron Dagger case 6: sItem = "ar_wswpbf_imbued"; break; // Imbued Bard's Friend case 7: sItem = "ar_wswdg_surgicl"; break; // Surgical Blade case 8: sItem = "ar_wswmdg_jazsts"; break; // Jazst's Blade case 9: sItem = "ar_wdbma_iron01"; break; // Iron Dire Mace case 10: sItem = "ar_wdbax_iron01"; break; // Iron Lotulis case 11: sItem = "ar_waxwr_dew"; break; // Dew Hacker case 12: sItem = "ar_waxwr_iron01"; break; // Iron Waraxe case 13: sItem = "ar_xswfa_iron01"; break; // Iron Falchion case 14: sItem = "ar_waxgr_iron01"; break; // Iron Greataxe case 15: sItem = "ar_wswgs_iron01"; break; // Iron Greatsword case 16: sItem = "ar_wswgs_dew"; break; // Dew Stalk case 17: sItem = "ar_wplhb_iron01"; break; // Iron Trikal case 18: sItem = "ar_waxhn_iron01"; break; // Iron Handaxe case 19: sItem = "ds_wblmh_iron"; break; // Iron Heavy Mace case 20: sItem = "ar_wbwmxh_ltpath"; break; // Lighted Path case 21: sItem = "ar_wbwxh_dedaim"; break; // Dead Aim Heavy Crossbow case 22: sItem = "ar_wblfh_iron01"; break; // Iron Heavy Flail case 23: sItem = "ds_wspmka_iron01"; break; // Iron Kama case 24: sItem = "ar_wspku_iron01"; break; // Iron Kukri case 25: sItem = "ar_wspmku_sharp"; break; // Sharpshadow Blade case 26: sItem = "ar_wbwxl_agafari"; break; // Agafari Crossbow case 27: sItem = "nw_wbwmxl007"; break; // Crossbow of Murder case 28: sItem = "ar_wbwmxl_dedaim"; break; // Dead Aim Crossbow case 29: sItem = "ar_wblfl_iron01"; break; // Iron Flail case 30: sItem = "ar_wblmfl_gunt"; break; // Gunt's Flail case 31: sItem = "ar_wblhl_iron01"; break; // Iron Light Hammer case 32: sItem = "ar_wblml_iron01"; break; // Iron Mace case 33: sItem = "ar_wblmml_smash"; break; // Mace of Smashing case 34: sItem = "ar_wbwln_agafari"; break; // Agafari Longbow case 35: sItem = "ar_wbwmln_drajan"; break; // The Drajian Feather case 36: sItem = "ar_wbwmln_giant"; break; // Giant's Arm Bow case 37: sItem = "ar_wswls_dew"; break; // Dew Slicer case 38: sItem = "ar_wswls_iron01"; break; // Iron Longsword case 39: sItem = "ar_wdbqs_iron01"; break; // Iron Shod Quarterstaff case 40: sItem = "ar_wswrp_iron01"; break; // Iron Rapier case 41: sItem = "ar_wswmrp_hrazor"; break; // Heradat's Razor case 42: sItem = "ar_wswsc_iron01"; break; // Iron Scimitar case 43: sItem = "ar_wswpsc_bugban"; break; // Bugbane case 44: sItem = "ar_wplsc_iron01"; break; // Iron Scythe case 45: sItem = "ar_wbwsh_agafari"; break; // Agafari Shortbow case 46: sItem = "ar_wbwmsh_wrens"; break; // Wren's Bow case 47: sItem = "ar_wplss_blight"; break; // Blighted Spear case 48: sItem = "ar_wplss_iron01"; break; // Iron Gythka case 49: sItem = "ar_wplmss_kikck"; break; // Gythka of Kik-clikta case 50: sItem = "ar_wswss_dew"; break; // Dew Stabber case 51: sItem = "ar_wswss_iron01"; break; // Iron Shortsword case 52: sItem = "ar_wswss_gash"; break; // Gash case 53: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 54: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 55: sItem = "ar_wspsc_iron01"; break; // Iron Sickle case 56: sItem = "ar_wbwsl_salaman"; break; // Salamander Hide Sling case 57: sItem = "ar_wbwmsl_grabs"; break; // Grab's Sling case 58: sItem = "ar_wbwmsl_rocky"; break; // Rocky! case 59: sItem = "ar_wpltr_iron01"; break; // Iron Trident case 60: sItem = "ar_wdbsw_iron01"; break; // Iron Dragon's Paw case 61: sItem = "ar_wblhw_iron01"; break; // Iron Warhammer case 62: sItem = "ar_wblphw_crush"; break; // Crusher case 63: sItem = "ar_wspwp_dewlash"; break; // Dew Lash case 64: sItem = "ar_wspwp_iron01"; break; // Iron Studded Whip case 65: sItem = "ar_wspmwp_sorcha"; break; // Sorcha's Lash case 66: sItem = "ar_wspmwp_sting"; break; // Stinging Whip case 67: sItem = "ar_wplmhb_bgbang"; break; // Big Bang case 68: sItem = "ar_wplmhb_lslash"; break; // Lifeslasher case 69: sItem = "ar_waxmhn_faro"; break; // Faro Cutter's Revenge case 70: sItem = "ar_waxmhn_toxic"; break; // Toxic Fury case 71: sItem = "ds_wblpmh_gntdrd"; break; // Giant's Dread case 72: sItem = "ds_wblpmh_dkmsh"; break; // Shadow of Darkmoor case 73: sItem = "ds_wblpmh_bnclw"; break; // Boneclaw Soulmace case 74: sItem = "ds_wblpmh_hydvl"; break; // Hydraveil case 75: sItem = "ar_wblmfh_insan"; break; // Insanity's Crescendo case 76: sItem = "ar_wblmfh_9lives"; break; // Nine Lives Stealer case 77: sItem = "ar_wblpfh_bradas"; break; // Brada's Fury case 78: sItem = "ds_wspmka_truds"; break; // Trud's Hook case 79: sItem = "ds_wspmka_sonic"; break; // Sonic Kama case 80: sItem = "ar_wspmku_rajaat"; break; // Messenger of Rajaat case 81: sItem = "ar_wbwmxl_widow"; break; // Widowmaker case 82: sItem = "ar_wbwmxl_vhala"; break; // Vhala's Caress case 83: sItem = "ar_wblmfl_wind"; break; // Flail of the Wind case 84: sItem = "ar_wblmml_stormy"; break; // Stormy Mace case 85: sItem = "ar_wblmml_teeth"; break; // Rod of Teeth case 86: sItem = "ar_wblmml_antiqu"; break; // Antique Mace case 87: sItem = "ar_wbwmln_tempes"; break; // Tempest case 88: sItem = "ar_wbwmln_pandor"; break; // Pandora's Bow case 89: sItem = "ar_wbwmln_wraith"; break; // Wraith Sting case 90: sItem = "ar_wbwmln_suresh"; break; // Sure Shot case 91: sItem = "ar_wswmls_dervis"; break; // The Dervish Blade case 92: sItem = "ar_wblmms_fallin"; break; // Falling Star case 93: sItem = "ar_wblmms_mglory"; break; // Morning Glory case 94: sItem = "ar_wblmms_sun"; break; // Sunstar case 95: sItem = "ar_wblmms_midnig"; break; // Midnight Star case 96: sItem = "ar_wdbmqs_brambl"; break; // Bramblewood Quarterstaff case 97: sItem = "ar_wdbqs_emboss"; break; // Embossed Staff case 98: sItem = "ar_wdbmqs_briarw"; break; // Brairstaff case 99: sItem = "ar_wdbmqs_shadow"; break; // Shadow Staff case 100: sItem = "ar_wdbmqs_humble"; break; // Staff of the Humble case 101: sItem = "ar_wswprp_jankx"; break; // Jankx Blade case 102: sItem = "ar_wswmrp_asticl"; break; // Steel Rapier of Asticles case 103: sItem = "ar_wswmrp_dmflat"; break; // Dimflat's Bane case 104: sItem = "ar_wswmrp_dlands"; break; // Rapier of the Deadlands case 105: sItem = "ar_wswmsc_scream"; break; // Screaming Scimitar case 106: sItem = "ar_wswpsc_acidba"; break; // Acidbath case 107: sItem = "ar_wswmsc_scour"; break; // Scour case 108: sItem = "ar_wplmsc_moon"; break; // Scythe of the Moon case 109: sItem = "ar_wplmsc_essenc"; break; // Essence Reaper case 110: sItem = "ar_wplmsc_wullum"; break; // Wullum's Talon case 111: sItem = "ar_wbwmsh_posess"; break; // Possessed Shortbow case 112: sItem = "ar_wbwmsh_storm"; break; // Storm Bow case 113: sItem = "ar_wbwmsh_hearts"; break; // Heartseeker Bow case 114: sItem = "ar_wbwmsh_winter"; break; // Winter Wind case 115: sItem = "ar_wplpss_hunt"; break; // Gythka of the Hunt case 116: sItem = "ar_wplmss_rankin"; break; // Rankin's Reach case 117: sItem = "ar_wplmss_light"; break; // Gythka of Light case 118: sItem = "ar_wswmss_sndshk"; break; // Sandshock Blade case 119: sItem = "ar_wswmss_sun"; break; // Blade of the Sun case 120: sItem = "ar_wsppsc_lhlor"; break; // Left Hand of Lor case 121: sItem = "ar_wspmsc_rhlor"; break; // Right Hand of Lor case 122: sItem = "ar_wspmsc_gutrip"; break; // Gutripper case 123: sItem = "ar_wbwpsl_woshot"; break; // Woshot's Shooter case 124: sItem = "ar_wthmax_nikhi"; break; // Nikhi's Rainbow case 125: sItem = "ar_wdbmsw_shock"; break; // Shocker case 126: sItem = "ar_wblmhw_elec01"; break; // Lesser Warhammer of Lightning case 127: sItem = "ar_wblmhw_bonesm"; break; // Bonesmasher case 128: sItem = "ar_wblmhl_numbsk"; break; // Numbskull case 129: sItem = "ar_wspmwp_zans"; break; // Zan's Cord case 130: sItem = "ar_waxpwk_imbued"; break; // Imbued Widow's Knife case 131: sItem = "ar_wswmbs_dis01"; break; // Diseased Bastard Sword case 132: sItem = "ar_wswmbs_sandst"; break; // Sandstorm's Rage case 133: sItem = "ar_wswmbs_cister"; break; // The Cistern Blade case 134: sItem = "ar_wswmbs_shadow"; break; // Shadowblade case 135: sItem = "ar_wswmbs_trubld"; break; // The True Blade case 136: sItem = "ar_waxmbt_crygar"; break; // Crygar's Heartcleaver case 137: sItem = "ar_waxmbt_hells"; break; // Hell's Wrath case 138: sItem = "ar_waxmbt_forgot"; break; // Forgotten Axe case 139: sItem = "ar_wblmcl_giant"; break; // Cudgel of Giant Strength case 140: sItem = "ar_wswmdg_jannas"; break; // Janna's Spike case 141: sItem = "ar_wswpdg_steak"; break; // Steak Knife case 142: sItem = "ar_wdbmma_defend"; break; // Defender case 143: sItem = "ar_wdbmma_orms"; break; // Orm's Justice case 145: sItem = "ar_wdbmax_cerule"; break; // The Cerulean Arm case 146: sItem = "ar_wdbmax_fassho"; break; // Fasshon's Hand case 147: sItem = "ar_waxmwr_kaels"; break; // Kael's Arm case 148: sItem = "ar_waxpgr_fire03"; break; // Imbued Fire Greataxe case 149: sItem = "ar_waxmgr_atheat"; break; // Athasian Heat case 150: sItem = "ar_wswpgs_fire03"; break; // Imbued Great Sword case 151: sItem = "ar_wswmgs_siltfg"; break; // Siltforged Greatsword case 152: sItem = "ar_wswmgs_vile"; break; // Vile Blade } } //:: End 16 HD - 20 HD Weapons Table if (nTableD == 4) //:: Start 16 HD - 20 HD Clothing & Jewelry Table { int nGear = Random(87)+1; switch (nGear) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_itmnck_alhope"; break; // Alassra's Hope case 3: sItem = "ar_itmnck_sand02"; break; // Greater Sandstone Amulet case 4: sItem = "ar_itpnck_clrsee"; break; // Amulet of Clear Seeing case 5: sItem = "ar_itmnck_cha02"; break; // Greater Amulet of Charisma case 6: sItem = "ar_itmnck_con02"; break; // Greater Amulet of Consitution case 7: sItem = "ar_itmnck_dex02"; break; // Greater Amulet of Dexterity case 8: sItem = "ar_itmnck_int02"; break; // Greater Amulet of Intelligence case 9: sItem = "ar_itmnck_str02"; break; // Greater Amulet of Strength case 10: sItem = "ar_itmnck_wis02"; break; // Greater Amulet of Wisdom case 11: sItem = "ar_itpnck_proba"; break; // Probability Stone case 12: sItem = "ar_itnck_hl_aura"; break; // Amulet of Healing Aura case 13: sItem = "ar_itnck_health"; break; // Necklace of Healthy Aura case 14: sItem = "ar_itmnck_stlth"; break; // Amulet of Stealth case 15: sItem = "ar_itblt_livsash"; break; // Living Sash case 16: sItem = "ar_itmblt_ranger"; break; // Ranger's Belt of Many Things case 17: sItem = "ar_itblt_critcar"; break; // Critical Care Medical Belt case 18: sItem = "ar_itbts_ground"; break; // Grounding Boots case 19: sItem = "ar_itmbts_elf"; break; // Elf Skin Boots case 20: sItem = "ar_itmbts_shadow"; break; // Shadow Boots case 21: sItem = "ar_itmbts_jingle"; break; // Jingle Boots case 22: sItem = "ar_itmbts_dwarf"; break; // Dwarf Hide Boots case 23: sItem = "ar_itpbts_imbued"; break; // Imbued Boots case 24: sItem = "ar_itpbts_jazsts"; break; // Jazst's Boots case 25: sItem = "ar_itmbts_kyles"; break; // Kyle's Boots case 26: sItem = "ar_itmbcr_dfence"; break; // Bracers of Defense case 27: sItem = "ar_itmbcr_escape"; break; // Bracers of Escape case 28: sItem = "ar_itmclk_wastes"; break; // Cloak of the Wastes case 29: sItem = "at_itclk_slick"; break; // Slick Cloak case 30: sItem = "at_itpclk_repel2"; break; // Greater Cloak of Repulsion case 31: sItem = "ar_itmglv_grids"; break; // Grid's Hands case 32: sItem = "ar_itglv_iron01"; break; // Iron Studded Gauntlet case 33: sItem = "ar_itglv_ivory2"; break; // Drake Ivory Fighting Gauntlets case 34: sItem = "ar_itemglv_drake"; break; // Drake Forged Gauntlets case 35: sItem = "ar_itmglv_gladtr"; break; // Gladiator's Gauntlet case 36: sItem = "ar_itmglv_kelas"; break; // Kela's Gloves case 37: sItem = "ar_itmrng_cha02"; break; // Greater Ring of Charisma case 38: sItem = "ar_itmrng_con02"; break; // Greater Ring of Consitution case 39: sItem = "ar_itmrng_dex02"; break; // Greater Ring of Dexterity case 40: sItem = "ar_itmrng_endir"; break; // Ring of Endir case 41: sItem = "ar_itmrng_int02"; break; // Greater Ring of Intelligence case 42: sItem = "ar_itmrng_str02"; break; // Greater Ring of Strength case 43: sItem = "ar_itmrng_wis02"; break; // Greater Ring of Wisdom case 44: sItem = "ar_itmrng_dgreed"; break; // Defiler's Greed case 45: sItem = "ar_itprng_adre01"; break; // Ring of Adrenalin case 46: sItem = "ar_itprng_pyro"; break; // Pyrokinetic Ring case 47: sItem = "ar_itmnck_cha03"; break; // Master's Amulet of Charisma case 48: sItem = "ar_itmnck_con03"; break; // Master's Amulet of Constitution case 49: sItem = "ar_itmnck_dex03"; break; // Master's Amulet of Dexterity case 50: sItem = "ar_itmnck_int03"; break; // Master's Amulet of Intelligence case 51: sItem = "ar_itmnck_str03"; break; // Master's Amulet of Strength case 52: sItem = "ar_itmnck_wis03"; break; // Master's Amulet of Wisdom case 53: sItem = "ar_itmnck_galian"; break; // Galian's Chain case 54: sItem = "ar_itmnck_earthd"; break; // Earth Drake Heart case 55: sItem = "ar_itmnck_airdh"; break; // Air Drake Heart case 56: sItem = "ar_itmnck_fired"; break; // Fire Drake Heart case 57: sItem = "ar_itmnck_waterd"; break; // Water Drake Heart case 58: sItem = "ar_itmnck_drkvis"; break; // Amulet of Dark Visions case 59: sItem = "ar_itmblt_champ"; break; // Champion's Buckle case 60: sItem = "ar_itmbts_speed"; break; // Sandals of Speed case 61: sItem = "ar_itmbts_ifrit"; break; // Ifrit Boots case 62: sItem = "ar_itmbts_drake"; break; // Drake Forged Boots case 63: sItem = "ar_itpbcr_battle"; break; // Battle Bracers case 64: sItem = "ar_itmclk_travis"; break; // Travis's Cloak case 65: sItem = "ar_itglv_iron02"; break; // Iron Fighting Gauntlets case 66: sItem = "ar_itmglv_wizard"; break; // Preserver's Gloves case 67: sItem = "ar_itmglv_faith"; break; // Gauntlets of Faith case 68: sItem = "ar_itmglv_zephry"; break; // Zephryn's Gloves case 69: sItem = "ar_itmglv_defile"; break; // Defiler's Gauntlets case 70: sItem = "ar_itmglv_bard"; break; // Bard Gloves case 71: sItem = "ar_itpglv_virann"; break; // Viranna's Grasp case 72: sItem = "ar_itpglv_master"; break; // Villichi Master Gauntlets case 73: sItem = "ar_itmrng_cha03"; break; // Master's Ring of Charisma case 74: sItem = "ar_itmrng_con03"; break; // Master's Ring of Constitution case 75: sItem = "ar_itmrng_dex03"; break; // Master's Ring of Dexterity case 76: sItem = "ar_itmrng_int03"; break; // Master's Ring of Intelligence case 77: sItem = "ar_itmrng_str03"; break; // Master's Ring of Strength case 78: sItem = "ar_itmrng_wis03"; break; // Master's Ring of Wisdom case 79: sItem = "ar_itprng_rage"; break; // Ring of Rage case 80: sItem = "ar_itmrng_sr01"; break; // Ring of Spell Resistance case 81: sItem = "ar_itmrng_age01"; break; // Ring of Age case 82: sItem = "ar_itmrng_nature"; break; // Nature's Gift case 83: sItem = "ar_itprng_sense"; break; // Sensory Ring case 84: sItem = "ar_itmrng_hate"; break; // Ring of Hate case 85: sItem = "ar_itmrng_sunrun"; break; // Sunrunner Ring case 86: sItem = "ar_itmrng_sage"; break; // Sage's Ring case 87: sItem = "ar_itprng_adre02"; break; // Greater Ring of Adrenalin } } //:: End 16 HD - 20 HD Clothing & Jewelry Table if (nTableD == 5) //:: Start 16 HD - 20 HD & Trade Goods Table { int nGems = Random(23)+1; switch (nGems) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "crpi_f_amber"; break; // Amber case 3: sItem = "crpi_f_amethyst"; break; // Amethyst case 4: sItem = "crpi_p_aquamarin"; break; // Aquamarine case 5: sItem = "crpi_f_chrysober"; break; // Chrysoberyl case 6: sItem = "crpi_f_coral"; break; // Coral case 7: sItem = "crpi_p_garnet"; break; // Garnet case 8: sItem = "crpi_f_jade"; break; // Jade case 9: sItem = "crpi_f_jet"; break; // Jet case 10: sItem = "crpi_p_peridot"; break; // Peridot case 11: sItem = "crpi_p_spinel"; break; // Spinel case 12: sItem = "crpi_p_topaz"; break; // Topaz case 13: sItem = "crpi_f_tourmalin"; break; // Tourmaline case 14: sItem = "crpi_o_agate"; break; // Agate case 15: sItem = "crpi_g_blackopal"; break; // Black Opal case 16: sItem = "crpi_g_blacksaph"; break; // Black Sapphire case 17: sItem = "crpi_g_diamond"; break; // Diamond case 18: sItem = "crpi_g_emerald"; break; // Emerald case 19: sItem = "crpi_g_fireopal"; break; // Fire Opal case 20: sItem = "crpi_g_opal"; break; // Opal case 21: sItem = "crpi_g_ruby"; break; // Ruby case 22: sItem = "crpi_g_sapphire"; break; // Sapphire case 23: sItem = "crpi_g_starsapph"; break; // Star Sapphire } } //:: End 16 HD - 20 HD Gems & Trade Goods Table if (nTableD == 6) //:: Start 16 HD - 20 HD Potions & Alchemy Items Table { int nPotion = Random(14)+1; switch (nPotion) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "pot_lime"; break; // Magical Lime case 3: sItem = "pot_zzgresh"; break; // Magical Zz'gresh Berry case 4: sItem = "pot_holynectar"; break; // Holy Nectar case 5: sItem = "pot_plum"; break; // Magical Plum case 6: sItem = "pot_fenberry"; break; // Magical Fenberry case 7: sItem = "pot_dranja"; break; // Magical Dranja Berry case 8: sItem = "pot_grapes"; break; // Magical Grapes case 9: sItem = "pot_raspberry"; break; // Magical Raspberry case 10: sItem = "pot_cherry"; break; // Magical Cherry case 11: sItem = "pot_lemon"; break; // Magical Lemon case 12: sItem = "prc_it_shedden3"; break; // Shedden +3 case 13: sItem = "pot_magdef"; break; // Potion of Magic Defense case 14: sItem = "prc_it_shedden4"; break; // Shedden +4 } } //:: End 16 HD - 20 HD Potions & Alchemy Items Table if (nTableD == 7) //:: Start 16 HD - 20 HD Scrolls Table { int nScroll = Random(44)+1; switch (nScroll) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_spdvscr509"; break; // Evil Blight case 3: sItem = "x2_it_sparscr602"; break; // Legend Lore case 4: sItem = "x2_it_sparscr501"; break; // Ball Lightning case 5: sItem = "nw_it_sparscr602"; break; // Greater Dispelling case 6: sItem = "nw_it_sparscr502"; break; // Cloudkill case 7: sItem = "nw_it_sparscr504"; break; // Feeblemind case 8: sItem = "x1_it_sparscr501"; break; // Firebrand case 9: sItem = "nw_it_sparscr508"; break; // Greater Shadow Conjuration case 10: sItem = "nw_it_sparscr511"; break; // Lesser Mind Blank case 11: sItem = "nw_it_sparscr512"; break; // Lesser Planar Binding case 12: sItem = "nw_it_sparscr513"; break; // Lesser Spell Mantle case 13: sItem = "x1_it_spdvscr502"; break; // Owl's Insight case 14: sItem = "x2_it_spdvscr507"; break; // Spell Resistance case 15: sItem = "nw_it_sparscr606"; break; // True Seeing case 16: sItem = "nw_it_sparscr603"; break; // Acid Fog case 17: sItem = "x1_it_sparscr602"; break; // Bigby's Forceful Hand case 18: sItem = "x2_it_spdvscr603"; break; // Blade Barrier case 19: sItem = "nw_it_sparscr607"; break; // Chain Lightning case 20: sItem = "nw_it_sparscr610"; break; // Circle of Death case 21: sItem = "x1_it_spdvscr605"; break; // Create Undead case 22: sItem = "x2_it_sparscr503"; break; // Energy Buffer case 23: sItem = "nw_it_sparscr601"; break; // Globe of Invulnerability case 24: sItem = "nw_it_sparscr613"; break; // Greater Stoneskin case 25: sItem = "x2_it_spdvscr605"; break; // Heal case 26: sItem = "x1_it_sparscr603"; break; // Isaac's Greater Missile Storm case 27: sItem = "nw_it_sparscr611"; break; // Mass Haste case 28: sItem = "x1_it_spdvscr603"; break; // Planar Ally case 29: sItem = "nw_it_sparscr604"; break; // Planar Binding case 30: sItem = "x1_it_sparscr604"; break; // Stone to Flesh case 31: sItem = "x2_it_sparscr601"; break; // Undeath to Death case 32: sItem = "nw_it_sparscr707"; break; // Control Undead case 33: sItem = "x2_it_spdvscr702"; break; // Regenerate case 34: sItem = "x2_it_spdvscr701"; break; // Word of Faith case 35: sItem = "x1_it_sparscr502"; break; // Bigby's Interposing Hand case 36: sItem = "nw_it_spdvscr501"; break; // Raise Dead case 37: sItem = "nw_it_sparscr510"; break; // Summon Creature V case 38: sItem = "x2_it_sparscr502"; break; // Mestil's Acid Sheath case 39: sItem = "x1_it_sparscr605"; break; // Flesh to Stone case 40: sItem = "nw_it_sparscr612"; break; // Greater Spell Breach case 41: sItem = "nw_it_sparscr605"; break; // Summon Creature VI case 42: sItem = "nw_it_sparscr608"; break; // Ethereal Visage case 43: sItem = "nw_it_sparscr506"; break; // Mind Fog case 44: sItem = "x1_it_spdvscr601"; break; // Banishment } } //:: End 16 HD - 20 HD Scrolls Table if (nTableD == 8) //:: Start 16 HD - 20 HD Mundane Miscellaneous Table { int nMundane = Random(19)+1; switch (nMundane) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_acidbomb"; break; // Acid Bomb case 3: sItem = "x2_it_firebomb"; break; // Fire Bomb case 4: sItem = "kit_heal_3_001"; break; // Advanced Healing Kit case 5: sItem = "ar_itbk_eleweap2"; break; // Book of Advanced Elemental Weapons Alchemy case 6: sItem = "magicbag_002"; break; // Lesser Bag of Reduction case 7: sItem = "kit_heal_4_001"; break; // Expert Healing Kit case 8: sItem = "crft_mandrake"; break; // Mandrake case 9: sItem = "nw_it_picks003"; break; // Thieves' Tools +6 case 10: sItem = "nw_it_trap003"; break; // Strong Spike Trap Kit case 11: sItem = "nw_it_trap043"; break; // Strong Negative Trap Kit case 12: sItem = "nw_it_trap011"; break; // Strong Tangle Trap Kit case 13: sItem = "nw_it_trap023"; break; // Strong Electrical Trap Kit case 14: sItem = "nw_it_trap027"; break; // Strong Gas Trap Kit case 15: sItem = "prc_it_shedden3"; break; // Shedden +3 case 16: sItem = "ar_itbk_alchem05"; break; // Azzer Lirin's Alchemy Advanced Vol. V case 17: sItem = "ar_it_contain001"; break; // Least Bag of Reduction case 18: sItem = "nw_it_picks004"; break; // Thieves' Tools +10 case 19: sItem = "prc_it_shedden4"; break; // Shedden +4 } } //:: End 16 HD - 20 HD Mundane Miscellaneous Table if (nTableD == 9) //:: Start 16 HD - 20 HD Magical Miscellaneous Table { int nMagic = Random(26)+1; switch (nMagic) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_itmbk_mistres"; break; // Book of the Mistress case 3: sItem = "ar_itmbk_healing"; break; // Book of Healing case 4: sItem = "ar_itm_orbfire"; break; // Orb of Fire case 5: sItem = "ar_itm_orbice"; break; // Orb of Ice case 6: sItem = "ar_itm_orbshock"; break; // Orb of Lightning case 8: sItem = "ar_itm_hornaknar"; break; // Horn of Ak'nar case 9: sItem = "ar_itm_hearthstn"; break; // Hearthstone Charm case 10: sItem = "ar_itm_clilyre"; break; // Cli Lyre case 11: sItem = "ar_wmgrd_elem02"; break; // Rod of Elements case 12: sItem = "nw_wmgst004"; break; // Staff of Defense case 13: sItem = "nw_wmgst005"; break; // Staff of Power case 14: sItem = "ar_wmgst_radian"; break; // Staff of Radiance case 15: sItem = "ar_wmgst_decepti"; break; // Staff of Deception case 16: sItem = "ar_wpsst_avi"; break; // Staff of the Aviarag case 17: sItem = "ar_wpsst_belgoi"; break; // Staff of the Belgoi case 18: sItem = "ar_wpsst_feylaar"; break; // Staff of the Feylaar case 19: sItem = "ar_itmbk_strengt"; break; // Book of Strength case 20: sItem = "ar_it_zephyr"; break; // Lute of Zephyr case 21: sItem = "ar_wmgrd_elem03"; break; // Greater Rod of Elements case 22: sItem = "ar_wmgst_gflame"; break; // Groveflame case 23: sItem = "ar_wmgst_boon"; break; // Minstrel's Boon case 24: sItem = "ar_wmgst_frdrake"; break; // Staff of the Fire Drake case 25: sItem = "ar_wmgst_prize"; break; // Prize of the Dead Lands case 26: sItem = "ar_itm_ashelgora"; break; // Heart of Ash'el'gorath } } //:: End 16 HD - 20 HD Magical Miscellaneous Table } //:: End [Table D] 16 HD - 20 HD Loot Tables if (nMobHD > 19 && nMobHD < 26) //:: Start [Table E] 21 HD - 25 HD Loot Tables { int nTableE = Random(10) + 1; if (nTableE == 1) //:: Start 21 HD - 25 HD Ammo & Thrown Weapons { int nAmmo = Random(18) + 1; int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wamar_hrtskr"; break; // Heartseeker Arrow case 2: sItem = "nw_wammar008"; break; // Poison Arrow case 3: sItem = "ar_wammbo_scream"; break; // Screaming Bolts case 4: sItem = "ar_wampbo_acid02"; break; // Imbued Caustic Bolt case 5: sItem = "ar_wampbu_elec01"; break; // Charged Bullets case 6: sItem = "ar_wambu_zombie"; break; // Zombie Bullets case 7: sItem = "ar_wthdt_iron01"; break; // Iron Throwing Daggers case 8: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 9: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 10: sItem = "ar_wthax_iron01"; break; // Iron Throwing Axes case 11: sItem = "ar_wthch_iron01"; break; // Iron Chakram case 12: sItem = "ar_wamar_hamstr"; break; // Hamstring Arrow case 13: sItem = "ar_wammar_mystic"; break; // Mystic Arrow case 14: sItem = "ar_wammbo_mystic"; break; // Mystic Bolt case 15: sItem = "ar_wambu_fire02"; break; // Phosphorus Bullets case 16: sItem = "ar_wammbu_kapow"; break; // Ka-Pow! case 17: sItem = "ar_wammbu_giant"; break; // Giant Slayer Stones case 18: sItem = "ar_wthmax_nikhi"; break; // Nikhi's Rainbow } } //:: End 21 HD - 25 HD Ammo & Thrown Weapons Table if (nTableE == 2) //:: Start 21 HD - 25 HD Helmets, Armor & Shields { int nArmor = Random(83)+1; switch (nArmor) { case 1: sItem = "ar_amclrb_braxat"; break; // Braxat Hide Robe case 2: sItem = "ar_amclrb_healer"; break; // Healer's Robe case 3: sItem = "ar_ammdbp_spinew"; break; // Spinewyrm Breastplate case 4: sItem = "ar_amltlt_braxat"; break; // Braxat Leather Armor case 5: sItem = "ar_amltlt_reaper"; break; // Hide of the Dune Reaper case 6: sItem = "ar_amltpd_bsthed"; break; // Beasthead Tunic case 7: sItem = "ar_amclcl_giant"; break; // Giant Hair Clothing case 8: sItem = "ar_amhvhp_rampag"; break; // Rampager Half Plate case 9: sItem = "ar_amclhr_hugos"; break; // Hugo's Hand case 10: sItem = "ar_altlt_agafari"; break; // Agafari Reinforced Leather case 11: sItem = "ar_adbp_agafari"; break; // Agafari Breastplate case 12: sItem = "ar_apmdbp_isteel"; break; // Imbued Steel Breastplate case 13: sItem = "ar_amhvhp_antiqu"; break; // Antique Plate Mail case 14: sItem = "ar_ahvhp_agafari"; break; // Agafari Half Plate case 15: sItem = "ar_amclrb_defbat"; break; // Defiler's Battle Robe case 16: sItem = "ar_amclrb_wizbat"; break; // Preserver's Battle Robe case 17: sItem = "ar_amclcl_decay"; break; // Shroud of Decay case 18: sItem = "ar_amcltn_ranger"; break; // Ranger's Tunic case 19: sItem = "ar_apclcl_swift"; break; // Swift Wind case 20: sItem = "ar_ammdsc_ztal"; break; // Z'tal Razorscale case 21: sItem = "ar_amclcl_vine"; break; // Vine Clothing case 22: sItem = "ar_apcltn_thugs"; break; // Thug's Tunic case 23: sItem = "ar_amltpd_archer"; break; // Archer's Tunic case 24: sItem = "ar_amclcl_jizzar"; break; // Jizzarat's Gear case 25: sItem = "ar_amclgb_dedman"; break; // Deadman's Hide case 26: sItem = "ar_ammdsc_louels"; break; // Louel's Defense case 27: sItem = "ar_amclhr_gladi8"; break; // Gladiator's Harness case 28: sItem = "ar_amltlt_spider"; break; // Spider Armor case 29: sItem = "ar_helm_antique"; break; // Antique Helm case 30: sItem = "ar_helm_iron01"; break; // Iron Helmet case 31: sItem = "ar_helm_eyes"; break; // Helm of Eyes case 32: sItem = "ar_helm_mind"; break; // Helm of the Mind case 33: sItem = "ar_helm_drakef"; break; // Drake Forged Helmet case 34: sItem = "ar_helm_maglens"; break; // Magnification Lens case 35: sItem = "ar_helm_golas"; break; // Gola's Guard case 36: sItem = "ar_helm_imbued"; break; // Imbued Helmet case 37: sItem = "ar_ashlw_agafari"; break; // Agafari Shield case 38: sItem = "ar_ashmlw_antiqu"; break; // Antique Shield case 39: sItem = "ar_ashmlw_spell"; break; // Spellbane Shield case 40: sItem = "ar_ashmsw_heartf"; break; // Heartfinder Shield case 41: sItem = "ar_ashsw_agafari"; break; // Agafari Buckler case 42: sItem = "ar_ashmsw_obhope"; break; // The Obsidian Hope case 43: sItem = "ar_ashmto_ashen"; break; // Ashen Shield case 44: sItem = "ar_ashto_agafari"; break; // Agafari Tower Shield case 45: sItem = "ar_amclrb_advent"; break; // High Adventurer's Robe case 46: sItem = "ar_amclcl_dunern"; break; // Dunerunner Chain case 47: sItem = "ar_ammdcm_hereda"; break; // Heredat's Chain of Fire case 48: sItem = "ar_ahvfp_bsthide"; break; // Beasthide Plate case 49: sItem = "ar_amclrb_underw"; break; // Robes of the Underworld case 50: sItem = "ar_amhvfp_drake"; break; // Drake Forged Plate case 51: sItem = "ar_amclgb_blkslt"; break; // Black Silt case 52: sItem = "ar_amhvfp_divine"; break; // Divine Shell case 53: sItem = "ar_ammdbp_umber"; break; // Umber Hulk Shell case 54: sItem = "ar_apclrb_essenc"; break; // Essence Robe case 55: sItem = "ar_amltsl_mrange"; break; // Master Ranger's Armor case 56: sItem = "ar_amclcl_rouge"; break; // Rogue's Wrap case 57: sItem = "ar_amdbp_lfshape"; break; // Life Shaped Body Armor case 58: sItem = "ar_apclgb_villic"; break; // Villichi Garb case 59: sItem = "ar_amltlt_bless"; break; // The Blessing of Tyr case 60: sItem = "ar_amhvfp_underw"; break; // Forged Plate of the Underworld case 61: sItem = "ar_helm_divcasq"; break; // Divine Casque case 62: sItem = "ar_helm_husil"; break; // Black Helm of Husil case 63: sItem = "ar_helm_obsflame"; break; // Obsidian Helm of Flames case 64: sItem = "ar_ashmlw_grafna"; break; // Grafna's Pride case 65: sItem = "ar_ashpto_imbued"; break; // Imbued Shield case 66: sItem = "ar_ashmto_mirror"; break; // Mirror Shield case 67: sItem = "ar_ashmto_giant"; break; // The Giantguard case 68: sItem = "ar_amclcl_storyt"; break; // The Storyteller case 69: sItem = "ar_amltsl_rpride"; break; // Ranger's Pride case 70: sItem = "ar_ammdsc_siege"; break; // Siege Armor case 71: sItem = "ar_amltsl_bmastr"; break; // Beastmaster Armor case 72: sItem = "ar_amltlt_land"; break; // Armor of the Land case 73: sItem = "ar_ammdbp_battle"; break; // Battlerage Armor case 74: sItem = "ar_amclgb_master"; break; // Villichi Master Garb case 75: sItem = "ar_helm_defguise"; break; // Defiler's Guise case 76: sItem = "ar_helm_fortific"; break; // Helm of Fortification case 77: sItem = "ar_helm_nevas"; break; // Neva's Glare case 78: sItem = "ar_helm_blkcrwn"; break; // Black Spired Crown case 79: sItem = "ar_helm_maskpain"; break; // Mask of Pain case 80: sItem = "ar_ashlw_lifesha"; break; // Lifeshaped Shield case 81: sItem = "ar_ashplw_imbaga"; break; // Imbued Agafari Shield case 82: sItem = "ar_ashsw_lifesh"; break; // Life Shaped Small Shield case 83: sItem = "ar_ashmsw_imbaga"; break; // Imbued Agafari Buckler } } //:: End 21 HD - 25 HD Helmets, Armor & Shields if (nTableE == 3) //:: Start 21 HD - 25 HD Weapons Table { int nWeapon = Random(156)+1; switch (nWeapon) { case 1: sItem = "ar_wplmhb_bgbang"; break; // Big Bang case 2: sItem = "ar_wplmhb_lslash"; break; // Lifeslasher case 3: sItem = "ar_waxmhn_faro"; break; // Faro Cutter's Revenge case 4: sItem = "ar_waxmhn_toxic"; break; // Toxic Fury case 5: sItem = "ds_wblpmh_gntdrd"; break; // Giant's Dread case 6: sItem = "ds_wblpmh_dkmsh"; break; // Shadow of Darkmoor case 7: sItem = "ds_wblpmh_bnclw"; break; // Boneclaw Soulmace case 8: sItem = "ds_wblpmh_hydvl"; break; // Hydraveil case 9: sItem = "ar_wblmfh_insan"; break; // Insanity's Crescendo case 10: sItem = "ar_wblmfh_9lives"; break; // Nine Lives Stealer case 11: sItem = "ar_wblpfh_bradas"; break; // Brada's Fury case 12: sItem = "ds_wspmka_truds"; break; // Trud's Hook case 13: sItem = "ds_wspmka_sonic"; break; // Sonic Kama case 14: sItem = "ar_wspmku_rajaat"; break; // Messenger of Rajaat case 15: sItem = "ar_wbwmxl_widow"; break; // Widowmaker case 16: sItem = "ar_wbwmxl_vhala"; break; // Vhala's Caress case 17: sItem = "ar_wblmfl_wind"; break; // Flail of the Wind case 18: sItem = "ar_wblmml_stormy"; break; // Stormy Mace case 19: sItem = "ar_wblmml_teeth"; break; // Rod of Teeth case 20: sItem = "ar_wblmml_antiqu"; break; // Antique Mace case 21: sItem = "ar_wbwmln_tempes"; break; // Tempest case 22: sItem = "ar_wbwmln_pandor"; break; // Pandora's Bow case 23: sItem = "ar_wbwmln_wraith"; break; // Wraith Sting case 24: sItem = "ar_wbwmln_suresh"; break; // Sure Shot case 25: sItem = "ar_wswmls_dervis"; break; // The Dervish Blade case 26: sItem = "ar_wblmms_fallin"; break; // Falling Star case 27: sItem = "ar_wblmms_mglory"; break; // Morning Glory case 28: sItem = "ar_wblmms_sun"; break; // Sunstar case 29: sItem = "ar_wblmms_midnig"; break; // Midnight Star case 30: sItem = "ar_wdbmqs_brambl"; break; // Bramblewood Quarterstaff case 31: sItem = "ar_wdbqs_emboss"; break; // Embossed Staff case 32: sItem = "ar_wdbmqs_briarw"; break; // Brairstaff case 33: sItem = "ar_wdbmqs_shadow"; break; // Shadow Staff case 34: sItem = "ar_wdbmqs_humble"; break; // Staff of the Humble case 35: sItem = "ar_wswprp_jankx"; break; // Jankx Blade case 36: sItem = "ar_wswmrp_asticl"; break; // Steel Rapier of Asticles case 37: sItem = "ar_wswmrp_dmflat"; break; // Dimflat's Bane case 38: sItem = "ar_wswmrp_dlands"; break; // Rapier of the Deadlands case 39: sItem = "ar_wswmsc_scream"; break; // Screaming Scimitar case 40: sItem = "ar_wswpsc_acidba"; break; // Acidbath case 41: sItem = "ar_wswmsc_scour"; break; // Scour case 42: sItem = "ar_wplmsc_moon"; break; // Scythe of the Moon case 43: sItem = "ar_wplmsc_essenc"; break; // Essence Reaper case 44: sItem = "ar_wplmsc_wullum"; break; // Wullum's Talon case 45: sItem = "ar_wbwmsh_posess"; break; // Possessed Shortbow case 46: sItem = "ar_wbwmsh_storm"; break; // Storm Bow case 47: sItem = "ar_wbwmsh_hearts"; break; // Heartseeker Bow case 48: sItem = "ar_wbwmsh_winter"; break; // Winter Wind case 49: sItem = "ar_wplpss_hunt"; break; // Gythka of the Hunt case 50: sItem = "ar_wplmss_rankin"; break; // Rankin's Reach case 51: sItem = "ar_wplmss_light"; break; // Gythka of Light case 52: sItem = "ar_wswmss_sndshk"; break; // Sandshock Blade case 53: sItem = "ar_wswmss_sun"; break; // Blade of the Sun case 54: sItem = "ar_wsppsc_lhlor"; break; // Left Hand of Lor case 55: sItem = "ar_wspmsc_rhlor"; break; // Right Hand of Lor case 56: sItem = "ar_wspmsc_gutrip"; break; // Gutripper case 57: sItem = "ar_wbwpsl_woshot"; break; // Woshot's Shooter case 58: sItem = "ar_wthmax_nikhi"; break; // Nikhi's Rainbow case 59: sItem = "ar_wdbmsw_shock"; break; // Shocker case 60: sItem = "ar_wblmhw_elec01"; break; // Lesser Warhammer of Lightning case 61: sItem = "ar_wblmhw_bonesm"; break; // Bonesmasher case 62: sItem = "ar_wblmhl_numbsk"; break; // Numbskull case 63: sItem = "ar_wspmwp_zans"; break; // Zan's Cord case 64: sItem = "ar_waxpwk_imbued"; break; // Imbued Widow's Knife case 65: sItem = "ar_wswmbs_dis01"; break; // Diseased Bastard Sword case 66: sItem = "ar_wswmbs_sandst"; break; // Sandstorm's Rage case 67: sItem = "ar_wswmbs_cister"; break; // The Cistern Blade case 68: sItem = "ar_wswmbs_shadow"; break; // Shadowblade case 69: sItem = "ar_wswmbs_trubld"; break; // The True Blade case 70: sItem = "ar_waxmbt_crygar"; break; // Crygar's Heartcleaver case 71: sItem = "ar_waxmbt_hells"; break; // Hell's Wrath case 72: sItem = "ar_waxmbt_forgot"; break; // Forgotten Axe case 73: sItem = "ar_wblmcl_giant"; break; // Cudgel of Giant Strength case 74: sItem = "ar_wswmdg_jannas"; break; // Janna's Spike case 75: sItem = "ar_wswpdg_steak"; break; // Steak Knife case 76: sItem = "ar_wdbmma_defend"; break; // Defender case 77: sItem = "ar_wdbmma_orms"; break; // Orm's Justice case 78: sItem = "ar_wdbmax_cerule"; break; // The Cerulean Arm case 79: sItem = "ar_wdbmax_fassho"; break; // Fasshon's Hand case 80: sItem = "ar_waxmwr_kaels"; break; // Kael's Arm case 81: sItem = "ar_waxpgr_fire03"; break; // Imbued Fire Greataxe case 82: sItem = "ar_waxmgr_atheat"; break; // Athasian Heat case 83: sItem = "ar_wswpgs_fire03"; break; // Imbued Great Sword case 84: sItem = "ar_wswmgs_siltfg"; break; // Siltforged Greatsword case 85: sItem = "ar_wswmgs_vile"; break; // Vile Blade case 86: sItem = "ar_wswmbs_heart"; break; // Heart of Darkness case 87: sItem = "ar_waxmbt_hades"; break; // Hades Edge case 88: sItem = "ar_waxmbt_defile"; break; // Defiled Battleaxe case 89: sItem = "ar_waxmbt_baals"; break; // Ba'al's Hand case 90: sItem = "ar_wswmdg_nightm"; break; // Nightmare Fang case 91: sItem = "ar_wswpbf_koshi"; break; // Koshi's Friend case 92: sItem = "ar_wswmdg_ginos"; break; // Gino's Backstabber case 93: sItem = "ar_wdbmma_chaos"; break; // Dire Mace of Chaos case 94: sItem = "ar_wdbmax_garrao"; break; // Garraouk's Edge case 95: sItem = "ar_wdbmax_dfence"; break; // Lotilus of Defense case 96: sItem = "ar_wdbmax_nightf"; break; // Nightfall case 97: sItem = "ar_waxmwr_kled"; break; // Wrath of Kled case 98: sItem = "ar_waxmwr_frozen"; break; // Frozen Waraxe case 99: sItem = "ar_waxmwr_sunslh"; break; // Sunslasher case 100: sItem = "ar_waxmwr_helmg"; break; // Waraxe of Helmgrond case 101: sItem = "ar_waxmgr_banshe"; break; // Banshee's Sorrow case 102: sItem = "ar_waxmgr_toothf"; break; // Tooth of the Fire Drake case 103: sItem = "ar_waxmgr_winpre"; break; // Winter's Prelude case 104: sItem = "ar_waxmgr_toothw"; break; // Tooth of the Water Drake case 105: sItem = "ar_waxmgr_ekairs"; break; // Ekair's Father case 106: sItem = "ar_waxmgr_tootha"; break; // Tooth of the Air Drake case 107: sItem = "ar_waxmgr_toothe"; break; // Tooth of the Earth Drake case 108: sItem = "ar_wswmgs_severa"; break; // Severance case 109: sItem = "ar_wplmhb_sever"; break; // Severer case 110: sItem = "ds_wblpmh_cautrz"; break; // Cauterizer case 111: sItem = "ar_wblmfh_sngift"; break; // The Sun's Gift case 112: sItem = "ds_wspmka_nightf"; break; // Nightfall case 113: sItem = "ds_wspmka_virana"; break; // Virrana's Blade case 114: sItem = "ds_wspmka_daybrk"; break; // Daybreaker case 115: sItem = "ar_wspmku_silent"; break; // Silent Scream case 116: sItem = "ar_wspmku_unreqi"; break; // Unrequited case 117: sItem = "ar_wblphl_hirduk"; break; // Hirduk's Hammer case 118: sItem = "ar_wblmml_dytest"; break; // Dytest's Fist case 119: sItem = "ar_wblmml_ianos"; break; // Mace of Ianos case 120: sItem = "ar_wswpls_astral"; break; // Astral Blade case 121: sItem = "ar_wswpls_dimens"; break; // Dimensional Blade case 122: sItem = "r_wswmls_star"; break; // Star's Gift case 123: sItem = "ar_wswmls_dksoul"; break; // The Dark Soul case 124: sItem = "ar_wswmls_bcbone"; break; // Blessed Crimson Bone case 125: sItem = "ar_wblmms_bodach"; break; // Star of Bodach case 126: sItem = "ar_wblmms_mornin"; break; // Star of Mourning case 127: sItem = "ar_wblmms_deadma"; break; // Dead Man Walking case 128: sItem = "ar_wdbmqs_virran"; break; // Virrana's Long Arm case 129: sItem = "ar_wdbmqs_woodmn"; break; // Woodsman's Staff case 130: sItem = "ar_wdbmqs_souls"; break; // Staff of Souls case 131: sItem = "ar_wswmrp_elves"; break; // The Blade of the Elves case 132: sItem = "ar_wswmsc_shadow"; break; // Shadow's Edge case 133: sItem = "ar_wswmsc_frost"; break; // Frostbite case 134: sItem = "ar_wswpsc_shaks"; break; // Sha'k's Leech case 135: sItem = "ar_wswpsc_chaka"; break; // Chaka'zerka case 136: sItem = "ar_wplmsc_bastio"; break; // Bastion's Blade case 137: sItem = "ar_wplmsc_raaig"; break; // Scythe of the Raaig case 138: sItem = "ar_wbwpsh_phrins"; break; // Phrin's Bow case 139: sItem = "ar_wbwmsh_guard"; break; // Bow of the Guarded Lands case 140: sItem = "ar_wbwmsh_lifest"; break; // Lifestalker case 141: sItem = "ar_wplss_lngfang"; break; // Longfang case 142: sItem = "ar_wplmss_ghulk"; break; // Ghulk's Harverster case 143: sItem = "ar_wplpss_drake"; break; // Drake Bane Gythka case 144: sItem = "ar_wswmss_barbed"; break; // Barbed Bone Blade case 145: sItem = "ar_wswmss_cerule"; break; // Cerulean Slasher case 146: sItem = "ar_wspmsc_cinder"; break; // Cinder case 147: sItem = "ar_wspmsc_harves"; break; // Harvester case 148: sItem = "ar_wbwpsl_whoop"; break; // War Whoop case 149: sItem = "ar_wdbmsw_helves"; break; // The Heart of Elves case 150: sItem = "ar_wdbmsw_dichot"; break; // Dichotomy case 151: sItem = "ar_wdbmsw_viper"; break; // Viperstrike case 152: sItem = "ar_wblmhw_bane"; break; // Bane of Elements case 153: sItem = "ar_wbmhw_corros"; break; // Corrosion case 154: sItem = "ar_wspmwp_sachem"; break; // Hair of the Sachem case 155: sItem = "ar_wspmwp_bklash"; break; // Backlash case 156: sItem = "ar_wspmwp_black"; break; // The Black Tongue } } //:: End 21 HD - 25 HD Weapons Table if (nTableE == 4) //:: Start 21 HD - 25 HD Clothing & Jewelry Table { int nGear = Random(117)+1; switch (nGear) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_itmnck_alhope"; break; // Alassra's Hope case 3: sItem = "ar_itmnck_sand02"; break; // Greater Sandstone Amulet case 4: sItem = "ar_itpnck_clrsee"; break; // Amulet of Clear Seeing case 5: sItem = "ar_itmnck_cha02"; break; // Greater Amulet of Charisma case 6: sItem = "ar_itmnck_con02"; break; // Greater Amulet of Consitution case 7: sItem = "ar_itmnck_dex02"; break; // Greater Amulet of Dexterity case 8: sItem = "ar_itmnck_int02"; break; // Greater Amulet of Intelligence case 9: sItem = "ar_itmnck_str02"; break; // Greater Amulet of Strength case 10: sItem = "ar_itmnck_wis02"; break; // Greater Amulet of Wisdom case 11: sItem = "ar_itpnck_proba"; break; // Probability Stone case 12: sItem = "ar_itnck_hl_aura"; break; // Amulet of Healing Aura case 13: sItem = "ar_itnck_health"; break; // Necklace of Healthy Aura case 14: sItem = "ar_itmnck_stlth"; break; // Amulet of Stealth case 15: sItem = "ar_itblt_livsash"; break; // Living Sash case 16: sItem = "ar_itmblt_ranger"; break; // Ranger's Belt of Many Things case 17: sItem = "ar_itblt_critcar"; break; // Critical Care Medical Belt case 18: sItem = "ar_itbts_ground"; break; // Grounding Boots case 19: sItem = "ar_itmbts_elf"; break; // Elf Skin Boots case 20: sItem = "ar_itmbts_shadow"; break; // Shadow Boots case 21: sItem = "ar_itmbts_jingle"; break; // Jingle Boots case 22: sItem = "ar_itmbts_dwarf"; break; // Dwarf Hide Boots case 23: sItem = "ar_itpbts_imbued"; break; // Imbued Boots case 24: sItem = "ar_itpbts_jazsts"; break; // Jazst's Boots case 25: sItem = "ar_itmbts_kyles"; break; // Kyle's Boots case 26: sItem = "ar_itmbcr_dfence"; break; // Bracers of Defense case 27: sItem = "ar_itmbcr_escape"; break; // Bracers of Escape case 28: sItem = "ar_itmclk_wastes"; break; // Cloak of the Wastes case 29: sItem = "at_itclk_slick"; break; // Slick Cloak case 30: sItem = "at_itpclk_repel2"; break; // Greater Cloak of Repulsion case 31: sItem = "ar_itmglv_grids"; break; // Grid's Hands case 32: sItem = "ar_itglv_iron01"; break; // Iron Studded Gauntlet case 33: sItem = "ar_itglv_ivory2"; break; // Drake Ivory Fighting Gauntlets case 34: sItem = "ar_itemglv_drake"; break; // Drake Forged Gauntlets case 35: sItem = "ar_itmglv_gladtr"; break; // Gladiator's Gauntlet case 36: sItem = "ar_itmglv_kelas"; break; // Kela's Gloves case 37: sItem = "ar_itmrng_cha02"; break; // Greater Ring of Charisma case 38: sItem = "ar_itmrng_con02"; break; // Greater Ring of Consitution case 39: sItem = "ar_itmrng_dex02"; break; // Greater Ring of Dexterity case 40: sItem = "ar_itmrng_endir"; break; // Ring of Endir case 41: sItem = "ar_itmrng_int02"; break; // Greater Ring of Intelligence case 42: sItem = "ar_itmrng_str02"; break; // Greater Ring of Strength case 43: sItem = "ar_itmrng_wis02"; break; // Greater Ring of Wisdom case 44: sItem = "ar_itmrng_dgreed"; break; // Defiler's Greed case 45: sItem = "ar_itprng_adre01"; break; // Ring of Adrenalin case 46: sItem = "ar_itprng_pyro"; break; // Pyrokinetic Ring case 47: sItem = "ar_itmnck_cha03"; break; // Master's Amulet of Charisma case 48: sItem = "ar_itmnck_con03"; break; // Master's Amulet of Constitution case 49: sItem = "ar_itmnck_dex03"; break; // Master's Amulet of Dexterity case 50: sItem = "ar_itmnck_int03"; break; // Master's Amulet of Intelligence case 51: sItem = "ar_itmnck_str03"; break; // Master's Amulet of Strength case 52: sItem = "ar_itmnck_wis03"; break; // Master's Amulet of Wisdom case 53: sItem = "ar_itmnck_galian"; break; // Galian's Chain case 54: sItem = "ar_itmnck_earthd"; break; // Earth Drake Heart case 55: sItem = "ar_itmnck_airdh"; break; // Air Drake Heart case 56: sItem = "ar_itmnck_fired"; break; // Fire Drake Heart case 57: sItem = "ar_itmnck_waterd"; break; // Water Drake Heart case 58: sItem = "ar_itmnck_drkvis"; break; // Amulet of Dark Visions case 59: sItem = "ar_itmblt_champ"; break; // Champion's Buckle case 60: sItem = "ar_itmbts_speed"; break; // Sandals of Speed case 61: sItem = "ar_itmbts_ifrit"; break; // Ifrit Boots case 62: sItem = "ar_itmbts_drake"; break; // Drake Forged Boots case 63: sItem = "ar_itpbcr_battle"; break; // Battle Bracers case 64: sItem = "ar_itmclk_travis"; break; // Travis's Cloak case 65: sItem = "ar_itglv_iron02"; break; // Iron Fighting Gauntlets case 66: sItem = "ar_itmglv_wizard"; break; // Preserver's Gloves case 67: sItem = "ar_itmglv_faith"; break; // Gauntlets of Faith case 68: sItem = "ar_itmglv_zephry"; break; // Zephryn's Gloves case 69: sItem = "ar_itmglv_defile"; break; // Defiler's Gauntlets case 70: sItem = "ar_itmglv_bard"; break; // Bard Gloves case 71: sItem = "ar_itpglv_virann"; break; // Viranna's Grasp case 72: sItem = "ar_itpglv_master"; break; // Villichi Master Gauntlets case 73: sItem = "ar_itmrng_cha03"; break; // Master's Ring of Charisma case 74: sItem = "ar_itmrng_con03"; break; // Master's Ring of Constitution case 75: sItem = "ar_itmrng_dex03"; break; // Master's Ring of Dexterity case 76: sItem = "ar_itmrng_int03"; break; // Master's Ring of Intelligence case 77: sItem = "ar_itmrng_str03"; break; // Master's Ring of Strength case 78: sItem = "ar_itmrng_wis03"; break; // Master's Ring of Wisdom case 79: sItem = "ar_itprng_rage"; break; // Ring of Rage case 80: sItem = "ar_itmrng_sr01"; break; // Ring of Spell Resistance case 81: sItem = "ar_itmrng_age01"; break; // Ring of Age case 82: sItem = "ar_itmrng_nature"; break; // Nature's Gift case 83: sItem = "ar_itprng_sense"; break; // Sensory Ring case 84: sItem = "ar_itmrng_hate"; break; // Ring of Hate case 85: sItem = "ar_itmrng_sunrun"; break; // Sunrunner Ring case 86: sItem = "ar_itmrng_sage"; break; // Sage's Ring case 87: sItem = "ar_itprng_adre02"; break; // Greater Ring of Adrenalin case 88: sItem = "ar_itmnck_cha04"; break; // Iconic Amulet of Charisma case 89: sItem = "ar_itmnck_con04"; break; // Iconic Amulet of Constitution case 90: sItem = "ar_itmnck_dex04"; break; // Iconic Amulet of Dexterity case 91: sItem = "ar_itmnck_int04"; break; // Iconic Amulet of Intelligence case 92: sItem = "ar_itmnck_str04"; break; // Iconic Amulet of Strength case 93: sItem = "ar_itmnck_wis04"; break; // Iconic Amulet of Wisdom case 94: sItem = "ar_itpnck_hocean"; break; // Heart of the Ocean case 95: sItem = "ar_itmblt_undyin"; break; // Belt of the Undying case 96: sItem = "ar_itblt_power"; break; // Girdle of Power case 97: sItem = "ar_itblt_resili"; break; // Girdle of Resilience case 98: sItem = "ar_itmbts_arena"; break; // Gladiator Boots case 99: sItem = "ar_itmbts_draqo"; break; // Boots of the Draqoman case 100: sItem = "ar_itmbcr_wardng"; break; // Bracers of Warding case 101: sItem = "at_itmclk_spectr"; break; // Spectral Cloak case 102: sItem = "at_itmclk_necro"; break; // Necromant's Cloak case 103: sItem = "ar_itmclk_torak"; break; // Torak's Wrap case 104: sItem = "at_itmclk_kaisha"; break; // Kaisharga's Cape case 105: sItem = "ar_itmglv_bledge"; break; // Blinding Edge Gauntlets case 106: sItem = "ar_itmglv_gtouch"; break; // Gentle Touch case 107: sItem = "ar_itpglv_obs03"; break; // Imbued Obsidian Wrist Razors case 108: sItem = "ar_itmglv_sister"; break; // Wrath of the Sisterhood case 109: sItem = "ar_itpglv_repell"; break; // Repellant Gloves case 110: sItem = "ar_itmrng_cha04"; break; // Iconic Ring of Charisma case 111: sItem = "ar_itmrng_con04"; break; // Iconic Ring of Consitution case 112: sItem = "ar_itmrng_dex04"; break; // Iconic Ring of Dexterity case 113: sItem = "ar_itmrng_int04"; break; // Iconic Ring of Intelligence case 114: sItem = "ar_itmrng_str04"; break; // Iconic Ring of Strength case 115: sItem = "ar_itmrng_wis04"; break; // Iconic Ring of Wisdom case 116: sItem = "ar_itmrng_life"; break; // Ring of Life case 117: sItem = "ar_itmrng_thrax"; break; // Lich's Greed Ring } } //:: End 21 HD - 25 HD Clothing & Jewelry Table if (nTableE == 5) //:: Start 21 HD - 25 HD & Trade Goods Table { int nGems = Random(23)+1; switch (nGems) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "crpi_f_amber"; break; // Amber case 3: sItem = "crpi_f_amethyst"; break; // Amethyst case 4: sItem = "crpi_p_aquamarin"; break; // Aquamarine case 5: sItem = "crpi_f_chrysober"; break; // Chrysoberyl case 6: sItem = "crpi_f_coral"; break; // Coral case 7: sItem = "crpi_p_garnet"; break; // Garnet case 8: sItem = "crpi_f_jade"; break; // Jade case 9: sItem = "crpi_f_jet"; break; // Jet case 10: sItem = "crpi_p_peridot"; break; // Peridot case 11: sItem = "crpi_p_spinel"; break; // Spinel case 12: sItem = "crpi_p_topaz"; break; // Topaz case 13: sItem = "crpi_f_tourmalin"; break; // Tourmaline case 14: sItem = "crpi_o_agate"; break; // Agate case 15: sItem = "crpi_g_blackopal"; break; // Black Opal case 16: sItem = "crpi_g_blacksaph"; break; // Black Sapphire case 17: sItem = "crpi_g_diamond"; break; // Diamond case 18: sItem = "crpi_g_emerald"; break; // Emerald case 19: sItem = "crpi_g_fireopal"; break; // Fire Opal case 20: sItem = "crpi_g_opal"; break; // Opal case 21: sItem = "crpi_g_ruby"; break; // Ruby case 22: sItem = "crpi_g_sapphire"; break; // Sapphire case 23: sItem = "crpi_g_starsapph"; break; // Star Sapphire } } //:: End 21 HD - 25 HD Gems & Trade Goods Table if (nTableE == 6) //:: Start 21 HD - 25 HD Potions & Alchemy Items Table { int nPotion = Random(15)+1; switch (nPotion) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "pot_lime"; break; // Magical Lime case 3: sItem = "pot_zzgresh"; break; // Magical Zz'gresh Berry case 4: sItem = "pot_holynectar"; break; // Holy Nectar case 5: sItem = "pot_plum"; break; // Magical Plum case 6: sItem = "pot_fenberry"; break; // Magical Fenberry case 7: sItem = "pot_dranja"; break; // Magical Dranja Berry case 8: sItem = "pot_grapes"; break; // Magical Grapes case 9: sItem = "pot_raspberry"; break; // Magical Raspberry case 10: sItem = "pot_cherry"; break; // Magical Cherry case 11: sItem = "pot_lemon"; break; // Magical Lemon case 12: sItem = "prc_it_shedden4"; break; // Shedden +4 case 13: sItem = "pot_magdef"; break; // Potion of Magic Defense case 14: sItem = "prc_it_shedden5"; break; // Shedden +5 case 15: sItem = "pot_deccan"; break; // Deccan Spiritberry } } //:: End 21 HD - 25 HD Potions & Alchemy Items Table if (nTableE == 7) //:: Start 21 HD - 25 HD Scrolls Table { int nScroll = Random(43)+1; switch (nScroll) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_spdvscr903"; break; // Storm of Vengeance case 3: sItem = "x1_it_sparscr701"; break; // Bigby's Grasping Hand case 4: sItem = "nw_it_sparscr704"; break; // Delayed Blast Fireball case 5: sItem = "nw_it_sparscr708"; break; // Finger of Death case 6: sItem = "x2_it_spdvscr606"; break; // Greater Sanctuary case 7: sItem = "nw_it_sparscr705"; break; // Mordenkainen's Sword case 8: sItem = "nw_it_sparscr702"; break; // Power Word, Stun case 9: sItem = "nw_it_sparscr706"; break; // Prismatic Spray case 10: sItem = "nw_it_sparscr802"; break; // Protection from Spells case 11: sItem = "x2_it_sparscr703"; break; // Shadow Shield case 12: sItem = "nw_it_sparscr701"; break; // Spell Mantle case 13: sItem = "nw_it_sparscr703"; break; // Summon Creature VII case 14: sItem = "x1_it_sparscr801"; break; // Bigby's Clenched Fist case 15: sItem = "nw_it_sparscr803"; break; // Greater Planar Binding case 16: sItem = "nw_it_sparscr809"; break; // Horrid Wilting case 17: sItem = "nw_it_sparscr804"; break; // Incendiary Cloud case 18: sItem = "nw_it_sparscr807"; break; // Mass Blindness / Deafness case 19: sItem = "nw_it_sparscr806"; break; // Mass Charm case 20: sItem = "nw_it_sparscr801"; break; // Mind Blank case 21: sItem = "nw_it_sparscr808"; break; // Premonition case 22: sItem = "nw_it_sparscr805"; break; // Summon Creature VIII case 23: sItem = "x1_it_spdvscr802"; break; // Sunburst case 24: sItem = "x1_it_sparscr901"; break; // Bigby's Crushing Hand case 25: sItem = "x2_it_sparscr901"; break; // Black Blade of Disaster case 26: sItem = "nw_it_sparscr905"; break; // Dominate Monster case 27: sItem = "nw_it_sparscr908"; break; // Energy Drain case 28: sItem = "nw_it_sparscr902"; break; // Gate case 29: sItem = "x2_it_spdvscr902"; break; // Implosion case 30: sItem = "nw_it_sparscr906"; break; // Meteor Swarm case 31: sItem = "nw_it_sparscr903"; break; // Power Word, Kill case 32: sItem = "x2_it_sparscr902"; break; // Tide of Battle case 33: sItem = "x1_it_spdvscr901"; break; // Undeath's Eternal Foe case 34: sItem = "nw_it_sparscr909"; break; // Wail of the Banshee case 35: sItem = "nw_it_sparscr907"; break; // Weird case 36: sItem = "x2_it_sparscr701"; break; // Great Thunderclap case 37: sItem = "nw_it_spdvscr702"; break; // Resurrection case 38: sItem = "nw_it_sparscr904"; break; // Summon Creature IX case 39: sItem = "x2_it_sparscr801"; break; // Blackstaff case 40: sItem = "nw_it_sparscr614"; break; // Tenser's Transformation case 41: sItem = "nw_it_sparscr910"; break; // Shapechange case 42: sItem = "nw_it_sparscr912"; break; // Greater Spell Mantle case 43: sItem = "nw_it_sparscr901"; break; // Mordenkainen's Disjunction } } //:: End 21 HD - 25 HD Scrolls Table if (nTableE == 8) //:: Start 21 HD - 25 HD Mundane Miscellaneous Table { int nMundane = Random(34)+1; switch (nMundane) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "x2_it_acidbomb"; break; // Acid Bomb case 3: sItem = "x2_it_firebomb"; break; // Fire Bomb case 4: sItem = "kit_heal_3_001"; break; // Advanced Healing Kit case 5: sItem = "magicbag_002"; break; // Lesser Bag of Reduction case 6: sItem = "kit_heal_4_001"; break; // Expert Healing Kit case 7: sItem = "crft_mandrake"; break; // Mandrake case 8: sItem = "nw_it_picks003"; break; // Thieves' Tools +6 case 9: sItem = "nw_it_trap003"; break; // Strong Spike Trap Kit case 10: sItem = "nw_it_trap043"; break; // Strong Negative Trap Kit case 11: sItem = "nw_it_trap011"; break; // Strong Tangle Trap Kit case 12: sItem = "nw_it_trap023"; break; // Strong Electrical Trap Kit case 13: sItem = "nw_it_trap027"; break; // Strong Gas Trap Kit case 14: sItem = "ar_itbk_alchem05"; break; // Azzer Lirin's Alchemy Advanced Vol. V case 15: sItem = "ar_it_contain001"; break; // Least Bag of Reduction case 17: sItem = "nw_it_picks004"; break; // Thieves' Tools +10 case 18: sItem = "prc_it_shedden4"; break; // Shedden +4 case 19: sItem = "x2_it_trap001"; break; // Epic Electrical Trap Kit case 20: sItem = "x2_it_trap002"; break; // Epic Fire Trap Kit case 21: sItem = "x2_it_trap003"; break; // Epic Frost Trap Kit case 22: sItem = "x2_it_trap004"; break; // Epic Sonic Trap Kit case 23: sItem = "nw_it_trap036"; break; // Deadly Acid Splash Trap Kit case 24: sItem = "nw_it_trap032"; break; // Deadly Frost Trap Kit case 25: sItem = "nw_it_trap040"; break; // Deadly Sonic Trap Kit case 26: sItem = "nw_it_trap008"; break; // Deadly Holy Trap Kit case 27: sItem = "nw_it_trap044"; break; // Deadly Negative Trap Kit case 28: sItem = "nw_it_trap012"; break; // Deadly Tangle Trap Kit case 29: sItem = "nw_it_trap016"; break; // Deadly Blob of Acid Trap Kit case 30: sItem = "nw_it_trap020"; break; // Deadly Fire Trap Kit case 31: sItem = "nw_it_trap004"; break; // Deadly Spike Trap Kit case 32: sItem = "nw_it_trap024"; break; // Deadly Electrical Trap Kit case 33: sItem = "nw_it_trap028"; break; // Deadly Gas Trap Kit case 34: sItem = "prc_it_shedden5"; break; // Shedden +5 } } //:: End 21 HD - 25 HD Mundane Miscellaneous Table if (nTableE == 9) //:: Start 21 HD - 25 HD Magical Miscellaneous Table { int nMagic = Random(22)+1; switch (nMagic) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "ar_wmgrd_elem02"; break; // Rod of Elements case 3: sItem = "nw_wmgst004"; break; // Staff of Defense case 4: sItem = "nw_wmgst005"; break; // Staff of Power case 5: sItem = "ar_wmgst_radian"; break; // Staff of Radiance case 6: sItem = "ar_wmgst_decepti"; break; // Staff of Deception case 7: sItem = "ar_wpsst_avi"; break; // Staff of the Aviarag case 8: sItem = "ar_wpsst_belgoi"; break; // Staff of the Belgoi case 9: sItem = "ar_wpsst_feylaar"; break; // Staff of the Feylaar case 10: sItem = "ar_itmbk_strengt"; break; // Book of Strength case 11: sItem = "ar_it_zephyr"; break; // Lute of Zephyr case 12: sItem = "ar_wmgrd_elem03"; break; // Greater Rod of Elements case 13: sItem = "ar_wmgst_gflame"; break; // Groveflame case 14: sItem = "ar_wmgst_boon"; break; // Minstrel's Boon case 15: sItem = "ar_wmgst_frdrake"; break; // Staff of the Fire Drake case 16: sItem = "ar_wmgst_prize"; break; // Prize of the Dead Lands case 17: sItem = "ar_itm_ashelgora"; break; // Heart of Ash'el'gorath case 18: sItem = "ar_it_discord"; break; // Pipes of Discord case 19: sItem = "ar_wpsst_gaj"; break; // Staff of the Gaj case 20: sItem = "ar_wmgst_hope"; break; // Preserver's Hope case 21: sItem = "ar_wmgst_black"; break; // Staff of the Black case 22: sItem = "ar_wmgst_grystem"; break; // Greystem } } //:: End 21 HD - 25 HD Magical Miscellaneous Table if (nTableE == 10) //:: Start 21 HD - 25 HD Epic Spells & Spell Seeds Table { int nESS = Random(90)+1; switch (nESS) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "epic_sd_afflict"; break; // Epic Spell Seed Afflict case 3: sItem = "epic_sd_animate"; break; // Epic Spell Seed Animate case 4: sItem = "epic_sd_animdead"; break; // Epic Spell Seed Animate Dead case 5: sItem = "epic_sd_armor"; break; // Epic Spell Seed Armor case 6: sItem = "epic_sd_banish"; break; // Epic Spell Seed Banish case 7: sItem = "epic_sd_compel"; break; // Epic Spell Seed Compel case 8: sItem = "epic_sd_conceal"; break; // Epic Spell Seed Conceal case 9: sItem = "epic_sd_conjure"; break; // Epic Spell Seed Conjure case 10: sItem = "epic_sd_contact"; break; // Epic Spell Seed Contact case 11: sItem = "epic_sd_delude"; break; // Epic Spell Seed Delude case 12: sItem = "epic_sd_destroy"; break; // Epic Spell Seed Destroy case 13: sItem = "epic_sd_dispel"; break; // Epic Spell Seed Dispel case 14: sItem = "epic_sd_energy"; break; // Epic Spell Seed Energy case 15: sItem = "epic_sd_foresee"; break; // Epic Spell Seed Foresee case 16: sItem = "epic_sd_fortify"; break; // Epic Spell Seed Forify case 17: sItem = "epic_sd_heal"; break; // Epic Spell Seed Heal case 18: sItem = "epic_sd_life"; break; // Epic Spell Seed Life case 19: sItem = "epic_sd_light"; break; // Epic Spell Seed Light case 20: sItem = "epic_sd_oppos"; break; // Epic Spell Seed Opposition case 21: sItem = "epic_sd_reflect"; break; // Epic Spell Seed Reflect case 22: sItem = "epic_sd_reveal"; break; // Epic Spell Seed Reveal case 23: sItem = "epic_sd_shadow"; break; // Epic Spell Seed Shadow case 24: sItem = "epic_sd_slay"; break; // Epic Spell Seed Slay case 25: sItem = "epic_sd_summon"; break; // Epic Spell Seed Summon case 26: sItem = "epic_sd_time"; break; // Epic Spell Seed Time case 27: sItem = "epic_sd_transfrm"; break; // Epic Spell Seed Transform case 28: sItem = "epic_sd_transprt"; break; // Epic Spell Seed Transport case 29: sItem = "epic_sd_ward"; break; // Epic Spell Seed Ward case 30: sItem = "epic_sp_audstone"; break; // Epic Spell Audience of Stone case 31: sItem = "epic_sp_achilles"; break; // Epic Spell Achilles Heel case 32: sItem = "epic_sp_allmart"; break; // Epic Spell Allied Martyr case 33: sItem = "epic_sp_allhope"; break; // Epic Spell All Hope Lost case 34: sItem = "epic_sp_anarchy"; break; // Epic Spell Anarchy's Call case 35: sItem = "epic_sp_animblas"; break; // Epic Spell Animus Blast case 36: sItem = "epic_sp_animbliz"; break; // Epic Spell Animus Blizzard case 37: sItem = "epic_sp_armyunfa"; break; // Epic Spell Army Unfallen case 38: sItem = "epic_sp_batbound"; break; // Epic Spell Battle Bounding case 39: sItem = "epic_sp_champval"; break; // Epic Spell Champion's Valor case 40: sItem = "epic_sp_contresu"; break; // Epic Spell Contingent Resurrection case 41: sItem = "epic_sp_contreun"; break; // Epic Spell Contingent Reunion case 42: sItem = "epic_sp_deadeyes"; break; // Epic Spell Deadeye Sense case 43: sItem = "epic_sp_dreamscp"; break; // Epic Spell Dreamscape case 44: sItem = "epic_sp_deathmrk"; break; // Epic Spell Deathmark case 45: sItem = "epic_sp_dullblad"; break; // Epic Spell Dullblades case 46: sItem = "epic_sp_dweomert"; break; // Epic Spell Dweomer Thief case 47: sItem = "epic_sp_enslave"; break; // Epic Spell Enslave case 48: sItem = "epic_sp_epmagarm"; break; // Epic Spell Epic Mage Armor case 49: sItem = "epic_sp_eprepuls"; break; // Epic Spell Epic Repulsion case 50: sItem = "epic_sp_epspellr"; break; // Epic Spell Epic Spell Reflection case 51: sItem = "epic_sp_epwardin"; break; // Epic Spell Epic Warding case 52: sItem = "epic_sp_eterfree"; break; // Epic Spell Eternal Freedom case 53: sItem = "epic_sp_fleetnes"; break; // Epic Spell Fleetness of Foot case 54: sItem = "epic_sp_greatrui"; break; // Epic Spell Greater Ruin case 55: sItem = "epic_sp_grspellr"; break; // Epic Spell Greater Spell Resistance case 56: sItem = "epic_sp_grtimest"; break; // Epic Spell Greater Timestop case 57: sItem = "epic_sp_hellball"; break; // Epic Spell Hellball case 58: sItem = "epic_sp_hellsend"; break; // Epic Spell Hell Send case 59: sItem = "epic_sp_hercalli"; break; // Epic Spell Herculean Alliance case 60: sItem = "epic_sp_hercempo"; break; // Epic Spell Herculean Empowerment case 61: sItem = "epic_sp_impenetr"; break; // Epic Spell Impenetrability case 62: sItem = "epic_sp_leechfie"; break; // Epic Spell Leech Field case 63: sItem = "epic_sp_legendar"; break; // Epic Spell Legendary Artisan case 64: sItem = "epic_sp_lifeforc"; break; // Epic Spell Life Force Transfer case 65: sItem = "epic_sp_magmabur"; break; // Epic Spell Magma Burst case 66: sItem = "epic_sp_momentom"; break; // Epic Spell Momento Mori case 67: sItem = "epic_sp_mummdust"; break; // Epic Spell Mummy Dust case 68: sItem = "epic_sp_nailedsk"; break; // Epic Spell Nailed to the Sky case 69: sItem = "epic_sp_nightsun"; break; // Epic Spell Night's Undoing case 70: sItem = "epic_sp_orderres"; break; // Epic Spell Order Restored case 71: sItem = "epic_sp_pathsbec"; break; // Epic Spell Paths Become Known case 72: sItem = "epic_sp_peerless"; break; // Epic Spell Peerless Penitence case 73: sItem = "epic_sp_pestilen"; break; // Epic Spell Pestilence case 74: sItem = "epic_sp_planarce"; break; // Epic Spell Planar Cell case 75: sItem = "epic_sp_psionics"; break; // Epic Spell Psionic Salvo case 76: sItem = "epic_sp_risenreu"; break; // Epic Spell Risen Reunited case 77: sItem = "epic_sp_ruin"; break; // Epic Spell Ruin case 78: sItem = "epic_sp_singsund"; break; // Epic Spell Singular Sunder case 79: sItem = "epic_sp_spelworm"; break; // Epic Spell Spell Worm case 80: sItem = "epic_sp_stormman"; break; // Epic Spell Storm Mantle case 81: sItem = "epic_sp_summaber"; break; // Epic Spell Summon Aberration case 82: sItem = "epic_sp_superbdi"; break; // Epic Spell Superb Dispelling case 83: sItem = "epic_sp_symrusta"; break; // Epic Spell Symrustar's Spellbinding case 84: sItem = "epic_sp_thewithe"; break; // Epic Spell The Withering case 85: sItem = "epic_sp_tolodine"; break; // Epic Spell Tolodine's Killing Wind case 86: sItem = "epic_sp_transvit"; break; // Epic Spell Transcendent Vitality case 87: sItem = "epic_sp_twinfien"; break; // Epic Spell Twinfiend case 88: sItem = "epic_sp_unholydi"; break; // Epic Spell Unholy Disciple case 89: sItem = "epic_sp_unimping"; break; // Epic Spell Unimpinged case 90: sItem = "epic_sp_unseenwa"; break; // Epic Spell Unseen Wanderer } } //:: End 21 HD - 25 HD Epic Spells & Spell Seeds Table } //:: End [Table E] 21 HD - 25 HD Loot Tables if (nMobHD > 25 && nMobHD < 40) //:: Start [Table F] 26 HD - 39 HD Loot Tables { int nTableF = Random(10) + 1; if (nTableF == 10) //:: Start 26 HD - 39 HD Ammo & Thrown Weapons { int nAmmo = Random(18) + 1; int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wamar_hrtskr"; break; // Heartseeker Arrow case 2: sItem = "nw_wammar008"; break; // Poison Arrow case 3: sItem = "ar_wammbo_scream"; break; // Screaming Bolts case 4: sItem = "ar_wampbo_acid02"; break; // Imbued Caustic Bolt case 5: sItem = "ar_wampbu_elec01"; break; // Charged Bullets case 6: sItem = "ar_wambu_zombie"; break; // Zombie Bullets case 7: sItem = "ar_wthdt_iron01"; break; // Iron Throwing Daggers case 8: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 9: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 10: sItem = "ar_wthax_iron01"; break; // Iron Throwing Axes case 11: sItem = "ar_wthch_iron01"; break; // Iron Chakram case 12: sItem = "ar_wamar_hamstr"; break; // Hamstring Arrow case 13: sItem = "ar_wammar_mystic"; break; // Mystic Arrow case 14: sItem = "ar_wammbo_mystic"; break; // Mystic Bolt case 15: sItem = "ar_wambu_fire02"; break; // Phosphorus Bullets case 16: sItem = "ar_wammbu_kapow"; break; // Ka-Pow! case 17: sItem = "ar_wammbu_giant"; break; // Giant Slayer Stones case 18: sItem = "ar_wthmax_nikhi"; break; // Nikhi's Rainbow } } //:: End 26 HD - 39 HD Ammo & Thrown Weapons Table if (nTableF == 2) //:: Start 26 HD - 39 HD Helmets, Armor & Shields { int nArmor = Random(39)+1; switch (nArmor) { case 1: sItem = "ar_amclrb_advent"; break; // High Adventurer's Robe case 2: sItem = "ar_amclcl_dunern"; break; // Dunerunner Chain case 3: sItem = "ar_ammdcm_hereda"; break; // Heredat's Chain of Fire case 4: sItem = "ar_ahvfp_bsthide"; break; // Beasthide Plate case 5: sItem = "ar_amclrb_underw"; break; // Robes of the Underworld case 6: sItem = "ar_amhvfp_drake"; break; // Drake Forged Plate case 7: sItem = "ar_amclgb_blkslt"; break; // Black Silt case 8: sItem = "ar_amhvfp_divine"; break; // Divine Shell case 9: sItem = "ar_ammdbp_umber"; break; // Umber Hulk Shell case 10: sItem = "ar_apclrb_essenc"; break; // Essence Robe case 11: sItem = "ar_amltsl_mrange"; break; // Master Ranger's Armor case 12: sItem = "ar_amclcl_rouge"; break; // Rogue's Wrap case 13: sItem = "ar_amdbp_lfshape"; break; // Life Shaped Body Armor case 14: sItem = "ar_apclgb_villic"; break; // Villichi Garb case 15: sItem = "ar_amltlt_bless"; break; // The Blessing of Tyr case 16: sItem = "ar_amhvfp_underw"; break; // Forged Plate of the Underworld case 17: sItem = "ar_helm_divcasq"; break; // Divine Casque case 18: sItem = "ar_helm_husil"; break; // Black Helm of Husil case 19: sItem = "ar_helm_obsflame"; break; // Obsidian Helm of Flames case 20: sItem = "ar_ashmlw_grafna"; break; // Grafna's Pride case 21: sItem = "ar_ashpto_imbued"; break; // Imbued Shield case 22: sItem = "ar_ashmto_mirror"; break; // Mirror Shield case 23: sItem = "ar_ashmto_giant"; break; // The Giantguard case 24: sItem = "ar_amclcl_storyt"; break; // The Storyteller case 25: sItem = "ar_amltsl_rpride"; break; // Ranger's Pride case 26: sItem = "ar_ammdsc_siege"; break; // Siege Armor case 27: sItem = "ar_amltsl_bmastr"; break; // Beastmaster Armor case 28: sItem = "ar_amltlt_land"; break; // Armor of the Land case 29: sItem = "ar_ammdbp_battle"; break; // Battlerage Armor case 30: sItem = "ar_amclgb_master"; break; // Villichi Master Garb case 31: sItem = "ar_helm_defguise"; break; // Defiler's Guise case 32: sItem = "ar_helm_fortific"; break; // Helm of Fortification case 33: sItem = "ar_helm_nevas"; break; // Neva's Glare case 34: sItem = "ar_helm_blkcrwn"; break; // Black Spired Crown case 35: sItem = "ar_helm_maskpain"; break; // Mask of Pain case 36: sItem = "ar_ashlw_lifesha"; break; // Lifeshaped Shield case 37: sItem = "ar_ashplw_imbaga"; break; // Imbued Agafari Shield case 38: sItem = "ar_ashsw_lifesh"; break; // Life Shaped Small Shield case 39: sItem = "ar_ashmsw_imbaga"; break; // Imbued Agafari Buckler } } //:: End 26 HD - 39 HD Helmets, Armor & Shields if (nTableF == 3) //:: Start 26 HD - 39 HD Weapons Table { int nWeapon = Random(71)+1; switch (nWeapon) { case 1: sItem = "ar_wswmbs_heart"; break; // Heart of Darkness case 2: sItem = "ar_waxmbt_hades"; break; // Hades Edge case 3: sItem = "ar_waxmbt_defile"; break; // Defiled Battleaxe case 4: sItem = "ar_waxmbt_baals"; break; // Ba'al's Hand case 5: sItem = "ar_wswmdg_nightm"; break; // Nightmare Fang case 6: sItem = "ar_wswpbf_koshi"; break; // Koshi's Friend case 7: sItem = "ar_wswmdg_ginos"; break; // Gino's Backstabber case 8: sItem = "ar_wdbmma_chaos"; break; // Dire Mace of Chaos case 9: sItem = "ar_wdbmax_garrao"; break; // Garraouk's Edge case 10: sItem = "ar_wdbmax_dfence"; break; // Lotilus of Defense case 11: sItem = "ar_wdbmax_nightf"; break; // Nightfall case 12: sItem = "ar_waxmwr_kled"; break; // Wrath of Kled case 13: sItem = "ar_waxmwr_frozen"; break; // Frozen Waraxe case 14: sItem = "ar_waxmwr_sunslh"; break; // Sunslasher case 15: sItem = "ar_waxmwr_helmg"; break; // Waraxe of Helmgrond case 16: sItem = "ar_waxmgr_banshe"; break; // Banshee's Sorrow case 17: sItem = "ar_waxmgr_toothf"; break; // Tooth of the Fire Drake case 18: sItem = "ar_waxmgr_winpre"; break; // Winter's Prelude case 19: sItem = "ar_waxmgr_toothw"; break; // Tooth of the Water Drake case 20: sItem = "ar_waxmgr_ekairs"; break; // Ekair's Father case 21: sItem = "ar_waxmgr_tootha"; break; // Tooth of the Air Drake case 22: sItem = "ar_waxmgr_toothe"; break; // Tooth of the Earth Drake case 23: sItem = "ar_wswmgs_severa"; break; // Severance case 24: sItem = "ar_wplmhb_sever"; break; // Severer case 25: sItem = "ds_wblpmh_cautrz"; break; // Cauterizer case 26: sItem = "ar_wblmfh_sngift"; break; // The Sun's Gift case 27: sItem = "ds_wspmka_nightf"; break; // Nightfall case 28: sItem = "ds_wspmka_virana"; break; // Virrana's Blade case 29: sItem = "ds_wspmka_daybrk"; break; // Daybreaker case 30: sItem = "ar_wspmku_silent"; break; // Silent Scream case 31: sItem = "ar_wspmku_unreqi"; break; // Unrequited case 32: sItem = "ar_wblphl_hirduk"; break; // Hirduk's Hammer case 33: sItem = "ar_wblmml_dytest"; break; // Dytest's Fist case 34: sItem = "ar_wblmml_ianos"; break; // Mace of Ianos case 35: sItem = "ar_wswpls_astral"; break; // Astral Blade case 36: sItem = "ar_wswpls_dimens"; break; // Dimensional Blade case 37: sItem = "r_wswmls_star"; break; // Star's Gift case 38: sItem = "ar_wswmls_dksoul"; break; // The Dark Soul case 39: sItem = "ar_wswmls_bcbone"; break; // Blessed Crimson Bone case 40: sItem = "ar_wblmms_bodach"; break; // Star of Bodach case 41: sItem = "ar_wblmms_mornin"; break; // Star of Mourning case 42: sItem = "ar_wblmms_deadma"; break; // Dead Man Walking case 43: sItem = "ar_wdbmqs_virran"; break; // Virrana's Long Arm case 44: sItem = "ar_wdbmqs_woodmn"; break; // Woodsman's Staff case 45: sItem = "ar_wdbmqs_souls"; break; // Staff of Souls case 46: sItem = "ar_wswmrp_elves"; break; // The Blade of the Elves case 47: sItem = "ar_wswmsc_shadow"; break; // Shadow's Edge case 48: sItem = "ar_wswmsc_frost"; break; // Frostbite case 49: sItem = "ar_wswpsc_shaks"; break; // Sha'k's Leech case 50: sItem = "ar_wswpsc_chaka"; break; // Chaka'zerka case 51: sItem = "ar_wplmsc_bastio"; break; // Bastion's Blade case 52: sItem = "ar_wplmsc_raaig"; break; // Scythe of the Raaig case 53: sItem = "ar_wbwpsh_phrins"; break; // Phrin's Bow case 54: sItem = "ar_wbwmsh_guard"; break; // Bow of the Guarded Lands case 55: sItem = "ar_wbwmsh_lifest"; break; // Lifestalker case 56: sItem = "ar_wplss_lngfang"; break; // Longfang case 57: sItem = "ar_wplmss_ghulk"; break; // Ghulk's Harverster case 58: sItem = "ar_wplpss_drake"; break; // Drake Bane Gythka case 59: sItem = "ar_wswmss_barbed"; break; // Barbed Bone Blade case 60: sItem = "ar_wswmss_cerule"; break; // Cerulean Slasher case 61: sItem = "ar_wspmsc_cinder"; break; // Cinder case 62: sItem = "ar_wspmsc_harves"; break; // Harvester case 63: sItem = "ar_wbwpsl_whoop"; break; // War Whoop case 64: sItem = "ar_wdbmsw_helves"; break; // The Heart of Elves case 65: sItem = "ar_wdbmsw_dichot"; break; // Dichotomy case 66: sItem = "ar_wdbmsw_viper"; break; // Viperstrike case 67: sItem = "ar_wblmhw_bane"; break; // Bane of Elements case 68: sItem = "ar_wbmhw_corros"; break; // Corrosion case 69: sItem = "ar_wspmwp_sachem"; break; // Hair of the Sachem case 70: sItem = "ar_wspmwp_bklash"; break; // Backlash case 71: sItem = "ar_wspmwp_black"; break; // The Black Tongue } } //:: End 26 HD - 39 HD Weapons Table if (nTableF == 4) //:: Start 26 HD - 39 HD Clothing & Jewelry Table { int nGear = Random(71)+1; switch (nGear) { case 1: sItem = "ar_itprng_adre02"; break; // Greater Ring of Adrenalin case 2: sItem = "ar_itmnck_cha03"; break; // Master's Amulet of Charisma case 3: sItem = "ar_itmnck_con03"; break; // Master's Amulet of Constitution case 4: sItem = "ar_itmnck_dex03"; break; // Master's Amulet of Dexterity case 5: sItem = "ar_itmnck_int03"; break; // Master's Amulet of Intelligence case 6: sItem = "ar_itmnck_str03"; break; // Master's Amulet of Strength case 7: sItem = "ar_itmnck_wis03"; break; // Master's Amulet of Wisdom case 8: sItem = "ar_itmnck_galian"; break; // Galian's Chain case 9: sItem = "ar_itmnck_earthd"; break; // Earth Drake Heart case 10: sItem = "ar_itmnck_airdh"; break; // Air Drake Heart case 11: sItem = "ar_itmnck_fired"; break; // Fire Drake Heart case 12: sItem = "ar_itmnck_waterd"; break; // Water Drake Heart case 13: sItem = "ar_itmnck_drkvis"; break; // Amulet of Dark Visions case 14: sItem = "ar_itmblt_champ"; break; // Champion's Buckle case 15: sItem = "ar_itmbts_speed"; break; // Sandals of Speed case 16: sItem = "ar_itmbts_ifrit"; break; // Ifrit Boots case 17: sItem = "ar_itmbts_drake"; break; // Drake Forged Boots case 18: sItem = "ar_itpbcr_battle"; break; // Battle Bracers case 19: sItem = "ar_itmclk_travis"; break; // Travis's Cloak case 20: sItem = "ar_itglv_iron02"; break; // Iron Fighting Gauntlets case 21: sItem = "ar_itmglv_wizard"; break; // Preserver's Gloves case 22: sItem = "ar_itmglv_faith"; break; // Gauntlets of Faith case 23: sItem = "ar_itmglv_zephry"; break; // Zephryn's Gloves case 24: sItem = "ar_itmglv_defile"; break; // Defiler's Gauntlets case 25: sItem = "ar_itmglv_bard"; break; // Bard Gloves case 26: sItem = "ar_itpglv_virann"; break; // Viranna's Grasp case 27: sItem = "ar_itpglv_master"; break; // Villichi Master Gauntlets case 28: sItem = "ar_itmrng_cha03"; break; // Master's Ring of Charisma case 29: sItem = "ar_itmrng_con03"; break; // Master's Ring of Constitution case 30: sItem = "ar_itmrng_dex03"; break; // Master's Ring of Dexterity case 31: sItem = "ar_itmrng_int03"; break; // Master's Ring of Intelligence case 32: sItem = "ar_itmrng_str03"; break; // Master's Ring of Strength case 33: sItem = "ar_itmrng_wis03"; break; // Master's Ring of Wisdom case 34: sItem = "ar_itprng_rage"; break; // Ring of Rage case 35: sItem = "ar_itmrng_sr01"; break; // Ring of Spell Resistance case 36: sItem = "ar_itmrng_age01"; break; // Ring of Age case 37: sItem = "ar_itmrng_nature"; break; // Nature's Gift case 38: sItem = "ar_itprng_sense"; break; // Sensory Ring case 39: sItem = "ar_itmrng_hate"; break; // Ring of Hate case 40: sItem = "ar_itmrng_sunrun"; break; // Sunrunner Ring case 41: sItem = "ar_itmrng_sage"; break; // Sage's Ring case 42: sItem = "ar_itmrng_thrax"; break; // Lich's Greed Ring case 43: sItem = "ar_itmnck_cha04"; break; // Iconic Amulet of Charisma case 44: sItem = "ar_itmnck_con04"; break; // Iconic Amulet of Constitution case 45: sItem = "ar_itmnck_dex04"; break; // Iconic Amulet of Dexterity case 46: sItem = "ar_itmnck_int04"; break; // Iconic Amulet of Intelligence case 47: sItem = "ar_itmnck_str04"; break; // Iconic Amulet of Strength case 48: sItem = "ar_itmnck_wis04"; break; // Iconic Amulet of Wisdom case 49: sItem = "ar_itpnck_hocean"; break; // Heart of the Ocean case 50: sItem = "ar_itmblt_undyin"; break; // Belt of the Undying case 51: sItem = "ar_itblt_power"; break; // Girdle of Power case 52: sItem = "ar_itblt_resili"; break; // Girdle of Resilience case 53: sItem = "ar_itmbts_arena"; break; // Gladiator Boots case 54: sItem = "ar_itmbts_draqo"; break; // Boots of the Draqoman case 55: sItem = "ar_itmbcr_wardng"; break; // Bracers of Warding case 56: sItem = "at_itmclk_spectr"; break; // Spectral Cloak case 57: sItem = "at_itmclk_necro"; break; // Necromant's Cloak case 58: sItem = "ar_itmclk_torak"; break; // Torak's Wrap case 59: sItem = "at_itmclk_kaisha"; break; // Kaisharga's Cape case 60: sItem = "ar_itmglv_bledge"; break; // Blinding Edge Gauntlets case 61: sItem = "ar_itmglv_gtouch"; break; // Gentle Touch case 62: sItem = "ar_itpglv_obs03"; break; // Imbued Obsidian Wrist Razors case 63: sItem = "ar_itmglv_sister"; break; // Wrath of the Sisterhood case 64: sItem = "ar_itpglv_repell"; break; // Repellant Gloves case 65: sItem = "ar_itmrng_cha04"; break; // Iconic Ring of Charisma case 66: sItem = "ar_itmrng_con04"; break; // Iconic Ring of Consitution case 67: sItem = "ar_itmrng_dex04"; break; // Iconic Ring of Dexterity case 68: sItem = "ar_itmrng_int04"; break; // Iconic Ring of Intelligence case 69: sItem = "ar_itmrng_str04"; break; // Iconic Ring of Strength case 70: sItem = "ar_itmrng_wis04"; break; // Iconic Ring of Wisdom case 71: sItem = "ar_itmrng_life"; break; // Ring of Life } } //:: End 26 HD - 39 HD Clothing & Jewelry Table if (nTableF == 5) //:: Start 26 HD - 39 HD Clothing & Jewelry Table { int nGems = Random(22)+1; switch (nGems) { case 1: sItem = "crpi_o_agate"; break; // Agate case 2: sItem = "crpi_f_amber"; break; // Amber case 3: sItem = "crpi_f_amethyst"; break; // Amethyst case 4: sItem = "crpi_p_aquamarin"; break; // Aquamarine case 5: sItem = "crpi_f_chrysober"; break; // Chrysoberyl case 6: sItem = "crpi_f_coral"; break; // Coral case 7: sItem = "crpi_p_garnet"; break; // Garnet case 8: sItem = "crpi_f_jade"; break; // Jade case 9: sItem = "crpi_f_jet"; break; // Jet case 10: sItem = "crpi_p_peridot"; break; // Peridot case 11: sItem = "crpi_p_spinel"; break; // Spinel case 12: sItem = "crpi_p_topaz"; break; // Topaz case 13: sItem = "crpi_f_tourmalin"; break; // Tourmaline case 14: sItem = "crpi_g_starsapph"; break; // Star Sapphire case 15: sItem = "crpi_g_blackopal"; break; // Black Opal case 16: sItem = "crpi_g_blacksaph"; break; // Black Sapphire case 17: sItem = "crpi_g_diamond"; break; // Diamond case 18: sItem = "crpi_g_emerald"; break; // Emerald case 19: sItem = "crpi_g_fireopal"; break; // Fire Opal case 20: sItem = "crpi_g_opal"; break; // Opal case 21: sItem = "crpi_g_ruby"; break; // Ruby case 22: sItem = "crpi_g_sapphire"; break; // Sapphire } } //:: End 26 HD - 39 HD Clothing & Jewelry Table if (nTableF == 6) //:: Start 26 HD - 39 HD Potions & Alchemy Items Table { int nPotion = Random(14)+1; switch (nPotion) { case 1: sItem = "pot_deccan"; break; // Deccan Spiritberry case 2: sItem = "pot_lime"; break; // Magical Lime case 3: sItem = "pot_zzgresh"; break; // Magical Zz'gresh Berry case 4: sItem = "pot_holynectar"; break; // Holy Nectar case 5: sItem = "pot_plum"; break; // Magical Plum case 6: sItem = "pot_fenberry"; break; // Magical Fenberry case 7: sItem = "pot_dranja"; break; // Magical Dranja Berry case 8: sItem = "pot_grapes"; break; // Magical Grapes case 9: sItem = "pot_raspberry"; break; // Magical Raspberry case 10: sItem = "pot_cherry"; break; // Magical Cherry case 11: sItem = "pot_lemon"; break; // Magical Lemon case 12: sItem = "prc_it_shedden4"; break; // Shedden +4 case 13: sItem = "pot_magdef"; break; // Potion of Magic Defense case 14: sItem = "prc_it_shedden5"; break; // Shedden +5 } } //:: End 26 HD - 39 HD Potions & Alchemy Items Table if (nTableF == 7) //:: Start 26 HD - 39 HD Scrolls Table { int nScroll = Random(42)+1; switch (nScroll) { case 1: sItem = "nw_it_sparscr901"; break; // Mordenkainen's Disjunction case 2: sItem = "x2_it_spdvscr903"; break; // Storm of Vengeance case 3: sItem = "x1_it_sparscr701"; break; // Bigby's Grasping Hand case 4: sItem = "nw_it_sparscr704"; break; // Delayed Blast Fireball case 5: sItem = "nw_it_sparscr708"; break; // Finger of Death case 6: sItem = "x2_it_spdvscr606"; break; // Greater Sanctuary case 7: sItem = "nw_it_sparscr705"; break; // Mordenkainen's Sword case 8: sItem = "nw_it_sparscr702"; break; // Power Word, Stun case 9: sItem = "nw_it_sparscr706"; break; // Prismatic Spray case 10: sItem = "nw_it_sparscr802"; break; // Protection from Spells case 11: sItem = "x2_it_sparscr703"; break; // Shadow Shield case 12: sItem = "nw_it_sparscr701"; break; // Spell Mantle case 13: sItem = "nw_it_sparscr703"; break; // Summon Creature VII case 14: sItem = "x1_it_sparscr801"; break; // Bigby's Clenched Fist case 15: sItem = "nw_it_sparscr803"; break; // Greater Planar Binding case 16: sItem = "nw_it_sparscr809"; break; // Horrid Wilting case 17: sItem = "nw_it_sparscr804"; break; // Incendiary Cloud case 18: sItem = "nw_it_sparscr807"; break; // Mass Blindness / Deafness case 19: sItem = "nw_it_sparscr806"; break; // Mass Charm case 20: sItem = "nw_it_sparscr801"; break; // Mind Blank case 21: sItem = "nw_it_sparscr808"; break; // Premonition case 22: sItem = "nw_it_sparscr805"; break; // Summon Creature VIII case 23: sItem = "x1_it_spdvscr802"; break; // Sunburst case 24: sItem = "x1_it_sparscr901"; break; // Bigby's Crushing Hand case 25: sItem = "x2_it_sparscr901"; break; // Black Blade of Disaster case 26: sItem = "nw_it_sparscr905"; break; // Dominate Monster case 27: sItem = "nw_it_sparscr908"; break; // Energy Drain case 28: sItem = "nw_it_sparscr902"; break; // Gate case 29: sItem = "x2_it_spdvscr902"; break; // Implosion case 30: sItem = "nw_it_sparscr906"; break; // Meteor Swarm case 31: sItem = "nw_it_sparscr903"; break; // Power Word, Kill case 32: sItem = "x2_it_sparscr902"; break; // Tide of Battle case 33: sItem = "x1_it_spdvscr901"; break; // Undeath's Eternal Foe case 34: sItem = "nw_it_sparscr909"; break; // Wail of the Banshee case 35: sItem = "nw_it_sparscr907"; break; // Weird case 36: sItem = "x2_it_sparscr701"; break; // Great Thunderclap case 37: sItem = "nw_it_spdvscr702"; break; // Resurrection case 38: sItem = "nw_it_sparscr904"; break; // Summon Creature IX case 39: sItem = "x2_it_sparscr801"; break; // Blackstaff case 40: sItem = "nw_it_sparscr614"; break; // Tenser's Transformation case 41: sItem = "nw_it_sparscr910"; break; // Shapechange case 42: sItem = "nw_it_sparscr912"; break; // Greater Spell Mantle } } //:: End 26 HD - 39 HD Scrolls Table if (nTableF == 8) //:: Start 26 HD - 39 HD Mundane Miscellaneous Table { int nMundane = Random(19)+1; switch (nMundane) { case 1: sItem = "ar_it_contain001"; break; // Least Bag of Reduction case 2: sItem = "nw_it_picks004"; break; // Thieves' Tools +10 case 3: sItem = "prc_it_shedden4"; break; // Shedden +4 case 4: sItem = "x2_it_trap001"; break; // Epic Electrical Trap Kit case 5: sItem = "x2_it_trap002"; break; // Epic Fire Trap Kit case 6: sItem = "x2_it_trap003"; break; // Epic Frost Trap Kit case 7: sItem = "x2_it_trap004"; break; // Epic Sonic Trap Kit case 8: sItem = "nw_it_trap036"; break; // Deadly Acid Splash Trap Kit case 9: sItem = "nw_it_trap032"; break; // Deadly Frost Trap Kit case 10: sItem = "nw_it_trap040"; break; // Deadly Sonic Trap Kit case 11: sItem = "nw_it_trap008"; break; // Deadly Holy Trap Kit case 12: sItem = "nw_it_trap044"; break; // Deadly Negative Trap Kit case 13: sItem = "nw_it_trap012"; break; // Deadly Tangle Trap Kit case 14: sItem = "nw_it_trap016"; break; // Deadly Blob of Acid Trap Kit case 15: sItem = "nw_it_trap020"; break; // Deadly Fire Trap Kit case 16: sItem = "nw_it_trap004"; break; // Deadly Spike Trap Kit case 17: sItem = "nw_it_trap024"; break; // Deadly Electrical Trap Kit case 18: sItem = "nw_it_trap028"; break; // Deadly Gas Trap Kit case 19: sItem = "prc_it_shedden5"; break; // Shedden +5 } } //:: End 26 HD - 39 HD Mundane Miscellaneous Table if (nTableF == 9) //:: Start 26 HD - 39 HD Magical Miscellaneous Table { int nMagic = Random(13)+1; switch (nMagic) { case 1: sItem = "ar_itmbk_strengt"; break; // Book of Strength case 2: sItem = "ar_it_zephyr"; break; // Lute of Zephyr case 3: sItem = "ar_wmgrd_elem03"; break; // Greater Rod of Elements case 4: sItem = "ar_wmgst_gflame"; break; // Groveflame case 5: sItem = "ar_wmgst_boon"; break; // Minstrel's Boon case 6: sItem = "ar_wmgst_frdrake"; break; // Staff of the Fire Drake case 7: sItem = "ar_wmgst_prize"; break; // Prize of the Dead Lands case 8: sItem = "ar_itm_ashelgora"; break; // Heart of Ash'el'gorath case 9: sItem = "ar_it_discord"; break; // Pipes of Discord case 10: sItem = "ar_wpsst_gaj"; break; // Staff of the Gaj case 11: sItem = "ar_wmgst_hope"; break; // Preserver's Hope case 12: sItem = "ar_wmgst_black"; break; // Staff of the Black case 13: sItem = "ar_wmgst_grystem"; break; // Greystem } } //:: End 26 HD - 39 HD Magical Miscellaneous Table if (nTableF == 1) //:: Start End 26 HD - 39 HD Epic Spells & Spell Seeds Table { int nESS = Random(89)+1; switch (nESS) { case 1: sItem = "epic_sd_ward"; break; // Epic Spell Seed Ward case 2: sItem = "epic_sd_afflict"; break; // Epic Spell Seed Afflict case 3: sItem = "epic_sd_animate"; break; // Epic Spell Seed Animate case 4: sItem = "epic_sd_animdead"; break; // Epic Spell Seed Animate Dead case 5: sItem = "epic_sd_armor"; break; // Epic Spell Seed Armor case 6: sItem = "epic_sd_banish"; break; // Epic Spell Seed Banish case 7: sItem = "epic_sd_compel"; break; // Epic Spell Seed Compel case 8: sItem = "epic_sd_conceal"; break; // Epic Spell Seed Conceal case 9: sItem = "epic_sd_conjure"; break; // Epic Spell Seed Conjure case 10: sItem = "epic_sd_contact"; break; // Epic Spell Seed Contact case 11: sItem = "epic_sd_delude"; break; // Epic Spell Seed Delude case 12: sItem = "epic_sd_destroy"; break; // Epic Spell Seed Destroy case 13: sItem = "epic_sd_dispel"; break; // Epic Spell Seed Dispel case 14: sItem = "epic_sd_energy"; break; // Epic Spell Seed Energy case 15: sItem = "epic_sd_foresee"; break; // Epic Spell Seed Foresee case 16: sItem = "epic_sd_fortify"; break; // Epic Spell Seed Forify case 17: sItem = "epic_sd_heal"; break; // Epic Spell Seed Heal case 18: sItem = "epic_sd_life"; break; // Epic Spell Seed Life case 19: sItem = "epic_sd_light"; break; // Epic Spell Seed Light case 20: sItem = "epic_sd_oppos"; break; // Epic Spell Seed Opposition case 21: sItem = "epic_sd_reflect"; break; // Epic Spell Seed Reflect case 22: sItem = "epic_sd_reveal"; break; // Epic Spell Seed Reveal case 23: sItem = "epic_sd_shadow"; break; // Epic Spell Seed Shadow case 24: sItem = "epic_sd_slay"; break; // Epic Spell Seed Slay case 25: sItem = "epic_sd_summon"; break; // Epic Spell Seed Summon case 26: sItem = "epic_sd_time"; break; // Epic Spell Seed Time case 27: sItem = "epic_sd_transfrm"; break; // Epic Spell Seed Transform case 28: sItem = "epic_sd_transprt"; break; // Epic Spell Seed Transport case 29: sItem = "epic_sp_unseenwa"; break; // Epic Spell Unseen Wanderer case 30: sItem = "epic_sp_audstone"; break; // Epic Spell Audience of Stone case 31: sItem = "epic_sp_achilles"; break; // Epic Spell Achilles Heel case 32: sItem = "epic_sp_allmart"; break; // Epic Spell Allied Martyr case 33: sItem = "epic_sp_allhope"; break; // Epic Spell All Hope Lost case 34: sItem = "epic_sp_anarchy"; break; // Epic Spell Anarchy's Call case 35: sItem = "epic_sp_animblas"; break; // Epic Spell Animus Blast case 36: sItem = "epic_sp_animbliz"; break; // Epic Spell Animus Blizzard case 37: sItem = "epic_sp_armyunfa"; break; // Epic Spell Army Unfallen case 38: sItem = "epic_sp_batbound"; break; // Epic Spell Battle Bounding case 39: sItem = "epic_sp_champval"; break; // Epic Spell Champion's Valor case 40: sItem = "epic_sp_contresu"; break; // Epic Spell Contingent Resurrection case 41: sItem = "epic_sp_contreun"; break; // Epic Spell Contingent Reunion case 42: sItem = "epic_sp_deadeyes"; break; // Epic Spell Deadeye Sense case 43: sItem = "epic_sp_dreamscp"; break; // Epic Spell Dreamscape case 44: sItem = "epic_sp_deathmrk"; break; // Epic Spell Deathmark case 45: sItem = "epic_sp_dullblad"; break; // Epic Spell Dullblades case 46: sItem = "epic_sp_dweomert"; break; // Epic Spell Dweomer Thief case 47: sItem = "epic_sp_enslave"; break; // Epic Spell Enslave case 48: sItem = "epic_sp_epmagarm"; break; // Epic Spell Epic Mage Armor case 49: sItem = "epic_sp_eprepuls"; break; // Epic Spell Epic Repulsion case 50: sItem = "epic_sp_epspellr"; break; // Epic Spell Epic Spell Reflection case 51: sItem = "epic_sp_epwardin"; break; // Epic Spell Epic Warding case 52: sItem = "epic_sp_eterfree"; break; // Epic Spell Eternal Freedom case 53: sItem = "epic_sp_fleetnes"; break; // Epic Spell Fleetness of Foot case 54: sItem = "epic_sp_greatrui"; break; // Epic Spell Greater Ruin case 55: sItem = "epic_sp_grspellr"; break; // Epic Spell Greater Spell Resistance case 56: sItem = "epic_sp_grtimest"; break; // Epic Spell Greater Timestop case 57: sItem = "epic_sp_hellball"; break; // Epic Spell Hellball case 58: sItem = "epic_sp_hellsend"; break; // Epic Spell Hell Send case 59: sItem = "epic_sp_hercalli"; break; // Epic Spell Herculean Alliance case 60: sItem = "epic_sp_hercempo"; break; // Epic Spell Herculean Empowerment case 61: sItem = "epic_sp_impenetr"; break; // Epic Spell Impenetrability case 62: sItem = "epic_sp_leechfie"; break; // Epic Spell Leech Field case 63: sItem = "epic_sp_legendar"; break; // Epic Spell Legendary Artisan case 64: sItem = "epic_sp_lifeforc"; break; // Epic Spell Life Force Transfer case 65: sItem = "epic_sp_magmabur"; break; // Epic Spell Magma Burst case 66: sItem = "epic_sp_momentom"; break; // Epic Spell Momento Mori case 67: sItem = "epic_sp_mummdust"; break; // Epic Spell Mummy Dust case 68: sItem = "epic_sp_nailedsk"; break; // Epic Spell Nailed to the Sky case 69: sItem = "epic_sp_nightsun"; break; // Epic Spell Night's Undoing case 70: sItem = "epic_sp_orderres"; break; // Epic Spell Order Restored case 71: sItem = "epic_sp_pathsbec"; break; // Epic Spell Paths Become Known case 72: sItem = "epic_sp_peerless"; break; // Epic Spell Peerless Penitence case 73: sItem = "epic_sp_pestilen"; break; // Epic Spell Pestilence case 74: sItem = "epic_sp_planarce"; break; // Epic Spell Planar Cell case 75: sItem = "epic_sp_psionics"; break; // Epic Spell Psionic Salvo case 76: sItem = "epic_sp_risenreu"; break; // Epic Spell Risen Reunited case 77: sItem = "epic_sp_ruin"; break; // Epic Spell Ruin case 78: sItem = "epic_sp_singsund"; break; // Epic Spell Singular Sunder case 79: sItem = "epic_sp_spelworm"; break; // Epic Spell Spell Worm case 80: sItem = "epic_sp_stormman"; break; // Epic Spell Storm Mantle case 81: sItem = "epic_sp_summaber"; break; // Epic Spell Summon Aberration case 82: sItem = "epic_sp_superbdi"; break; // Epic Spell Superb Dispelling case 83: sItem = "epic_sp_symrusta"; break; // Epic Spell Symrustar's Spellbinding case 84: sItem = "epic_sp_thewithe"; break; // Epic Spell The Withering case 85: sItem = "epic_sp_tolodine"; break; // Epic Spell Tolodine's Killing Wind case 86: sItem = "epic_sp_transvit"; break; // Epic Spell Transcendent Vitality case 87: sItem = "epic_sp_twinfien"; break; // Epic Spell Twinfiend case 88: sItem = "epic_sp_unholydi"; break; // Epic Spell Unholy Disciple case 89: sItem = "epic_sp_unimping"; break; // Epic Spell Unimpinged } } //:: End End 26 HD - 39 HD Epic Spells & Spell Seeds Table } //:: End [Table F] 26 HD - 39 HD Loot Tables if (nMobHD > 39 && nMobHD < 60) //:: Start [Table G] 40 HD - 59 HD Loot Tables { int nUber = d6(1); if (nUber > 4) { UberLoot(); } int nTableG = Random(10) + 1; if (nTableG == 1) //:: Start 40 HD - 59 HD Ammo & Thrown Weapons { int nAmmo = Random(18) + 1; int nStack = 10+d20(2); switch (nAmmo) { case 1: sItem = "ar_wamar_hrtskr"; break; // Heartseeker Arrow case 2: sItem = "nw_wammar008"; break; // Poison Arrow case 3: sItem = "ar_wammbo_scream"; break; // Screaming Bolts case 4: sItem = "ar_wampbo_acid02"; break; // Imbued Caustic Bolt case 5: sItem = "ar_wampbu_elec01"; break; // Charged Bullets case 6: sItem = "ar_wambu_zombie"; break; // Zombie Bullets case 7: sItem = "ar_wthdt_iron01"; break; // Iron Throwing Daggers case 8: sItem = "ar_wthsh_iron01"; break; // Iron Chatchka case 9: sItem = "ar_wthmsh_glitte"; break; // Glittering Chatcka case 10: sItem = "ar_wthax_iron01"; break; // Iron Throwing Axes case 11: sItem = "ar_wthch_iron01"; break; // Iron Chakram case 12: sItem = "ar_wamar_hamstr"; break; // Hamstring Arrow case 13: sItem = "ar_wammar_mystic"; break; // Mystic Arrow case 14: sItem = "ar_wammbo_mystic"; break; // Mystic Bolt case 15: sItem = "ar_wambu_fire02"; break; // Phosphorus Bullets case 16: sItem = "ar_wammbu_kapow"; break; // Ka-Pow! case 17: sItem = "ar_wammbu_giant"; break; // Giant Slayer Stones case 18: sItem = "ar_wthmax_nikhi"; break; // Nikhi's Rainbow } } //:: End 40 HD - 59 HD Ammo & Thrown Weapons Table if (nTableG == 2) //:: Start 40 HD - 59 HD Helmets, Armor & Shields { int nArmor = Random(39)+1; switch (nArmor) { case 1: sItem = "ar_amclrb_advent"; break; // High Adventurer's Robe case 2: sItem = "ar_amclcl_dunern"; break; // Dunerunner Chain case 3: sItem = "ar_ammdcm_hereda"; break; // Heredat's Chain of Fire case 4: sItem = "ar_ahvfp_bsthide"; break; // Beasthide Plate case 5: sItem = "ar_amclrb_underw"; break; // Robes of the Underworld case 6: sItem = "ar_amhvfp_drake"; break; // Drake Forged Plate case 7: sItem = "ar_amclgb_blkslt"; break; // Black Silt case 8: sItem = "ar_amhvfp_divine"; break; // Divine Shell case 9: sItem = "ar_ammdbp_umber"; break; // Umber Hulk Shell case 10: sItem = "ar_apclrb_essenc"; break; // Essence Robe case 11: sItem = "ar_amltsl_mrange"; break; // Master Ranger's Armor case 12: sItem = "ar_amclcl_rouge"; break; // Rogue's Wrap case 13: sItem = "ar_amdbp_lfshape"; break; // Life Shaped Body Armor case 14: sItem = "ar_apclgb_villic"; break; // Villichi Garb case 15: sItem = "ar_amltlt_bless"; break; // The Blessing of Tyr case 16: sItem = "ar_amhvfp_underw"; break; // Forged Plate of the Underworld case 17: sItem = "ar_helm_divcasq"; break; // Divine Casque case 18: sItem = "ar_helm_husil"; break; // Black Helm of Husil case 19: sItem = "ar_helm_obsflame"; break; // Obsidian Helm of Flames case 20: sItem = "ar_ashmlw_grafna"; break; // Grafna's Pride case 21: sItem = "ar_ashpto_imbued"; break; // Imbued Shield case 22: sItem = "ar_ashmto_mirror"; break; // Mirror Shield case 23: sItem = "ar_ashmto_giant"; break; // The Giantguard case 24: sItem = "ar_amclcl_storyt"; break; // The Storyteller case 25: sItem = "ar_amltsl_rpride"; break; // Ranger's Pride case 26: sItem = "ar_ammdsc_siege"; break; // Siege Armor case 27: sItem = "ar_amltsl_bmastr"; break; // Beastmaster Armor case 28: sItem = "ar_amltlt_land"; break; // Armor of the Land case 29: sItem = "ar_ammdbp_battle"; break; // Battlerage Armor case 30: sItem = "ar_amclgb_master"; break; // Villichi Master Garb case 31: sItem = "ar_helm_defguise"; break; // Defiler's Guise case 32: sItem = "ar_helm_fortific"; break; // Helm of Fortification case 33: sItem = "ar_helm_nevas"; break; // Neva's Glare case 34: sItem = "ar_helm_blkcrwn"; break; // Black Spired Crown case 35: sItem = "ar_helm_maskpain"; break; // Mask of Pain case 36: sItem = "ar_ashlw_lifesha"; break; // Lifeshaped Shield case 37: sItem = "ar_ashplw_imbaga"; break; // Imbued Agafari Shield case 38: sItem = "ar_ashsw_lifesh"; break; // Life Shaped Small Shield case 39: sItem = "ar_ashmsw_imbaga"; break; // Imbued Agafari Buckler } } //:: End 40 HD - 59 HD Helmets, Armor & Shields if (nTableG == 3) //:: Start 40 HD - 59 HD Weapons Table { int nWeapon = Random(71)+1; switch (nWeapon) { case 1: sItem = "ar_wswmbs_heart"; break; // Heart of Darkness case 2: sItem = "ar_waxmbt_hades"; break; // Hades Edge case 3: sItem = "ar_waxmbt_defile"; break; // Defiled Battleaxe case 4: sItem = "ar_waxmbt_baals"; break; // Ba'al's Hand case 5: sItem = "ar_wswmdg_nightm"; break; // Nightmare Fang case 6: sItem = "ar_wswpbf_koshi"; break; // Koshi's Friend case 7: sItem = "ar_wswmdg_ginos"; break; // Gino's Backstabber case 8: sItem = "ar_wdbmma_chaos"; break; // Dire Mace of Chaos case 9: sItem = "ar_wdbmax_garrao"; break; // Garraouk's Edge case 10: sItem = "ar_wdbmax_dfence"; break; // Lotilus of Defense case 11: sItem = "ar_wdbmax_nightf"; break; // Nightfall case 12: sItem = "ar_waxmwr_kled"; break; // Wrath of Kled case 13: sItem = "ar_waxmwr_frozen"; break; // Frozen Waraxe case 14: sItem = "ar_waxmwr_sunslh"; break; // Sunslasher case 15: sItem = "ar_waxmwr_helmg"; break; // Waraxe of Helmgrond case 16: sItem = "ar_waxmgr_banshe"; break; // Banshee's Sorrow case 17: sItem = "ar_waxmgr_toothf"; break; // Tooth of the Fire Drake case 18: sItem = "ar_waxmgr_winpre"; break; // Winter's Prelude case 19: sItem = "ar_waxmgr_toothw"; break; // Tooth of the Water Drake case 20: sItem = "ar_waxmgr_ekairs"; break; // Ekair's Father case 21: sItem = "ar_waxmgr_tootha"; break; // Tooth of the Air Drake case 22: sItem = "ar_waxmgr_toothe"; break; // Tooth of the Earth Drake case 23: sItem = "ar_wswmgs_severa"; break; // Severance case 24: sItem = "ar_wplmhb_sever"; break; // Severer case 25: sItem = "ds_wblpmh_cautrz"; break; // Cauterizer case 26: sItem = "ar_wblmfh_sngift"; break; // The Sun's Gift case 27: sItem = "ds_wspmka_nightf"; break; // Nightfall case 28: sItem = "ds_wspmka_virana"; break; // Virrana's Blade case 29: sItem = "ds_wspmka_daybrk"; break; // Daybreaker case 30: sItem = "ar_wspmku_silent"; break; // Silent Scream case 31: sItem = "ar_wspmku_unreqi"; break; // Unrequited case 32: sItem = "ar_wblphl_hirduk"; break; // Hirduk's Hammer case 33: sItem = "ar_wblmml_dytest"; break; // Dytest's Fist case 34: sItem = "ar_wblmml_ianos"; break; // Mace of Ianos case 35: sItem = "ar_wswpls_astral"; break; // Astral Blade case 36: sItem = "ar_wswpls_dimens"; break; // Dimensional Blade case 37: sItem = "r_wswmls_star"; break; // Star's Gift case 38: sItem = "ar_wswmls_dksoul"; break; // The Dark Soul case 39: sItem = "ar_wswmls_bcbone"; break; // Blessed Crimson Bone case 40: sItem = "ar_wblmms_bodach"; break; // Star of Bodach case 41: sItem = "ar_wblmms_mornin"; break; // Star of Mourning case 42: sItem = "ar_wblmms_deadma"; break; // Dead Man Walking case 43: sItem = "ar_wdbmqs_virran"; break; // Virrana's Long Arm case 44: sItem = "ar_wdbmqs_woodmn"; break; // Woodsman's Staff case 45: sItem = "ar_wdbmqs_souls"; break; // Staff of Souls case 46: sItem = "ar_wswmrp_elves"; break; // The Blade of the Elves case 47: sItem = "ar_wswmsc_shadow"; break; // Shadow's Edge case 48: sItem = "ar_wswmsc_frost"; break; // Frostbite case 49: sItem = "ar_wswpsc_shaks"; break; // Sha'k's Leech case 50: sItem = "ar_wswpsc_chaka"; break; // Chaka'zerka case 51: sItem = "ar_wplmsc_bastio"; break; // Bastion's Blade case 52: sItem = "ar_wplmsc_raaig"; break; // Scythe of the Raaig case 53: sItem = "ar_wbwpsh_phrins"; break; // Phrin's Bow case 54: sItem = "ar_wbwmsh_guard"; break; // Bow of the Guarded Lands case 55: sItem = "ar_wbwmsh_lifest"; break; // Lifestalker case 56: sItem = "ar_wplss_lngfang"; break; // Longfang case 57: sItem = "ar_wplmss_ghulk"; break; // Ghulk's Harverster case 58: sItem = "ar_wplpss_drake"; break; // Drake Bane Gythka case 59: sItem = "ar_wswmss_barbed"; break; // Barbed Bone Blade case 60: sItem = "ar_wswmss_cerule"; break; // Cerulean Slasher case 61: sItem = "ar_wspmsc_cinder"; break; // Cinder case 62: sItem = "ar_wspmsc_harves"; break; // Harvester case 63: sItem = "ar_wbwpsl_whoop"; break; // War Whoop case 64: sItem = "ar_wdbmsw_helves"; break; // The Heart of Elves case 65: sItem = "ar_wdbmsw_dichot"; break; // Dichotomy case 66: sItem = "ar_wdbmsw_viper"; break; // Viperstrike case 67: sItem = "ar_wblmhw_bane"; break; // Bane of Elements case 68: sItem = "ar_wbmhw_corros"; break; // Corrosion case 69: sItem = "ar_wspmwp_sachem"; break; // Hair of the Sachem case 70: sItem = "ar_wspmwp_bklash"; break; // Backlash case 71: sItem = "ar_wspmwp_black"; break; // The Black Tongue } } //:: End 40 HD - 59 HD Weapons Table if (nTableG == 4) //:: Start 40 HD - 59 HD Clothing & Jewelry Table { int nGear = Random(71)+1; switch (nGear) { case 1: sItem = "ar_itprng_adre02"; break; // Greater Ring of Adrenalin case 2: sItem = "ar_itmnck_cha03"; break; // Master's Amulet of Charisma case 3: sItem = "ar_itmnck_con03"; break; // Master's Amulet of Constitution case 4: sItem = "ar_itmnck_dex03"; break; // Master's Amulet of Dexterity case 5: sItem = "ar_itmnck_int03"; break; // Master's Amulet of Intelligence case 6: sItem = "ar_itmnck_str03"; break; // Master's Amulet of Strength case 7: sItem = "ar_itmnck_wis03"; break; // Master's Amulet of Wisdom case 8: sItem = "ar_itmnck_galian"; break; // Galian's Chain case 9: sItem = "ar_itmnck_earthd"; break; // Earth Drake Heart case 10: sItem = "ar_itmnck_airdh"; break; // Air Drake Heart case 11: sItem = "ar_itmnck_fired"; break; // Fire Drake Heart case 12: sItem = "ar_itmnck_waterd"; break; // Water Drake Heart case 13: sItem = "ar_itmnck_drkvis"; break; // Amulet of Dark Visions case 14: sItem = "ar_itmblt_champ"; break; // Champion's Buckle case 15: sItem = "ar_itmbts_speed"; break; // Sandals of Speed case 16: sItem = "ar_itmbts_ifrit"; break; // Ifrit Boots case 17: sItem = "ar_itmbts_drake"; break; // Drake Forged Boots case 18: sItem = "ar_itpbcr_battle"; break; // Battle Bracers case 19: sItem = "ar_itmclk_travis"; break; // Travis's Cloak case 20: sItem = "ar_itglv_iron02"; break; // Iron Fighting Gauntlets case 21: sItem = "ar_itmglv_wizard"; break; // Preserver's Gloves case 22: sItem = "ar_itmglv_faith"; break; // Gauntlets of Faith case 23: sItem = "ar_itmglv_zephry"; break; // Zephryn's Gloves case 24: sItem = "ar_itmglv_defile"; break; // Defiler's Gauntlets case 25: sItem = "ar_itmglv_bard"; break; // Bard Gloves case 26: sItem = "ar_itpglv_virann"; break; // Viranna's Grasp case 27: sItem = "ar_itpglv_master"; break; // Villichi Master Gauntlets case 28: sItem = "ar_itmrng_cha03"; break; // Master's Ring of Charisma case 29: sItem = "ar_itmrng_con03"; break; // Master's Ring of Constitution case 30: sItem = "ar_itmrng_dex03"; break; // Master's Ring of Dexterity case 31: sItem = "ar_itmrng_int03"; break; // Master's Ring of Intelligence case 32: sItem = "ar_itmrng_str03"; break; // Master's Ring of Strength case 33: sItem = "ar_itmrng_wis03"; break; // Master's Ring of Wisdom case 34: sItem = "ar_itprng_rage"; break; // Ring of Rage case 35: sItem = "ar_itmrng_sr01"; break; // Ring of Spell Resistance case 36: sItem = "ar_itmrng_age01"; break; // Ring of Age case 37: sItem = "ar_itmrng_nature"; break; // Nature's Gift case 38: sItem = "ar_itprng_sense"; break; // Sensory Ring case 39: sItem = "ar_itmrng_hate"; break; // Ring of Hate case 40: sItem = "ar_itmrng_sunrun"; break; // Sunrunner Ring case 41: sItem = "ar_itmrng_sage"; break; // Sage's Ring case 42: sItem = "ar_itmrng_thrax"; break; // Lich's Greed Ring case 43: sItem = "ar_itmnck_cha04"; break; // Iconic Amulet of Charisma case 44: sItem = "ar_itmnck_con04"; break; // Iconic Amulet of Constitution case 45: sItem = "ar_itmnck_dex04"; break; // Iconic Amulet of Dexterity case 46: sItem = "ar_itmnck_int04"; break; // Iconic Amulet of Intelligence case 47: sItem = "ar_itmnck_str04"; break; // Iconic Amulet of Strength case 48: sItem = "ar_itmnck_wis04"; break; // Iconic Amulet of Wisdom case 49: sItem = "ar_itpnck_hocean"; break; // Heart of the Ocean case 50: sItem = "ar_itmblt_undyin"; break; // Belt of the Undying case 51: sItem = "ar_itblt_power"; break; // Girdle of Power case 52: sItem = "ar_itblt_resili"; break; // Girdle of Resilience case 53: sItem = "ar_itmbts_arena"; break; // Gladiator Boots case 54: sItem = "ar_itmbts_draqo"; break; // Boots of the Draqoman case 55: sItem = "ar_itmbcr_wardng"; break; // Bracers of Warding case 56: sItem = "at_itmclk_spectr"; break; // Spectral Cloak case 57: sItem = "at_itmclk_necro"; break; // Necromant's Cloak case 58: sItem = "ar_itmclk_torak"; break; // Torak's Wrap case 59: sItem = "at_itmclk_kaisha"; break; // Kaisharga's Cape case 60: sItem = "ar_itmglv_bledge"; break; // Blinding Edge Gauntlets case 61: sItem = "ar_itmglv_gtouch"; break; // Gentle Touch case 62: sItem = "ar_itpglv_obs03"; break; // Imbued Obsidian Wrist Razors case 63: sItem = "ar_itmglv_sister"; break; // Wrath of the Sisterhood case 64: sItem = "ar_itpglv_repell"; break; // Repellant Gloves case 65: sItem = "ar_itmrng_cha04"; break; // Iconic Ring of Charisma case 66: sItem = "ar_itmrng_con04"; break; // Iconic Ring of Consitution case 67: sItem = "ar_itmrng_dex04"; break; // Iconic Ring of Dexterity case 68: sItem = "ar_itmrng_int04"; break; // Iconic Ring of Intelligence case 69: sItem = "ar_itmrng_str04"; break; // Iconic Ring of Strength case 70: sItem = "ar_itmrng_wis04"; break; // Iconic Ring of Wisdom case 71: sItem = "ar_itmrng_life"; break; // Ring of Life } } //:: End 40 HD - 59 HD Clothing & Jewelry Table if (nTableG == 5) //:: Start 40 HD - 59 HD Clothing & Jewelry Table { int nGems = Random(22)+1; switch (nGems) { case 1: sItem = "crpi_o_agate"; break; // Agate case 2: sItem = "crpi_f_amber"; break; // Amber case 3: sItem = "crpi_f_amethyst"; break; // Amethyst case 4: sItem = "crpi_p_aquamarin"; break; // Aquamarine case 5: sItem = "crpi_f_chrysober"; break; // Chrysoberyl case 6: sItem = "crpi_f_coral"; break; // Coral case 7: sItem = "crpi_p_garnet"; break; // Garnet case 8: sItem = "crpi_f_jade"; break; // Jade case 9: sItem = "crpi_f_jet"; break; // Jet case 10: sItem = "crpi_p_peridot"; break; // Peridot case 11: sItem = "crpi_p_spinel"; break; // Spinel case 12: sItem = "crpi_p_topaz"; break; // Topaz case 13: sItem = "crpi_f_tourmalin"; break; // Tourmaline case 14: sItem = "crpi_g_starsapph"; break; // Star Sapphire case 15: sItem = "crpi_g_blackopal"; break; // Black Opal case 16: sItem = "crpi_g_blacksaph"; break; // Black Sapphire case 17: sItem = "crpi_g_diamond"; break; // Diamond case 18: sItem = "crpi_g_emerald"; break; // Emerald case 19: sItem = "crpi_g_fireopal"; break; // Fire Opal case 20: sItem = "crpi_g_opal"; break; // Opal case 21: sItem = "crpi_g_ruby"; break; // Ruby case 22: sItem = "crpi_g_sapphire"; break; // Sapphire } } //:: End 40 HD - 59 HD Clothing & Jewelry Table if (nTableG == 6) //:: Start 40 HD - 59 HD Potions & Alchemy Items Table { int nPotion = Random(14)+1; switch (nPotion) { case 1: sItem = "pot_deccan"; break; // Deccan Spiritberry case 2: sItem = "pot_lime"; break; // Magical Lime case 3: sItem = "pot_zzgresh"; break; // Magical Zz'gresh Berry case 4: sItem = "pot_holynectar"; break; // Holy Nectar case 5: sItem = "pot_plum"; break; // Magical Plum case 6: sItem = "pot_fenberry"; break; // Magical Fenberry case 7: sItem = "pot_dranja"; break; // Magical Dranja Berry case 8: sItem = "pot_grapes"; break; // Magical Grapes case 9: sItem = "pot_raspberry"; break; // Magical Raspberry case 10: sItem = "pot_cherry"; break; // Magical Cherry case 11: sItem = "pot_lemon"; break; // Magical Lemon case 12: sItem = "prc_it_shedden4"; break; // Shedden +4 case 13: sItem = "pot_magdef"; break; // Potion of Magic Defense case 14: sItem = "prc_it_shedden5"; break; // Shedden +5 } } //:: End 40 HD - 59 HD Potions & Alchemy Items Table if (nTableG == 7) //:: Start 40 HD - 59 HD Scrolls Table { int nScroll = Random(42)+1; switch (nScroll) { case 1: sItem = "nw_it_sparscr901"; break; // Mordenkainen's Disjunction case 2: sItem = "x2_it_spdvscr903"; break; // Storm of Vengeance case 3: sItem = "x1_it_sparscr701"; break; // Bigby's Grasping Hand case 4: sItem = "nw_it_sparscr704"; break; // Delayed Blast Fireball case 5: sItem = "nw_it_sparscr708"; break; // Finger of Death case 6: sItem = "x2_it_spdvscr606"; break; // Greater Sanctuary case 7: sItem = "nw_it_sparscr705"; break; // Mordenkainen's Sword case 8: sItem = "nw_it_sparscr702"; break; // Power Word, Stun case 9: sItem = "nw_it_sparscr706"; break; // Prismatic Spray case 10: sItem = "nw_it_sparscr802"; break; // Protection from Spells case 11: sItem = "x2_it_sparscr703"; break; // Shadow Shield case 12: sItem = "nw_it_sparscr701"; break; // Spell Mantle case 13: sItem = "nw_it_sparscr703"; break; // Summon Creature VII case 14: sItem = "x1_it_sparscr801"; break; // Bigby's Clenched Fist case 15: sItem = "nw_it_sparscr803"; break; // Greater Planar Binding case 16: sItem = "nw_it_sparscr809"; break; // Horrid Wilting case 17: sItem = "nw_it_sparscr804"; break; // Incendiary Cloud case 18: sItem = "nw_it_sparscr807"; break; // Mass Blindness / Deafness case 19: sItem = "nw_it_sparscr806"; break; // Mass Charm case 20: sItem = "nw_it_sparscr801"; break; // Mind Blank case 21: sItem = "nw_it_sparscr808"; break; // Premonition case 22: sItem = "nw_it_sparscr805"; break; // Summon Creature VIII case 23: sItem = "x1_it_spdvscr802"; break; // Sunburst case 24: sItem = "x1_it_sparscr901"; break; // Bigby's Crushing Hand case 25: sItem = "x2_it_sparscr901"; break; // Black Blade of Disaster case 26: sItem = "nw_it_sparscr905"; break; // Dominate Monster case 27: sItem = "nw_it_sparscr908"; break; // Energy Drain case 28: sItem = "nw_it_sparscr902"; break; // Gate case 29: sItem = "x2_it_spdvscr902"; break; // Implosion case 30: sItem = "nw_it_sparscr906"; break; // Meteor Swarm case 31: sItem = "nw_it_sparscr903"; break; // Power Word, Kill case 32: sItem = "x2_it_sparscr902"; break; // Tide of Battle case 33: sItem = "x1_it_spdvscr901"; break; // Undeath's Eternal Foe case 34: sItem = "nw_it_sparscr909"; break; // Wail of the Banshee case 35: sItem = "nw_it_sparscr907"; break; // Weird case 36: sItem = "x2_it_sparscr701"; break; // Great Thunderclap case 37: sItem = "nw_it_spdvscr702"; break; // Resurrection case 38: sItem = "nw_it_sparscr904"; break; // Summon Creature IX case 39: sItem = "x2_it_sparscr801"; break; // Blackstaff case 40: sItem = "nw_it_sparscr614"; break; // Tenser's Transformation case 41: sItem = "nw_it_sparscr910"; break; // Shapechange case 42: sItem = "nw_it_sparscr912"; break; // Greater Spell Mantle } } //:: End 40 HD - 59 HD Scrolls Table if (nTableG == 8) //:: Start 40 HD - 59 HD Mundane Miscellaneous Table { int nMundane = Random(19)+1; switch (nMundane) { case 1: sItem = "ar_it_contain001"; break; // Least Bag of Reduction case 2: sItem = "nw_it_picks004"; break; // Thieves' Tools +10 case 3: sItem = "prc_it_shedden4"; break; // Shedden +4 case 4: sItem = "x2_it_trap001"; break; // Epic Electrical Trap Kit case 5: sItem = "x2_it_trap002"; break; // Epic Fire Trap Kit case 6: sItem = "x2_it_trap003"; break; // Epic Frost Trap Kit case 7: sItem = "x2_it_trap004"; break; // Epic Sonic Trap Kit case 8: sItem = "nw_it_trap036"; break; // Deadly Acid Splash Trap Kit case 9: sItem = "nw_it_trap032"; break; // Deadly Frost Trap Kit case 10: sItem = "nw_it_trap040"; break; // Deadly Sonic Trap Kit case 11: sItem = "nw_it_trap008"; break; // Deadly Holy Trap Kit case 12: sItem = "nw_it_trap044"; break; // Deadly Negative Trap Kit case 13: sItem = "nw_it_trap012"; break; // Deadly Tangle Trap Kit case 14: sItem = "nw_it_trap016"; break; // Deadly Blob of Acid Trap Kit case 15: sItem = "nw_it_trap020"; break; // Deadly Fire Trap Kit case 16: sItem = "nw_it_trap004"; break; // Deadly Spike Trap Kit case 17: sItem = "nw_it_trap024"; break; // Deadly Electrical Trap Kit case 18: sItem = "nw_it_trap028"; break; // Deadly Gas Trap Kit case 19: sItem = "prc_it_shedden5"; break; // Shedden +5 } } //:: End 40 HD - 59 HD Mundane Miscellaneous Table if (nTableG == 9) //:: Start 40 HD - 59 HD Magical Miscellaneous Table { int nMagic = Random(13)+1; switch (nMagic) { case 1: sItem = "ar_itmbk_strengt"; break; // Book of Strength case 2: sItem = "ar_it_zephyr"; break; // Lute of Zephyr case 3: sItem = "ar_wmgrd_elem03"; break; // Greater Rod of Elements case 4: sItem = "ar_wmgst_gflame"; break; // Groveflame case 5: sItem = "ar_wmgst_boon"; break; // Minstrel's Boon case 6: sItem = "ar_wmgst_frdrake"; break; // Staff of the Fire Drake case 7: sItem = "ar_wmgst_prize"; break; // Prize of the Dead Lands case 8: sItem = "ar_itm_ashelgora"; break; // Heart of Ash'el'gorath case 9: sItem = "ar_it_discord"; break; // Pipes of Discord case 10: sItem = "ar_wpsst_gaj"; break; // Staff of the Gaj case 11: sItem = "ar_wmgst_hope"; break; // Preserver's Hope case 12: sItem = "ar_wmgst_black"; break; // Staff of the Black case 13: sItem = "ar_wmgst_grystem"; break; // Greystem } } //:: End 40 HD - 59 HD Magical Miscellaneous Table if (nTableG == 10) //:: Start End 40 HD - 59 HD Epic Spells & Spell Seeds Table { int nESS = Random(89)+1; switch (nESS) { case 1: sItem = "epic_sd_ward"; break; // Epic Spell Seed Ward case 2: sItem = "epic_sd_afflict"; break; // Epic Spell Seed Afflict case 3: sItem = "epic_sd_animate"; break; // Epic Spell Seed Animate case 4: sItem = "epic_sd_animdead"; break; // Epic Spell Seed Animate Dead case 5: sItem = "epic_sd_armor"; break; // Epic Spell Seed Armor case 6: sItem = "epic_sd_banish"; break; // Epic Spell Seed Banish case 7: sItem = "epic_sd_compel"; break; // Epic Spell Seed Compel case 8: sItem = "epic_sd_conceal"; break; // Epic Spell Seed Conceal case 9: sItem = "epic_sd_conjure"; break; // Epic Spell Seed Conjure case 10: sItem = "epic_sd_contact"; break; // Epic Spell Seed Contact case 11: sItem = "epic_sd_delude"; break; // Epic Spell Seed Delude case 12: sItem = "epic_sd_destroy"; break; // Epic Spell Seed Destroy case 13: sItem = "epic_sd_dispel"; break; // Epic Spell Seed Dispel case 14: sItem = "epic_sd_energy"; break; // Epic Spell Seed Energy case 15: sItem = "epic_sd_foresee"; break; // Epic Spell Seed Foresee case 16: sItem = "epic_sd_fortify"; break; // Epic Spell Seed Forify case 17: sItem = "epic_sd_heal"; break; // Epic Spell Seed Heal case 18: sItem = "epic_sd_life"; break; // Epic Spell Seed Life case 19: sItem = "epic_sd_light"; break; // Epic Spell Seed Light case 20: sItem = "epic_sd_oppos"; break; // Epic Spell Seed Opposition case 21: sItem = "epic_sd_reflect"; break; // Epic Spell Seed Reflect case 22: sItem = "epic_sd_reveal"; break; // Epic Spell Seed Reveal case 23: sItem = "epic_sd_shadow"; break; // Epic Spell Seed Shadow case 24: sItem = "epic_sd_slay"; break; // Epic Spell Seed Slay case 25: sItem = "epic_sd_summon"; break; // Epic Spell Seed Summon case 26: sItem = "epic_sd_time"; break; // Epic Spell Seed Time case 27: sItem = "epic_sd_transfrm"; break; // Epic Spell Seed Transform case 28: sItem = "epic_sd_transprt"; break; // Epic Spell Seed Transport case 29: sItem = "epic_sp_unseenwa"; break; // Epic Spell Unseen Wanderer case 30: sItem = "epic_sp_audstone"; break; // Epic Spell Audience of Stone case 31: sItem = "epic_sp_achilles"; break; // Epic Spell Achilles Heel case 32: sItem = "epic_sp_allmart"; break; // Epic Spell Allied Martyr case 33: sItem = "epic_sp_allhope"; break; // Epic Spell All Hope Lost case 34: sItem = "epic_sp_anarchy"; break; // Epic Spell Anarchy's Call case 35: sItem = "epic_sp_animblas"; break; // Epic Spell Animus Blast case 36: sItem = "epic_sp_animbliz"; break; // Epic Spell Animus Blizzard case 37: sItem = "epic_sp_armyunfa"; break; // Epic Spell Army Unfallen case 38: sItem = "epic_sp_batbound"; break; // Epic Spell Battle Bounding case 39: sItem = "epic_sp_champval"; break; // Epic Spell Champion's Valor case 40: sItem = "epic_sp_contresu"; break; // Epic Spell Contingent Resurrection case 41: sItem = "epic_sp_contreun"; break; // Epic Spell Contingent Reunion case 42: sItem = "epic_sp_deadeyes"; break; // Epic Spell Deadeye Sense case 43: sItem = "epic_sp_dreamscp"; break; // Epic Spell Dreamscape case 44: sItem = "epic_sp_deathmrk"; break; // Epic Spell Deathmark case 45: sItem = "epic_sp_dullblad"; break; // Epic Spell Dullblades case 46: sItem = "epic_sp_dweomert"; break; // Epic Spell Dweomer Thief case 47: sItem = "epic_sp_enslave"; break; // Epic Spell Enslave case 48: sItem = "epic_sp_epmagarm"; break; // Epic Spell Epic Mage Armor case 49: sItem = "epic_sp_eprepuls"; break; // Epic Spell Epic Repulsion case 50: sItem = "epic_sp_epspellr"; break; // Epic Spell Epic Spell Reflection case 51: sItem = "epic_sp_epwardin"; break; // Epic Spell Epic Warding case 52: sItem = "epic_sp_eterfree"; break; // Epic Spell Eternal Freedom case 53: sItem = "epic_sp_fleetnes"; break; // Epic Spell Fleetness of Foot case 54: sItem = "epic_sp_greatrui"; break; // Epic Spell Greater Ruin case 55: sItem = "epic_sp_grspellr"; break; // Epic Spell Greater Spell Resistance case 56: sItem = "epic_sp_grtimest"; break; // Epic Spell Greater Timestop case 57: sItem = "epic_sp_hellball"; break; // Epic Spell Hellball case 58: sItem = "epic_sp_hellsend"; break; // Epic Spell Hell Send case 59: sItem = "epic_sp_hercalli"; break; // Epic Spell Herculean Alliance case 60: sItem = "epic_sp_hercempo"; break; // Epic Spell Herculean Empowerment case 61: sItem = "epic_sp_impenetr"; break; // Epic Spell Impenetrability case 62: sItem = "epic_sp_leechfie"; break; // Epic Spell Leech Field case 63: sItem = "epic_sp_legendar"; break; // Epic Spell Legendary Artisan case 64: sItem = "epic_sp_lifeforc"; break; // Epic Spell Life Force Transfer case 65: sItem = "epic_sp_magmabur"; break; // Epic Spell Magma Burst case 66: sItem = "epic_sp_momentom"; break; // Epic Spell Momento Mori case 67: sItem = "epic_sp_mummdust"; break; // Epic Spell Mummy Dust case 68: sItem = "epic_sp_nailedsk"; break; // Epic Spell Nailed to the Sky case 69: sItem = "epic_sp_nightsun"; break; // Epic Spell Night's Undoing case 70: sItem = "epic_sp_orderres"; break; // Epic Spell Order Restored case 71: sItem = "epic_sp_pathsbec"; break; // Epic Spell Paths Become Known case 72: sItem = "epic_sp_peerless"; break; // Epic Spell Peerless Penitence case 73: sItem = "epic_sp_pestilen"; break; // Epic Spell Pestilence case 74: sItem = "epic_sp_planarce"; break; // Epic Spell Planar Cell case 75: sItem = "epic_sp_psionics"; break; // Epic Spell Psionic Salvo case 76: sItem = "epic_sp_risenreu"; break; // Epic Spell Risen Reunited case 77: sItem = "epic_sp_ruin"; break; // Epic Spell Ruin case 78: sItem = "epic_sp_singsund"; break; // Epic Spell Singular Sunder case 79: sItem = "epic_sp_spelworm"; break; // Epic Spell Spell Worm case 80: sItem = "epic_sp_stormman"; break; // Epic Spell Storm Mantle case 81: sItem = "epic_sp_summaber"; break; // Epic Spell Summon Aberration case 82: sItem = "epic_sp_superbdi"; break; // Epic Spell Superb Dispelling case 83: sItem = "epic_sp_symrusta"; break; // Epic Spell Symrustar's Spellbinding case 84: sItem = "epic_sp_thewithe"; break; // Epic Spell The Withering case 85: sItem = "epic_sp_tolodine"; break; // Epic Spell Tolodine's Killing Wind case 86: sItem = "epic_sp_transvit"; break; // Epic Spell Transcendent Vitality case 87: sItem = "epic_sp_twinfien"; break; // Epic Spell Twinfiend case 88: sItem = "epic_sp_unholydi"; break; // Epic Spell Unholy Disciple case 89: sItem = "epic_sp_unimping"; break; // Epic Spell Unimpinged } } //:: End End 40 HD - 59 HD Epic Spells & Spell Seeds Table } //:: End [Table G] 40 HD - 59 HD Loot Tables //:: //:: Handles extra loot for very high (57+) HD mobs //:: if (nMobHD > 56 && nMobHD < 61) { SetLocalInt(OBJECT_SELF, "MAX_LOOT", 1); Loot(); UberLoot(); } //:: //:: Handles extra loot for very high (59+) HD mobs //:: if (nMobHD > 58) { SetLocalInt(OBJECT_SELF, "MAX_LOOT", 1); Loot(); int nTries = 0; int nDrops = d4(); while (nTries < nDrops) { UberLoot(); nTries++; } } if ((GetLocalInt(GetModule(), "LOOT_DEBUG") > 0 )) { SpeakString("RegularLoot()"); SpeakString("Item rolled case "+IntToString(nRandom)+" sItem "+sItem+" Stack "+IntToString(nStack)); } dsoCreateItemOnObject(sItem, OBJECT_SELF, nStack); } //:: End Loot() void EpicSpellLoot() //:: Start EpicSpellLoot() { int nESS = Random(90)+1; switch (nESS) { case 1: sItem = "crpi_broken"; break; // Broken Item case 2: sItem = "epic_sd_afflict"; break; // Epic Spell Seed Afflict case 3: sItem = "epic_sd_animate"; break; // Epic Spell Seed Animate case 4: sItem = "epic_sd_animdead"; break; // Epic Spell Seed Animate Dead case 5: sItem = "epic_sd_armor"; break; // Epic Spell Seed Armor case 6: sItem = "epic_sd_banish"; break; // Epic Spell Seed Banish case 7: sItem = "epic_sd_compel"; break; // Epic Spell Seed Compel case 8: sItem = "epic_sd_conceal"; break; // Epic Spell Seed Conceal case 9: sItem = "epic_sd_conjure"; break; // Epic Spell Seed Conjure case 10: sItem = "epic_sd_contact"; break; // Epic Spell Seed Contact case 11: sItem = "epic_sd_delude"; break; // Epic Spell Seed Delude case 12: sItem = "epic_sd_destroy"; break; // Epic Spell Seed Destroy case 13: sItem = "epic_sd_dispel"; break; // Epic Spell Seed Dispel case 14: sItem = "epic_sd_energy"; break; // Epic Spell Seed Energy case 15: sItem = "epic_sd_foresee"; break; // Epic Spell Seed Foresee case 16: sItem = "epic_sd_fortify"; break; // Epic Spell Seed Forify case 17: sItem = "epic_sd_heal"; break; // Epic Spell Seed Heal case 18: sItem = "epic_sd_life"; break; // Epic Spell Seed Life case 19: sItem = "epic_sd_light"; break; // Epic Spell Seed Light case 20: sItem = "epic_sd_oppos"; break; // Epic Spell Seed Opposition case 21: sItem = "epic_sd_reflect"; break; // Epic Spell Seed Reflect case 22: sItem = "epic_sd_reveal"; break; // Epic Spell Seed Reveal case 23: sItem = "epic_sd_shadow"; break; // Epic Spell Seed Shadow case 24: sItem = "epic_sd_slay"; break; // Epic Spell Seed Slay case 25: sItem = "epic_sd_summon"; break; // Epic Spell Seed Summon case 26: sItem = "epic_sd_time"; break; // Epic Spell Seed Time case 27: sItem = "epic_sd_transfrm"; break; // Epic Spell Seed Transform case 28: sItem = "epic_sd_transprt"; break; // Epic Spell Seed Transport case 29: sItem = "epic_sd_ward"; break; // Epic Spell Seed Ward case 30: sItem = "epic_sp_audstone"; break; // Epic Spell Audience of Stone case 31: sItem = "epic_sp_achilles"; break; // Epic Spell Achilles Heel case 32: sItem = "epic_sp_allmart"; break; // Epic Spell Allied Martyr case 33: sItem = "epic_sp_allhope"; break; // Epic Spell All Hope Lost case 34: sItem = "epic_sp_anarchy"; break; // Epic Spell Anarchy's Call case 35: sItem = "epic_sp_animblas"; break; // Epic Spell Animus Blast case 36: sItem = "epic_sp_animbliz"; break; // Epic Spell Animus Blizzard case 37: sItem = "epic_sp_armyunfa"; break; // Epic Spell Army Unfallen case 38: sItem = "epic_sp_batbound"; break; // Epic Spell Battle Bounding case 39: sItem = "epic_sp_champval"; break; // Epic Spell Champion's Valor case 40: sItem = "epic_sp_contresu"; break; // Epic Spell Contingent Resurrection case 41: sItem = "epic_sp_contreun"; break; // Epic Spell Contingent Reunion case 42: sItem = "epic_sp_deadeyes"; break; // Epic Spell Deadeye Sense case 43: sItem = "epic_sp_dreamscp"; break; // Epic Spell Dreamscape case 44: sItem = "epic_sp_deathmrk"; break; // Epic Spell Deathmark case 45: sItem = "epic_sp_dullblad"; break; // Epic Spell Dullblades case 46: sItem = "epic_sp_dweomert"; break; // Epic Spell Dweomer Thief case 47: sItem = "epic_sp_enslave"; break; // Epic Spell Enslave case 48: sItem = "epic_sp_epmagarm"; break; // Epic Spell Epic Mage Armor case 49: sItem = "epic_sp_eprepuls"; break; // Epic Spell Epic Repulsion case 50: sItem = "epic_sp_epspellr"; break; // Epic Spell Epic Spell Reflection case 51: sItem = "epic_sp_epwardin"; break; // Epic Spell Epic Warding case 52: sItem = "epic_sp_eterfree"; break; // Epic Spell Eternal Freedom case 53: sItem = "epic_sp_fleetnes"; break; // Epic Spell Fleetness of Foot case 54: sItem = "epic_sp_greatrui"; break; // Epic Spell Greater Ruin case 55: sItem = "epic_sp_grspellr"; break; // Epic Spell Greater Spell Resistance case 56: sItem = "epic_sp_grtimest"; break; // Epic Spell Greater Timestop case 57: sItem = "epic_sp_hellball"; break; // Epic Spell Hellball case 58: sItem = "epic_sp_hellsend"; break; // Epic Spell Hell Send case 59: sItem = "epic_sp_hercalli"; break; // Epic Spell Herculean Alliance case 60: sItem = "epic_sp_hercempo"; break; // Epic Spell Herculean Empowerment case 61: sItem = "epic_sp_impenetr"; break; // Epic Spell Impenetrability case 62: sItem = "epic_sp_leechfie"; break; // Epic Spell Leech Field case 63: sItem = "epic_sp_legendar"; break; // Epic Spell Legendary Artisan case 64: sItem = "epic_sp_lifeforc"; break; // Epic Spell Life Force Transfer case 65: sItem = "epic_sp_magmabur"; break; // Epic Spell Magma Burst case 66: sItem = "epic_sp_momentom"; break; // Epic Spell Momento Mori case 67: sItem = "epic_sp_mummdust"; break; // Epic Spell Mummy Dust case 68: sItem = "epic_sp_nailedsk"; break; // Epic Spell Nailed to the Sky case 69: sItem = "epic_sp_nightsun"; break; // Epic Spell Night's Undoing case 70: sItem = "epic_sp_orderres"; break; // Epic Spell Order Restored case 71: sItem = "epic_sp_pathsbec"; break; // Epic Spell Paths Become Known case 72: sItem = "epic_sp_peerless"; break; // Epic Spell Peerless Penitence case 73: sItem = "epic_sp_pestilen"; break; // Epic Spell Pestilence case 74: sItem = "epic_sp_planarce"; break; // Epic Spell Planar Cell case 75: sItem = "epic_sp_psionics"; break; // Epic Spell Psionic Salvo case 76: sItem = "epic_sp_risenreu"; break; // Epic Spell Risen Reunited case 77: sItem = "epic_sp_ruin"; break; // Epic Spell Ruin case 78: sItem = "epic_sp_singsund"; break; // Epic Spell Singular Sunder case 79: sItem = "epic_sp_spelworm"; break; // Epic Spell Spell Worm case 80: sItem = "epic_sp_stormman"; break; // Epic Spell Storm Mantle case 81: sItem = "epic_sp_summaber"; break; // Epic Spell Summon Aberration case 82: sItem = "epic_sp_superbdi"; break; // Epic Spell Superb Dispelling case 83: sItem = "epic_sp_symrusta"; break; // Epic Spell Symrustar's Spellbinding case 84: sItem = "epic_sp_thewithe"; break; // Epic Spell The Withering case 85: sItem = "epic_sp_tolodine"; break; // Epic Spell Tolodine's Killing Wind case 86: sItem = "epic_sp_transvit"; break; // Epic Spell Transcendent Vitality case 87: sItem = "epic_sp_twinfien"; break; // Epic Spell Twinfiend case 88: sItem = "epic_sp_unholydi"; break; // Epic Spell Unholy Disciple case 89: sItem = "epic_sp_unimping"; break; // Epic Spell Unimpinged case 90: sItem = "epic_sp_unseenwa"; break; // Epic Spell Unseen Wanderer } if ((GetLocalInt(GetModule(), "LOOT_DEBUG") > 0 )) { SpeakString("EpicSpellLoot()"); SpeakString("Item rolled case "+IntToString(nRandom)+" sItem "+sItem+" Stack "+IntToString(nStack)); } dsoCreateItemOnObject(sItem, OBJECT_SELF, nStack); } //:: End EpicSpellLoot()