Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Messing with the Pet system - Tutorial
- (http://emudevs.com)
- */
- #include "Pet.h"
- class npc_pet_tutorial : public CreatureScript
- {
- public:
- npc_pet_tutorial() : CreatureScript("npc_pet_tutorial") { }
- bool OnGossipHello(Player* player, Creature* creature)
- {
- if (player->getClass() != CLASS_HUNTER || player->getClass() != CLASS_WARLOCK)
- return false;
- if (Pet* pet = player->GetPet())
- {
- }
- return true;
- }
- };
- void AddSC_pet_tut()
- {
- new npc_pet_tutorial();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement