* Allow spells to trigger ItemCombatSpells if spell is melee/ranged damage based. Original patch by freegajnja

* Tabs to spaces.

--HG--
branch : trunk
This commit is contained in:
krz
2009-06-23 04:47:46 +02:00
parent 4a93373c06
commit dd52461d40
4 changed files with 65 additions and 24 deletions
+2 -1
View File
@@ -1798,7 +1798,8 @@ class TRINITY_DLL_SPEC Player : public Unit
void ApplyItemEquipSpell(Item *item, bool apply, bool form_change = false);
void ApplyEquipSpell(SpellEntry const* spellInfo, Item* item, bool apply, bool form_change = false);
void UpdateEquipSpellsAtFormChange();
void CastItemCombatSpell(Item *item, CalcDamageInfo *damageInfo, ItemPrototype const * proto);
void CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32 procVictim, uint32 procEx);
void CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32 procVictim, uint32 procEx, Item *item, ItemPrototype const * proto);
void SendInitWorldStates(bool force = false, uint32 forceZoneId = 0);
void SendUpdateWorldState(uint32 Field, uint32 Value);