Open GoogleCodeExporter opened 9 years ago
By pdx15:
and Librams http://www.wowhead.com/item=28592 and
http://www.wowhead.com/item=25644 and http://www.wowhead.com/item=28296 and
http://www.wowhead.com/item=23006 And all similar - do not work.
Here a fix for http://www.wowhead.com/item=28592 for mangos
Who will make a great feat? =))
#!@@ -8592,6 +8598,15 @@ uint32 Unit::SpellHealingBonus(SpellEntry const
*spellProto, uint32 healamount, else if
((spellProto->SpellFamilyFlags & UI64LIT(0x0000000080000000)) &&
(*i)->GetEffIndex() == 0) AdvertisedBenefit +=
(*i)->GetModifier()->m_amount; } + else
if((*i)->GetSpellProto()->Id == 38320) // kia fix Libram of Souls Redeemed +
{ + // Flash of Light + if
((spellProto->SpellFamilyFlags & UI64LIT(0x0000000040000000)) &&
(*i)->GetEffIndex() == 0) + AdvertisedBenefit +=
(*i)->GetModifier()->m_amount/2; + // Holy Light +
else if ((spellProto->SpellFamilyFlags & UI64LIT(0x0000000080000000)) &&
(*i)->GetEffIndex() == 0) + AdvertisedBenefit +=
(*i)->GetModifier()->m_amount; + } } }
Original comment by stfxm...@gmail.com
on 30 Dec 2010 at 3:46
By pdx15:
omg
correct
@@ -8592,6 +8598,15 @@ uint32 Unit::SpellHealingBonus(SpellEntry const
*spellProto, uint32 healamount,
else if ((spellProto->SpellFamilyFlags & UI64LIT(0x0000000080000000)) && (*i)->GetEffIndex() == 0)
AdvertisedBenefit += (*i)->GetModifier()->m_amount;
}
+ else if((*i)->GetSpellProto()->Id == 38320) // kia fix Libram of
Souls Redeemed
+ {
+ // Flash of Light
+ if ((spellProto->SpellFamilyFlags &
UI64LIT(0x0000000040000000)) && (*i)->GetEffIndex() == 0)
+ AdvertisedBenefit += (*i)->GetModifier()->m_amount/2;
+ // Holy Light
+ else if ((spellProto->SpellFamilyFlags &
UI64LIT(0x0000000080000000)) && (*i)->GetEffIndex() == 0)
+ AdvertisedBenefit += (*i)->GetModifier()->m_amount;
+ }
}
}
Original comment by stfxm...@gmail.com
on 30 Dec 2010 at 3:46
Original comment by stfxm...@gmail.com
on 30 Dec 2010 at 5:50
Original issue reported on code.google.com by
stfxm...@gmail.com
on 30 Dec 2010 at 3:46