mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[10722] Fill target map for TARGET_RANDOM_NEARBY_DEST(b) cases.
Corrects ~35 spells, where most has summon effects. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
ff56ee3db2
commit
bf774f49ce
2 changed files with 2 additions and 1 deletions
|
|
@ -524,6 +524,7 @@ void Spell::FillTargetMap()
|
||||||
case TARGET_POINT_AT_NW:
|
case TARGET_POINT_AT_NW:
|
||||||
case TARGET_POINT_AT_SE:
|
case TARGET_POINT_AT_SE:
|
||||||
case TARGET_POINT_AT_SW:
|
case TARGET_POINT_AT_SW:
|
||||||
|
case TARGET_RANDOM_NEARBY_DEST:
|
||||||
// need some target for processing
|
// need some target for processing
|
||||||
SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetA[i], tmpUnitMap);
|
SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetA[i], tmpUnitMap);
|
||||||
SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetB[i], tmpUnitMap);
|
SetTargetMap(SpellEffectIndex(i), m_spellInfo->EffectImplicitTargetB[i], tmpUnitMap);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10721"
|
#define REVISION_NR "10722"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue