[11377] Some additional comments in relation to spell 45713

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-04-18 10:22:36 +02:00
parent 9091a62068
commit dad07abcb2
2 changed files with 4 additions and 3 deletions

View file

@ -6560,8 +6560,9 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
// For later, spell is used in gossip (with following despawn, // For later, spell is used in gossip (with following despawn,
// so addon can reload the default model and data again). // so addon can reload the default model and data again).
// It should be noted that additional spell id's have been seen in relation // It should be noted that additional spell id's have been seen in relation to this spell, but
// to this spell, but those does not exist in client (45701 (regular spell), 45706 (aura)). // those does not exist in client (45701 (regular spell), 45705-45712 (auras), 45459-45460 (auras)).
// We can assume 45705-45712 are transform auras, used instead of hard coded models in the below code.
// not in map yet OR no npc flags yet (restored after LoadCreatureAddon for respawn cases) // not in map yet OR no npc flags yet (restored after LoadCreatureAddon for respawn cases)
if (!m_caster->IsInMap(m_caster) || m_caster->GetUInt32Value(UNIT_NPC_FLAGS) == UNIT_NPC_FLAG_NONE) if (!m_caster->IsInMap(m_caster) || m_caster->GetUInt32Value(UNIT_NPC_FLAGS) == UNIT_NPC_FLAG_NONE)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11376" #define REVISION_NR "11377"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__