mirror of
https://github.com/araxiaonline/RandomScriptsforAzerothCore.git
synced 2026-06-13 02:22:19 -04:00
39 lines
1.3 KiB
Lua
39 lines
1.3 KiB
Lua
local npcId = 400014 --ID from creature_template
|
|
|
|
local dialogues = {
|
|
"Defend our lands with all you've got!",
|
|
"Victory is ours, if we stand together!",
|
|
"We are the shield that protects our people!",
|
|
"Show no mercy to those who would harm us!",
|
|
"Justice for our fallen!",
|
|
"Stand firm, for the future of our kingdom!",
|
|
"Today, we fight for everything we hold dear!",
|
|
"Let our enemies know that we will not be broken!",
|
|
"With honor and bravery, we will triumph!",
|
|
"We will not bow down to tyranny!",
|
|
"Rise up and defend our way of life!",
|
|
"In the face of danger, we stand strong!",
|
|
"For our families, for our friends, we fight!",
|
|
"Our cause is just, our resolve unbreakable!",
|
|
"Glory awaits those who face the fray!",
|
|
"No quarter for the enemy!",
|
|
"Hold the line, for the sake of all!",
|
|
"Today, we make history with our bravery!",
|
|
"The battle is upon us!",
|
|
"We fight for the defense of our homeland!",
|
|
"Make them pay for every inch they gain!",
|
|
"For the Alliance!",
|
|
"Ready yourselves for battle!",
|
|
"Prepare yourselves for the oncoming assault!",
|
|
"Steady yourselves, men. A terrible enemy approaches!",
|
|
"Don't let the enemy make it to the castle!"
|
|
}
|
|
|
|
local function OnSpawn(event, creature)
|
|
local randomDialogue = dialogues[math.random(26)]
|
|
creature:SendUnitYell(randomDialogue,0)
|
|
end
|
|
|
|
RegisterCreatureEvent(npcId, 5, OnSpawn)
|
|
|