aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r--src/game/TemporarySummon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp
index 170e590fd9c..993ece988a0 100644
--- a/src/game/TemporarySummon.cpp
+++ b/src/game/TemporarySummon.cpp
@@ -208,10 +208,8 @@ void TempSummon::InitSummon()
if(GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER && m_spells[0])
{
setFaction(owner->getFaction());
- if(m_spells[1] && GetMap()->IsHeroic())
- CastSpell(this, m_spells[1], false, 0, 0, m_summonerGUID);
- else
- CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID);
+ SetLevel(owner->getLevel());
+ CastSpell(this, m_spells[0], false, 0, 0, m_summonerGUID);
}
}
}
@@ -309,6 +307,8 @@ void Guardian::InitStats(uint32 duration)
{
Minion::InitStats(duration);
+ InitStatsForLevel(m_owner->getLevel());
+
if(m_owner->GetTypeId() == TYPEID_PLAYER)
m_charmInfo->InitCharmCreateSpells();