mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8264] Implement target mode 104 (forward 30 degries cone)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ee2fcde901
commit
48eb01666d
6 changed files with 12 additions and 1 deletions
|
|
@ -281,6 +281,7 @@ bool IsPositiveTarget(uint32 targetA, uint32 targetB)
|
|||
case TARGET_ALL_ENEMY_IN_AREA_CHANNELED:
|
||||
case TARGET_CURRENT_ENEMY_COORDINATES:
|
||||
case TARGET_SINGLE_ENEMY:
|
||||
case TARGET_IN_FRONT_OF_CASTER_30:
|
||||
return false;
|
||||
case TARGET_CASTER_COORDINATES:
|
||||
return (targetB == TARGET_ALL_PARTY || targetB == TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue