The following script command has been added:
- "get % eplalhp[*][distance]" — Exactly the same as "get % plalhp" above but will only consider players outside your party. The following global variables are populated: EPLA_LHP_ID (the ID of the player), EPLA_LHP_ADDR (the address of the player), and EPLA_LHP_HP (the player's HP percent). If you include an asterisk, such as get % eplalhp*, the player's actual HP value will be used instead of a percentage. This can be used in PvP to target or attack the enemy player with the lowest HP. Example:
- get % eplalhp20|tar(VAR % EPLA_LHP_ADDR)|dbg % targeting lowest HP player outside party within 20 distance
This addition requires updating Speeder to version 20450.