Noblebeastx
17-03-10, 10:59 PM
---Scripted by Crumpetman---
local NPC_ID = Change me to your npc ID
function Mohawk_OnGossip(Unit, Event, Plr)
Unit:GossipCreateMenu(99999, Plr, 0)
Unit:GossipMenuAddItem(0, "I believe in you.", 1, 0)
Unit:GossipSendMenu(Plr)
end
function Mohawk_OnSelect(Unit, Event, Plr, id, intid, code)
if (intid == 1) then
Plr:CastSpell(55884)
Plr:AddItem(43489, 5)
Plr:GossipComplete()
end
end
RegisterUnitGossipEvent(NPC_ID,1,"Mohawk_OnGossip")
RegisterUnitGossipEvent(NPC_ID,2,"Mohawk_OnSelect")
If you want him fully blizzlike open up your database select world, go down to npc_text table and open it. make a new entry in it and type.
entry - 99999
prob0 - 1.0
text0-0 - There are some who do not believe in the legendary Night Elf Mohawks.
I pity the fools.
Then leave the rest blank to autofill. Once thats done restart your server, clear your cache and it should work.
If your bombs don't get added to your bags, or they don't work that isnt the scripts fault it is because they are not in your database, or don't work correctly.
local NPC_ID = Change me to your npc ID
function Mohawk_OnGossip(Unit, Event, Plr)
Unit:GossipCreateMenu(99999, Plr, 0)
Unit:GossipMenuAddItem(0, "I believe in you.", 1, 0)
Unit:GossipSendMenu(Plr)
end
function Mohawk_OnSelect(Unit, Event, Plr, id, intid, code)
if (intid == 1) then
Plr:CastSpell(55884)
Plr:AddItem(43489, 5)
Plr:GossipComplete()
end
end
RegisterUnitGossipEvent(NPC_ID,1,"Mohawk_OnGossip")
RegisterUnitGossipEvent(NPC_ID,2,"Mohawk_OnSelect")
If you want him fully blizzlike open up your database select world, go down to npc_text table and open it. make a new entry in it and type.
entry - 99999
prob0 - 1.0
text0-0 - There are some who do not believe in the legendary Night Elf Mohawks.
I pity the fools.
Then leave the rest blank to autofill. Once thats done restart your server, clear your cache and it should work.
If your bombs don't get added to your bags, or they don't work that isnt the scripts fault it is because they are not in your database, or don't work correctly.