mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore
This commit is contained in:
@@ -7142,13 +7142,7 @@ void Spell::SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const*
|
||||
|
||||
float radius = 5.0f;
|
||||
int32 duration = m_spellInfo->GetDuration();
|
||||
switch (m_spellInfo->Id)
|
||||
{
|
||||
case 49028: // Dancing Rune Weapon
|
||||
if (AuraEffect* aurEff = m_originalCaster->GetAuraEffect(63330, 0)) // glyph of Dancing Rune Weapon
|
||||
duration += aurEff->GetAmount();
|
||||
break;
|
||||
}
|
||||
|
||||
if (Player* modOwner = m_originalCaster->GetSpellModOwner())
|
||||
modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DURATION, duration);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user