Keep track of base spell id for SpellProcs/PermaProcs

This will fix numhits issue for procs from spells
This commit is contained in:
Michael Cook (mackal)
2014-02-21 04:04:18 -05:00
parent 808977f69a
commit 451d422b8a
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ public:
bool AddSkillProc(uint16 spell_id, uint16 iChance = 3, uint16 base_spell_id = SPELL_UNKNOWN);
bool RemoveSkillProc(uint16 spell_id, bool bAll = false);
bool HasSkillProcs() const;
bool AddProcToWeapon(uint16 spell_id, bool bPerma = false, uint16 iChance = 3);
bool AddProcToWeapon(uint16 spell_id, bool bPerma = false, uint16 iChance = 3, uint16 base_spell_id = SPELL_UNKNOWN);
bool RemoveProcFromWeapon(uint16 spell_id, bool bAll = false);
bool HasProcs() const;