*Update procflags for Imp.Shadowform.

*Use item speed value instead of attack speed value for enchant PPM - by MaS0n.
*Correctly apply cooldown to Improved leader of the pack mana regen.
*Do not refresh duration when stack from aura is dropped - by Apoc

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-26 19:58:01 +02:00
parent e36a0f4825
commit 190863e5a5
6 changed files with 21 additions and 12 deletions
+1 -4
View File
@@ -7243,10 +7243,7 @@ void Player::CastItemCombatSpell(Unit *target, WeaponAttackType attType, uint32
float chance = pEnchant->amount[s] != 0 ? float(pEnchant->amount[s]) : GetWeaponProcChance();
if (entry && entry->PPMChance)
{
uint32 WeaponSpeed = GetAttackTime(attType);
chance = GetPPMProcChance(WeaponSpeed, entry->PPMChance, spellInfo);
}
chance = GetPPMProcChance(proto->Delay, entry->PPMChance, spellInfo);
else if (entry && entry->customChance)
chance = entry->customChance;