... | @@ -4,17 +4,18 @@ Mechanic: CancelEvent |
... | @@ -4,17 +4,18 @@ Mechanic: CancelEvent |
|
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 the first skill that leads to it) must be run with
|
|
- The mechanic or initial skill must be run with sync=true. Example: -
|
|
sync=true in the mob's skill list. Example: -
|
|
|
|
skill{s=CancelEventSkill;sync=true} ~onDamaged
|
|
skill{s=CancelEventSkill;sync=true} ~onDamaged
|
|
- No delays allowed.
|
|
- No delays allowed.
|
|
- It only works with specific triggers that make sense.
|
|
- Not all triggers support it.
|
|
|
|
- Other mechanics within that skill can still be triggered.
|
|
|
|
|
|
Possible Triggers
|
|
Possible Triggers
|
|
-----------------
|
|
-----------------
|
|
|
|
|
|
- ~onAttack
|
|
- ~onAttack
|
|
- ~onDamaged
|
|
- ~onDamaged
|
|
|
|
- ~onDeath
|
|
- ~onExplode
|
|
- ~onExplode
|
|
- ~onInteract
|
|
- ~onInteract
|
|
- ~onCombat
|
|
- ~onCombat
|
... | | ... | |