getTargets
getTargets: (SlayerPluginService) -> {NPC}The current task's targets: the same NPC handles every other getter answers.
slayerPluginService| Method | Returns | Description |
|---|---|---|
getTargets() | {NPC} | The current task's targets: the same NPC handles every other getter answers. |
getTask() | string? | The task's name as the game spells it ("Abyssal demons"); "" once a task is done, nil before any task was seen. |
getTaskLocation() | string? | Where the task is to be done, or nil (no location given). |
getInitialAmount() | number | How many the task was for (with the task modifier's change). |
getRemainingAmount() | number | How many are left. |
getTargetsgetTargets: (SlayerPluginService) -> {NPC}The current task's targets: the same NPC handles every other getter answers.
getTaskgetTask: (SlayerPluginService) -> string?The task's name as the game spells it ("Abyssal demons"); "" once a task is done, nil before any task was seen.
getTaskLocationgetTaskLocation: (SlayerPluginService) -> string?Where the task is to be done, or nil (no location given).
getInitialAmountgetInitialAmount: (SlayerPluginService) -> numberHow many the task was for (with the task modifier's change).
getRemainingAmountgetRemainingAmount: (SlayerPluginService) -> numberHow many are left.