TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

Lasherweave Set - Druid

Open Kengur opened this issue 14 years ago • 4 comments

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

Kengur avatar Apr 22 '12 22:04 Kengur

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;

Expecto avatar Apr 22 '12 22:04 Expecto

is above a fix, or current implementation??

ZxBiohazardZx avatar Apr 23 '12 12:04 ZxBiohazardZx

correct and work fine.

Expecto avatar Apr 23 '12 12:04 Expecto

indeed it works correctly as it is, you can close it

tibbi avatar Jun 14 '12 20:06 tibbi