mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[11324] TARGET_RANDOM_NEARBY_DEST expected targeting any random target point in radius.
This commit is contained in:
parent
ba77d85a30
commit
633b84b235
2 changed files with 2 additions and 2 deletions
|
|
@ -1648,7 +1648,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
|||
if (radius > 0.0f)
|
||||
{
|
||||
// caster included here?
|
||||
FillAreaTargets(targetUnitMap, dest_x, dest_y, radius, PUSH_DEST_CENTER, SPELL_TARGETS_AOE_DAMAGE);
|
||||
FillAreaTargets(targetUnitMap, dest_x, dest_y, radius, PUSH_DEST_CENTER, SPELL_TARGETS_ALL);
|
||||
}
|
||||
else
|
||||
targetUnitMap.push_back(m_caster);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue