Code:
--Scripted for Halloween Town WoW -Anthraxstudios.tk
--Enjoy the Script and have a Happy Halloween (C)
local VERSION = "2.0"
local SERVER_NAME = "Holloween Town WoW" --Ce
function NPCGossipTest_OnGossipTalk(pUnit, event, player, pMisc)
pUnit:GossipCreateMenu(100, player, 0)
pUnit:GossipMenuAddItem(0, "Greetings There! Welcome to HTW!!", 1, 0)
pUnit:GossipMenuAddItem(0, "OOHH OOHHH CLICK ME!!!", 2, 0)
pUnit:GossipMenuAddItem(0, "Parties, Rules, and More!", 3, 0)
pUnit:GossipSendMenu(player)
end
function NPCGossipTest_OnGossipSelect(Unit, Event, player, id, intid, code, pMisc)
if (intid == 1) then
player:SendBroadcastMessage("Have a spooky time in holloween town!")
Unit:GossipComplete()
end
if (intid == 2) then
player:SendBroadcastMessage("This Server runs on a custom core based on arcemu patch 3.3.5a by project anthrax for holloween town wow")
Unit:GossipComplete()
end
if (intid == 3) then
player:SendBroadcastMessage("This server was designed for your own special halloween experience keep in mind the server rules! and check out all our fun evens and parties!")
Unit:GossipComplete()
end
end
RegisterUnitGossipEvent(99988, 1, "NPCGossipTest_OnGossipTalk")
RegisterUnitGossipEvent(99988, 2, "NPCGossipTest_OnGossipSelect")
--Never edit Below this
print (" ====================================================")
print (" Loaded: HTW Info Guard NPC (V"..VERSION..")")
print (" Made by Rappelz & Project Anthrax")
print (" This script is Originally released for MMoTop")
print (" This script now works on: ("..SERVER_NAME..")")
print (" ====================================================")
Guardinfo.sql
Code:
insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `killcredit1`, `killcredit2`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `leader`)
values ('99988', "Halloween Town WoW Guard", "", '', '0', '10', '0', '0', '0', '0', '22351', '0', '0', '0', '1', '1', '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`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`, `summonguard`)
values ('99988', '254', '255', '7', '9999', '9999', '9999', '1', '1', '3000', '0', '9998', '9999', '0', '0', '0', '0', '4000', '9999', '9999', '9999', '9999', '9999', '9999', '9999', '0', '0', "0", '0', '550000', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0', '1');
Bookmarks