Hi guys:
Excuse me, but my english is very bad.
I´ve tested this fix. Yes, it add bonus of 20% to heal at spell Nourish, but with this fix, the spell lose heal bonus equip. I think that a possible solution is to put this line in the end of for:
--- mangos/src/game/SpellEffects.cpp 2009-03-27 14:41:29.000000000 -0300
+++ patch/src/game/SpellEffects.cpp 2009-03-27 14:22:00.000000000 -0300
@@ -2473,6 +2473,23 @@
addhealth += tickheal * tickcount;
}
+ //Nourish 20% of heal increase if target is afected by Druids HOTs
+ else if(m_spellInfo->SpellFamilyFlags&0x0200000000000000LL){
+ Unit::AuraList const& RejorRegr = unitTarget->GetAurasByType(SPELL_AURA_PERIODIC_HEAL);
+
+ for(Unit::AuraList::const_iterator i = RejorRegr.begin(); i != RejorRegr.end(); ++i)
+ {
+ if((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID)
+ {
+ addhealth+=addhealth*0.2;
+ break;
+ }
+ }
+
+ addhealth = caster->SpellHealingBonus(unitTarget, m_spellInfo, addhealth, HEAL);
+
+ }
+ else
+ addhealth = caster->SpellHealingBonus(unitTarget, m_spellInfo, addhealth, HEAL);
If my solution is correct, please, say me.
Thanks.