Suggestion Open

Metaskill attribute to cancelSkill execution when triggered

#10155 opened by brickgard 44 minutes ago

brickgardreported this suggestion

Requesting a QoL attribute for metaskill mechanics skill and vskill to embed cancelSkill in the original execution when triggers:

skill{s=METASKILL;cancelOriginal=true} (aliases cancel and stopOriginal) would stop execution of the current metaskill chain, similar to

  - skill{s=METASKILL}
  - cancelSkill

allowing a more compact way to conditionally redirect executions within a single condition, especially during evolving execution.

  - skill{s=NO_TARGETS;cancel=true} ?targets{a=0}
  - log{m="Skill has targets"}
  - skill{s=LOW_HEALTH;cancel=true} ?hpp{p=<0.2}
  - log{m="I have enough health..."}
  - particle
  - stuff
  - setvar

To execute something like this above example would require double-checking conditions for a cancelSkill line, or even chaining metaskills for conditional checks, and could be a QoL shortcut to be able to cancel the original metaskill once "redirected".

Sign in to join the discussion.