Working on last of Mob:: that can be implemented atm, added safety checks to the lua functions that will be optional later in dev mode. Also changed quest return types to integers instead of doubles as that was non-intuitive

This commit is contained in:
KimLS
2013-05-13 14:29:50 -07:00
parent 2445576ae8
commit 7b23c8dc75
16 changed files with 1375 additions and 593 deletions
-21
View File
@@ -25,27 +25,6 @@
Pet(NPCType *type_data, Mob *owner, PetType type, uint16 spell_id, int16 power);
};
/*
* I dont have the patience to take on this project today....
class Pet : public NPC {
public:
enum eStandingPetOrder { SPO_Follow, SPO_Sit, SPO_Guard };
const uint16 pet_spell_id;
inline void SetPetOrder(eStandingPetOrder i) { pStandingPetOrder = i; }
inline eStandingPetOrder GetPetOrder() const { return pStandingPetOrder; }
// void SetPetType(uint16 in_type) { typeofpet = in_type; } // put this here because only NPCs can be anything but charmed pets
void GetPetState(SpellBuff_Struct *buffs, uint32 *items, char *name);
void SetPetState(SpellBuff_Struct *buffs, uint32 *items);
protected:
// uint16 typeofpet; // 0xFF = charmed
eStandingPetOrder pStandingPetOrder;
bool taunting;
Timer taunt_timer; //for pet taunting
};*/
#endif