Changes
Page history
Create Skills/mechanics/undopaste
authored
Apr 26, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/mechanics/undopaste.md
0 → 100644
View page @
81291596
Mechanic: undoPaste
===============
Undoes a previous paste done via the [fawePaste] mechanic, based on its id or on the schematic used
| Attribute | Aliases | Description | Default Value |
|-----------|---------|---------------------------------------------------------------|---------------|
| schematic | s | The schematic that needs to be undone. Only necessary if no id can be provided | |
| pasteID | pid, id | The id of the paste that needs to be undone | |
## Examples
```
yaml
ExampleMob
:
Skills
:
# With ID
-
fawePaste{s=cgym.schem;id=abc} @self ~onSpawn
-
undoPaste{id=abc} @self ~onDamaged
# Without ID
-
fawePaste{s=lab.schem} @self ~onSpawn
-
undoPaste{id=lab.schem} @self ~onDamaged
```
[
fawePaste
]:
/Skills/mechanics/fawepaste/
\ No newline at end of file