Interface HasTargetIndex
- All Known Implementing Classes:
AbilityResolvedEvent
,AbilityUsedEvent
public interface HasTargetIndex
Used to retrieve target index information.
For example, if an AoE ability hits 5 targets, each of the 5 targets will have a separate 22-line from ACT. Each one will have a target index of 0-4, with the 'number of targets' field set to 5.
An ability that only hits a single target will have an index of 0 and a number of targets of 1. An ability that whiffs completely will be the same, since the "target" is ENVIRONMENT (0xE0000000).
Use of this is a very effective way of suppressing duplicate callouts for AoE ability usages.
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
default boolean
default boolean
-
Method Details
-
getTargetIndex
long getTargetIndex() -
getNumberOfTargets
long getNumberOfTargets() -
isFirstTarget
default boolean isFirstTarget() -
isLastTarget
default boolean isLastTarget()
-