*Fix the bug that shaman/druid/mage pets do not have scaled stats

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-01 23:45:00 -05:00
parent 670a901fe1
commit d0878ec414
5 changed files with 71 additions and 83 deletions
+9
View File
@@ -65,6 +65,15 @@ class Guardian : public Minion
void InitStats(uint32 duration);
bool InitStatsForLevel(uint32 level);
bool UpdateStats(Stats stat);
bool UpdateAllStats();
void UpdateResistances(uint32 school);
void UpdateArmor();
void UpdateMaxHealth();
void UpdateMaxPower(Powers power);
void UpdateAttackPowerAndDamage(bool ranged = false);
void UpdateDamagePhysical(WeaponAttackType attType);
int32 GetBonusDamage() { return m_bonusdamage; }
void SetBonusDamage(int32 damage) { m_bonusdamage = damage; }
protected: