Skip to content

[Enhancement] New trigger: Targeted #1272

@funaydmc

Description

@funaydmc

I'm working on a skill that should make the user untargetable by lower-level players, but I'm struggling to find the right trigger for it.

Therefore, I suggest adding a new trigger called targeted. When a skill wants to select an entity as a target, it will have to call a cancellable event named SkillTargetingEvent. The target can only be selected if the event is not cancelled. When this event is called, it will activate the targeted trigger on the intended target, at which point the event can be cancelled or used for other purposes.

I'm also thinking about a mechanic that would allow redirecting a target from oneself to another entity, or even back to the original caster. However, that would be a separate topic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions