*Implement spellhaste mod for Channeled spells.
*Fix build with VCPP. --HG-- branch : trunk
This commit is contained in:
1 parent
651e7c29eb
commit
40bf3b630a
9 files changed
+77
-16
No files matched your search
@@ -2284,6 +2284,8 @@ void Spell::handle_immediate()
|
||||
int32 duration = GetSpellDuration(m_spellInfo);
|
||||
if (duration)
|
||||
{
|
||||
//apply haste mods
|
||||
m_caster->ModSpellCastTime(m_spellInfo, duration);
|
||||
// Apply duration mod
|
||||
if(Player* modOwner = m_caster->GetSpellModOwner())
|
||||
modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DURATION, duration);
|
||||
|
||||
Reference in new issue
Block a user