diff options
author | QAston <none@none> | 2009-05-11 23:46:45 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-05-11 23:46:45 +0200 |
commit | 51b5f2aa640d08d547e3b6de4831f9bb02e870fd (patch) | |
tree | b8cf57947ed23fc4bb4ff4d1257e5769b0cd9a68 /src/game/Player.cpp | |
parent | 95504364e04b33345d7c7251383eb719ab64bf8c (diff) |
*Allow Hots to proc-this should fix talents like 33776 effect from hots.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 9eb97ee295c..4ebd4f03684 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6991,15 +6991,8 @@ void Player::UpdateEquipSpellsAtFormChange() } } -void Player::CastItemCombatSpell(Item *item, CalcDamageInfo *damageInfo) +void Player::CastItemCombatSpell(Item *item, CalcDamageInfo *damageInfo, ItemPrototype const * proto) { - if(!item || item->IsBroken()) - return; - - ItemPrototype const *proto = item->GetProto(); - if(!proto) - return; - Unit * Target = damageInfo->target; WeaponAttackType attType = damageInfo->attackType; |