mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7159] Allow GO cast as need (use go coordinates for target select in some cases)
Fixed work all Huter traps target selection More check in ObjectAccessor::Get Object More generic work 22 TARGET_CASTER_COORDINATES target type Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
c2a0a18a38
commit
abaa111eaa
10 changed files with 71 additions and 42 deletions
|
|
@ -273,7 +273,7 @@ bool IsPositiveTarget(uint32 targetA, uint32 targetB)
|
|||
case TARGET_CURRENT_ENEMY_COORDINATES:
|
||||
case TARGET_SINGLE_ENEMY:
|
||||
return false;
|
||||
case TARGET_ALL_AROUND_CASTER:
|
||||
case TARGET_CASTER_COORDINATES:
|
||||
return (targetB == TARGET_ALL_PARTY || targetB == TARGET_ALL_FRIENDLY_UNITS_AROUND_CASTER);
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue