aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-01 23:45:00 -0500
committermegamage <none@none>2009-06-01 23:45:00 -0500
commitd0878ec4143147bb03973b23f1519222e1636d97 (patch)
treef74fce72f176afcd5583c8a597b8ecbe1c69765c /src/game/TemporarySummon.h
parent670a901fe121f00f24426d1af46c0cedbb9d490f (diff)
*Fix the bug that shaman/druid/mage pets do not have scaled stats
--HG-- branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.h')
-rw-r--r--src/game/TemporarySummon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/TemporarySummon.h b/src/game/TemporarySummon.h
index f434b1d9dfb..d6e532626ce 100644
--- a/src/game/TemporarySummon.h
+++ b/src/game/TemporarySummon.h
@@ -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: