mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 02:22:19 -04:00
24 lines
975 B
Lua
24 lines
975 B
Lua
local WolfRider = {};
|
|
|
|
local dialogues = {
|
|
"For the Horde!",
|
|
"Victory for the Horde!",
|
|
"Our enemies will tremble before the might of the Horde!",
|
|
"Lok'tar ogar!",
|
|
"Let the winds of war carry us to glory!",
|
|
"The Horde will claim what is rightfully ours!",
|
|
"We will show the Lich King the power of the Horde!",
|
|
"For the glory of the Warchief!",
|
|
"None shall stand against the Horde!",
|
|
"Our enemies will rue the day they crossed the Horde!",
|
|
"With the strength of the Horde, we will triumph!",
|
|
"Let us show the Scourge the might of the Horde!",
|
|
"We will prove the might of the Horde!",
|
|
}
|
|
|
|
local function OnSpawn(event, creature)
|
|
local randomDialogue = dialogues[math.random(26)] -- Selects a random dialogue from the "dialogues" table
|
|
creature:SendUnitYell(randomDialogue,0) -- Makes the creature yell the selected dialogue
|
|
end
|
|
|
|
RegisterCreatureEvent(400045, 5, OnSpawn) -- Registers the "OnSpawn" function as a spawn event for the creature with ID 400014 |