Merge pull request #2678 from Kapoeira/master
Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
This commit is contained in:
@@ -1516,7 +1516,7 @@ void AuraEffect::HandleShapeshiftBoosts(Unit* target, bool apply) const
|
|||||||
// Heart of the Wild
|
// Heart of the Wild
|
||||||
if ((*i)->GetSpellInfo()->SpellIconID == 240 && (*i)->GetMiscValue() == 3)
|
if ((*i)->GetSpellInfo()->SpellIconID == 240 && (*i)->GetMiscValue() == 3)
|
||||||
{
|
{
|
||||||
int32 HotWMod = (*i)->GetAmount();
|
int32 HotWMod = (*i)->GetAmount() / 2; // For each 2% Intelligence, you get 1% stamina and 1% attack power.
|
||||||
|
|
||||||
target->CastCustomSpell(target, HotWSpellId, &HotWMod, NULL, NULL, true, NULL, this);
|
target->CastCustomSpell(target, HotWSpellId, &HotWMod, NULL, NULL, true, NULL, this);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user