mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
19 lines
337 B
C++
19 lines
337 B
C++
|
|
#include "ScriptPCH.h"
|
||
|
|
#include "ScriptedEscortAI.h"
|
||
|
|
|
||
|
|
class flyer : public CreatureScript
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
flyer() : CreatureScript("flyer") { }
|
||
|
|
|
||
|
|
bool OnGossipHello(Player* pPlayer, Creature* pCreature)
|
||
|
|
{
|
||
|
|
pPlayer->CastSpell(pPlayer, 31719, true);
|
||
|
|
return true;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
void AddSC_flyer()
|
||
|
|
{
|
||
|
|
new flyer;
|
||
|
|
}
|