Changes
Page history
Update UsefulTips
authored
Aug 01, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
UsefulTips.md
View page @
1cf178ed
...
@@ -88,6 +88,6 @@ In this case, you will need to set a variable on the mob every time it is hit on
...
@@ -88,6 +88,6 @@ In this case, you will need to set a variable on the mob every time it is hit on
```
yaml
```
yaml
Skills
:
Skills
:
-
setvariable{var=caster.lastplayer;type=STRING;val=<trigger.uuid>} @self ~onDamaged ?~isPlayer
-
setvariable{var=caster.lastplayer;type=STRING;val=<trigger.uuid>} @self ~onDamaged ?~isPlayer
-
dropitem{...} @UUID{u="<caster.var.lastplayer>"} ~
r
onDeath ?variableisset{var=caster.lastplayer}
-
dropitem{...} @UUID{u="<caster.var.lastplayer>"} ~onDeath ?variableisset{var=caster.lastplayer}
```
```
</details>
</details>
\ No newline at end of file