Rewrite Bane and Elemental Dmg stuff and GetWeaponDamage (client version)

This commit is contained in:
Michael Cook (mackal)
2016-01-16 18:29:17 -05:00
parent ad1c91f204
commit 600866f573
3 changed files with 234 additions and 189 deletions
+2
View File
@@ -231,6 +231,8 @@ public:
int resist_override = 0, bool CharismaCheck = false, bool CharmTick = false, bool IsRoot = false,
int level_override = -1);
int ResistPhysical(int level_diff, uint8 caster_level);
int ResistElementalWeaponDmg(const ItemInst *item);
int CheckBaneDamage(const ItemInst *item);
uint16 GetSpecializeSkillValue(uint16 spell_id) const;
void SendSpellBarDisable();
void SendSpellBarEnable(uint16 spellid);