eluna-scripts-ornfelt/lua/WowEmulationScriptPack/C++/flyer.cpp

19 lines
337 B
C++
Raw Permalink Normal View History

2023-08-16 00:50:59 +02:00
#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;
}