InventoryOld in client has been unhooked from loading/saving

This commit is contained in:
KimLS
2015-02-18 20:29:58 -08:00
parent fc2492a859
commit a5274b9b6e
10 changed files with 331 additions and 254 deletions
+6
View File
@@ -18,6 +18,7 @@
#ifndef MOB_H
#define MOB_H
#include "../common/inventory.h"
#include "common.h"
#include "entity.h"
#include "hate_list.h"
@@ -940,6 +941,9 @@ public:
void Tune_FindAccuaryByHitChance(Mob* defender, Mob *attacker, float hit_chance, int interval, int max_loop, int avoid_override, int Msg = 0);
void Tune_FindAvoidanceByHitChance(Mob* defender, Mob *attacker, float hit_chance, int interval, int max_loop, int acc_override, int Msg = 0);
inline EQEmu::Inventory& GetInventory() { return m_inventory; }
inline const EQEmu::Inventory& GetInventory() const { return m_inventory; }
protected:
void CommonDamage(Mob* other, int32 &damage, const uint16 spell_id, const SkillUseTypes attack_skill, bool &avoidable, const int8 buffslot, const bool iBuffTic);
static uint16 GetProcID(uint16 spell_id, uint8 effect_index);
@@ -1273,6 +1277,8 @@ protected:
bool bEnraged;
bool destructibleobject;
EQEmu::Inventory m_inventory;
private:
void _StopSong(); //this is not what you think it is
Mob* target;