mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9202"
|
||||
#define REVISION_NR "9203"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue