compile fix
This commit is contained in:
1 parent
bdac4421e2
commit
83680656fb
1 file changed
+1
-1
@@ -8262,7 +8262,7 @@ void Player::CastItemCombatSpell(Unit* target, WeaponAttackType attType, uint32
|
||||
else if (chance > 100.0f)
|
||||
chance = GetWeaponProcChance();
|
||||
|
||||
if (roll_chance_f(chance) && sScriptMgr->OnCastItemCombatSpell(this, damageInfo.GetVictim(), spellInfo, item))
|
||||
if (roll_chance_f(chance))
|
||||
CastSpell(target, spellInfo->Id, true, item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user