Another basepoint fix, Thrill of the Hunt

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-07-14 10:35:43 +02:00
parent 6385a48b45
commit af8a2e754c
+2 -2
View File
@@ -6617,11 +6617,11 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
return false;
// mana cost save
int32 mana = procSpell->manaCost + procSpell->ManaCostPercentage * GetCreateMana() / 100;
basepoints0 = mana * 40/100;
basepoints0 = CalculatePowerCost(procSpell, this, SpellSchoolMask(procSpell->SchoolMask)) * 4/10;
if (basepoints0 <= 0)
return false;
basepoints0 += 1; // standard basepoint increase for CastCustomSpell
target = this;
triggered_spell_id = 34720;
break;