Update cancelevent authored by Lxlp's avatar Lxlp
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
Cancel the Event that triggered the skill. This mechanic has several Cancel the Event that triggered the skill. This mechanic has several
important requirements in order to execute properly: important requirements in order to execute properly:
- **The mechanic or initial skill must be run with sync=true. Example: - - **The mechanic or initial skill must be run with sync=true.**
skill{s=CancelEventSkill;sync=true} ~onDamaged** > Example: -
skill{s=CancelEventSkill;sync=true} ~onDamaged
- No delays allowed. - No delays allowed.
- Not all triggers support it. - Not all triggers are associated with events that can be cancelled.
- Other mechanics within that skill can still be triggered. - Other mechanics that listens to the same trigger will still be triggered even if the event is ultimately cancelled.
### Compatible Triggers ### Compatible Triggers
- ~onAttack - ~onAttack
- ~onBucket - ~onBucket
- ~onDamaged - ~onDamaged
...@@ -23,6 +23,12 @@ important requirements in order to execute properly: ...@@ -23,6 +23,12 @@ important requirements in order to execute properly:
- ~onUse (Requires Crucible) - ~onUse (Requires Crucible)
- ~onConsume (Requires Crucible) - ~onConsume (Requires Crucible)
> This is not a complete list, and other triggers may work too, the ones listed here are just the confirmed ones
## Attributes
> *This mechanic has no attributes*
## Examples ## Examples
Skill.yml: Skill.yml:
... ...
......