[8173] Fixes for 1822 and ranks base at spell_check detection Author: VladimirMangos

* Update AP bonus per tick to 0.18 as expected in 3.0.2 and later.
    * Better spell selction to avoid unrelated spells for AP bonuses

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-07-16 10:21:54 +08:00
1 parent 43ac2c4cb4
commit 3f39ae9875
3 files changed
+9 -6

No files matched your search

+2 -2
View File
@@ -4763,8 +4763,8 @@ void AuraEffect::HandlePeriodicDamage(bool apply, bool Real, bool changeAmount)
// Rake
if (m_spellProto->SpellFamilyFlags[0] & 0x1000)
{
// $AP*0.06 bonus per tick
m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * 6 / 100);
// $AP*0.18 bonus per tick
m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * 18 / 100);
return;
}
// Lacerate