From 7caac8a80554b4cc6cdc1e64b826a90901d4bbf6 Mon Sep 17 00:00:00 2001 From: maximius Date: Thu, 15 Oct 2009 08:34:19 -0700 Subject: *Fix some typos in trinitycore.conf.dist *Fix Enduring Winter not increasing water elemental duration, by Cleave --HG-- branch : trunk --- src/game/SpellEffects.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 573ff7acfcb..27c65113f39 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -7094,6 +7094,9 @@ void Spell::SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const * break; } int32 duration = GetSpellDuration(m_spellInfo); + if(Player* modOwner = m_originalCaster->GetSpellModOwner()) + modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DURATION, duration); + TempSummonType summonType = (duration == 0) ? TEMPSUMMON_DEAD_DESPAWN : TEMPSUMMON_TIMED_DESPAWN; Map *map = caster->GetMap(); -- cgit v1.2.3