mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9203] Use CalculateSimpleValue as delay, used in spell effect 86
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
f94b7b4452
commit
925ea7630e
2 changed files with 2 additions and 2 deletions
|
|
@ -5828,7 +5828,7 @@ void Spell::EffectActivateObject(uint32 effect_idx)
|
|||
|
||||
static ScriptInfo activateCommand = generateActivateCommand();
|
||||
|
||||
int32 delay_secs = m_spellInfo->EffectMiscValue[effect_idx];
|
||||
int32 delay_secs = m_spellInfo->CalculateSimpleValue(effect_idx);
|
||||
|
||||
gameObjTarget->GetMap()->ScriptCommandStart(activateCommand, delay_secs, m_caster, gameObjTarget);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue