Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] hello where can you download the eluna code generator?

[DiscordArchive] hello where can you download the eluna code generator?

[DiscordArchive] hello where can you download the eluna code generator?

rektbyfaith
Administrator
0
02-12-2021, 01:36 AM
#1
Archived author: avirex94 • Posted: 2021-02-12T01:36:21.634000+00:00
Original source

hello where can you download the eluna code generator?
rektbyfaith
02-12-2021, 01:36 AM #1

Archived author: avirex94 • Posted: 2021-02-12T01:36:21.634000+00:00
Original source

hello where can you download the eluna code generator?

rektbyfaith
Administrator
0
02-12-2021, 03:28 AM
#2
Archived author: Naruon • Posted: 2021-02-12T03:28:08.843000+00:00
Original source

ok finally nailed it!
rektbyfaith
02-12-2021, 03:28 AM #2

Archived author: Naruon • Posted: 2021-02-12T03:28:08.843000+00:00
Original source

ok finally nailed it!

rektbyfaith
Administrator
0
02-12-2021, 03:28 AM
#3
Archived author: Naruon • Posted: 2021-02-12T03:28:10.514000+00:00
Original source

local NPCID = 190003


function On_Gossip(event, player, pUnit)
player:GossipMenuAddItem(3,"I'd like to learn to ride please!",0,1)
player:GossipMenuAddItem(3,"Goodbye",0,999)
player:GossipSendMenu(1, pUnit)
end

function On_Select(event, player, pUnit, sender, intid, code)
ridchk = player:HasSpell(33388)
if (ridchk == true) then
player:SendBroadcastMessage("You already posess this skill!")
player:GossipComplete()
else

if (intid == 1) then
player:LearnSpell(33388)
player:AddItem(190001,1)
player:SendBroadcastMessage("Riding granted & Mount Token added to inventory.")
player:GossipComplete()
end
end


if (intid == 999) then
player:GossipComplete()
end
end
RegisterCreatureGossipEvent(NPCID, 1, On_Gossip)
RegisterCreatureGossipEvent(NPCID, 2, On_Select)
rektbyfaith
02-12-2021, 03:28 AM #3

Archived author: Naruon • Posted: 2021-02-12T03:28:10.514000+00:00
Original source

local NPCID = 190003


function On_Gossip(event, player, pUnit)
player:GossipMenuAddItem(3,"I'd like to learn to ride please!",0,1)
player:GossipMenuAddItem(3,"Goodbye",0,999)
player:GossipSendMenu(1, pUnit)
end

function On_Select(event, player, pUnit, sender, intid, code)
ridchk = player:HasSpell(33388)
if (ridchk == true) then
player:SendBroadcastMessage("You already posess this skill!")
player:GossipComplete()
else

if (intid == 1) then
player:LearnSpell(33388)
player:AddItem(190001,1)
player:SendBroadcastMessage("Riding granted & Mount Token added to inventory.")
player:GossipComplete()
end
end


if (intid == 999) then
player:GossipComplete()
end
end
RegisterCreatureGossipEvent(NPCID, 1, On_Gossip)
RegisterCreatureGossipEvent(NPCID, 2, On_Select)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)