Emagi 020058b395 LUA Functions Added, AttackAllowed, IsInRaid, InSameRaid, GetRaid
AttackAllowed(Spawn, Target, Distance, RangeAttack)
    Distance default is 0.0f and just checks if you can attack the target.
    Otherwise distance greater than 0.0f relates to the distance between the Spawn and Target which you first obtain using GetDistance(Spawn, Target).
    RangeAttack is a boolean (default: false) when true we use range info for the ranged attack min/max distance versus max distance melee combat range.

IsInRaid(Spawn, IsLeaderGroup) - Establishes if the Spawn is currently in a raid.    IsLeaderGroup is boolean (default: false) returns true if Spawn is the leader group of the raid.

InSameRaid(Spawn, Target, IsLeaderGroup) - determines if Spawn and Target are within the same raid groups.  IsLeaderGroup is boolean (default: false) returns true if Spawn is the leader group of the raid.

GetRaid(Spawn, PlayersOnly) - gets the array of all the members in the raid.  PlayersOnly is boolean (default: false), if true we return only clients/players in the list for the raid.
2025-07-27 17:40:05 -04:00
2025-05-28 21:48:33 -04:00
2025-05-04 14:34:15 -04:00
2024-07-05 10:32:47 -04:00
2025-06-08 15:00:17 -04:00

EQ2EMu Project

This is a work in progress for the beta release of the EQ2EMu Project.

Visit https://www.eq2emu.com for more project details, wiki and server installation instructions.

Building/Compiling

Linux Compile and Installation Instructions: On our Wiki

Authors

Project team site at EQ2EMu and ZekLabs

License

This project is licensed under the GNU General Public License - see the LICENSE file for details

Description
C++ implementation
Readme GPL-3.0 6.4 MiB
Languages
C++ 98.7%
C 1.1%
Shell 0.1%