ok guys, since alot of the time the hallowed wands don't work on private servers i decided to whip up a little halloween treat for you. good news is that theres NO BUGS with this so have fun and have a happy halloween
Features:
100% bug free Lua script fully working
Costume vendor has a manu to choose from on what costumes you want to wear.
Applies the costume correctly with no errors
Spirit Halloween Costume Vendor
Code:
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('900110', "Spirit Halloween", "Halloween Costumes", '', '0', '10', '0', '1', '0', '0', '20020', '20022', '0', '0', '1', '1', '0', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('900110', '80', '80', '35', '63000', '63000', '36000', '1', '0', '100', '0', '3000', '4000', '0', '0', '0', '0', '500000', '8000', '0', '0', '0', '0', '0', '0', '0', '0', "0", '1', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
Spirit Halloween Lua script to make it work
Code:
--Scripted by Shadowheals, Admin of WoW-Knights.25u.com
--Enjoy the Script and have a Happy Halloween
local VERSION = "1.0"
local SERVER_NAME = "WoW Knights" --Change to your server name
function On_Gossip_Talk2(unit, event, player)
unit:GossipCreateMenu(3544, player, 0)
unit:GossipMenuAddItem(2, "|cFF008080Pirate Costumes", 7000, 0)
unit:GossipMenuAddItem(2, "|cFF0000FFNinja Costumes", 7001, 0)
unit:GossipMenuAddItem(2, "|cFF008080Leper Gnome Costumes", 7002, 0)
unit:GossipMenuAddItem(2, "|cFF0000FFGhost Costumes", 7003, 0)
unit:GossipMenuAddItem(2, "|cFF008080Bat Costume", 7004, 0)
unit:GossipMenuAddItem(2, "|cFF0000FFSkeleton Costume", 7005, 0)
unit:GossipMenuAddItem(2, "|cFF008080Wisp Costume", 7006, 0)
unit:GossipMenuAddItem(2, "BONUS!|cFF0000FFRabbit Costume", 7015, 0)
unit:GossipMenuAddItem(2, "BONUS!|cFF0000FFFrog Costume", 7016, 0)
unit:GossipSendMenu(player)
end
function On_Gossip_Select2 (unit, event, player, id, intid, code)
if(intid == 7000) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(1, "Undead Male Pirate", 7007, 0)
unit:GossipMenuAddItem(1, "Human Female Pirate", 7008, 0)
unit:GossipSendMenu(player)
end
if(intid == 7001) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(1, "Human Male Ninja", 7009, 0)
unit:GossipMenuAddItem(1, "Human Female Ninja", 7010, 0)
unit:GossipSendMenu(player)
end
if(intid == 7002) then
unit:GossipCreateMenu(62, player, 0)
unit:GossipMenuAddItem(1, "Male Leper Gnome", 7011, 0)
unit:GossipMenuAddItem(1, "Female Leper Gnome", 7012, 0)
unit:GossipSendMenu(player)
end
if(intid == 7003) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(1, "Male Ghost", 7013, 0)
unit:GossipMenuAddItem(1, "Female Ghost", 7014, 0)
unit:GossipSendMenu(player)
end
if(intid == 7004) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24732, player)
unit:GossipSendMenu(player)
end
if(intid == 7005) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24723, player)
unit:GossipSendMenu(player)
end
if(intid == 7006) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24740, player)
unit:GossipSendMenu(player)
end
if(intid == 7007) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24708, player)
unit:GossipSendMenu(player)
end
if(intid == 7008) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24709, player)
unit:GossipSendMenu(player)
end
if(intid == 7009) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24711, player)
unit:GossipSendMenu(player)
end
if(intid == 7010) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24710, player)
unit:GossipSendMenu(player)
end
if(intid == 7011) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24712, player)
unit:GossipSendMenu(player)
end
if(intid == 7012) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24713, player)
unit:GossipSendMenu(player)
end
if(intid == 7013) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24735, player)
unit:GossipSendMenu(player)
end
if(intid == 7014) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24736, player)
unit:GossipSendMenu(player)
end
if(intid == 7015) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(61716, player)
unit:GossipSendMenu(player)
end
if(intid == 7016) then
unit:GossipCreateMenu(3543, player, 0)
unit:FullCastSpellOnTarget(24753, player)
unit:GossipSendMenu(player)
end
end
RegisterUnitGossipEvent(900110, 1, "On_Gossip_Talk2")
RegisterUnitGossipEvent(900110, 2, "On_Gossip_Select2")
--Never edit Below this
print (" ====================================================")
print (" Loaded: Warp NPC (V"..VERSION..")")
print (" Made by Supernova")
print (" This script is Originally released for WoW Knights")
print (" This script now works on: ("..SERVER_NAME..")")
print (" ====================================================")
Please do not distribute without proper credits. this is probably the first costume vendor that applies them directly on click but im not sure.