... | @@ -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>"} ~ronDeath ?variableisset{var=caster.lastplayer}
|
|
- dropitem{...} @UUID{u="<caster.var.lastplayer>"} ~onDeath ?variableisset{var=caster.lastplayer}
|
|
```
|
|
```
|
|
</details> |
|
</details> |
|
|
|
\ No newline at end of file |