TrinityCore
TrinityCore copied to clipboard
Lasherweave Set - Druid
Should Languish for 7% of the dmg from Wrath and Starfire Crit and not 3,5% total
http://www.wowhead.com/itemset=888/lasherweave-regalia
TrinityCore rev. 2012-04-22 21:04:24 +0300 (38521ec39505) (Unix, Release)
TDB 335.11.46
unit.cpp
// Item - Druid T10 Balance 4P Bonus
case 70723:
{
// Wrath & Starfire
if ((procSpell->SpellFamilyFlags[0] & 0x5) && (procEx & PROC_EX_CRITICAL_HIT))
{
triggered_spell_id = 71023;
SpellInfo const* triggeredSpell = sSpellMgr->GetSpellInfo(triggered_spell_id);
if (!triggeredSpell)
return false;
basepoints0 = CalculatePctN(int32(damage), triggerAmount) / (triggeredSpell->GetMaxDuration() / triggeredSpell->Effects[0].Amplitude);
// Add remaining ticks to damage done
basepoints0 += victim->GetRemainingPeriodicAmount(GetGUID(), triggered_spell_id, SPELL_AURA_PERIODIC_DAMAGE);
}
break;
is above a fix, or current implementation??
correct and work fine.
indeed it works correctly as it is, you can close it