Likes: 0
Results 1 to 2 of 2
Thread: (Share)[Lua]Mohawk Script
Threaded View
-
17-03-10, 10:59 PM #1Banned

- Rep Power
- 0
- Reputation
- 87
(Share)[Lua]Mohawk Script
---Scripted by Crumpetman---
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.Code: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")
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.







Reply With Quote




