... | @@ -2,15 +2,16 @@ Mechanic: setname |
... | @@ -2,15 +2,16 @@ Mechanic: setname |
|
=================
|
|
=================
|
|
|
|
|
|
Sets the display name of the caster. This will not work with players.
|
|
Sets the display name of the caster. This will not work with players.
|
|
|
|
|
|
Examples
|
|
Examples
|
|
--------
|
|
--------
|
|
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- setname{name=newmobname} @self ~onDamaged 1
|
|
- setname{name=newmobname} @self ~onDamaged 1
|
|
|
|
```
|
|
Sets the name of the mob to "newmobname" when the mob is damaged.
|
|
Sets the name of the mob to "newmobname" when the mob is damaged.
|
|
|
|
|
|
```
|
|
```yaml
|
|
MySkeleton:
|
|
MySkeleton:
|
|
Type: Skeleton
|
|
Type: Skeleton
|
|
Display: 'Skeleton <caster.hp>/<caster.mhp><&heart>'
|
|
Display: 'Skeleton <caster.hp>/<caster.mhp><&heart>'
|
... | | ... | |