... | ... | @@ -31,10 +31,18 @@ Skill.yml: |
|
|
CancelDamageEvent:
|
|
|
Skills:
|
|
|
- CancelEvent
|
|
|
- message{m="&cYou cannot hurt this mob!"} @trigger
|
|
|
|
|
|
Mob.yml:
|
|
|
|
|
|
NoDamageMob:
|
|
|
Type: villager
|
|
|
Skills:
|
|
|
- skill{s=CancelDamageEvent;sync=true} ~onDamaged |
|
|
\ No newline at end of file |
|
|
- skill{s=CancelDamageEvent;sync=true} ~onDamaged
|
|
|
|
|
|
Or to prevent a skeleton from shooting:
|
|
|
|
|
|
customskeleton:
|
|
|
Type: skeleton
|
|
|
Skills:
|
|
|
- cancelevent{sync=true} ~onShoot |
|
|
\ No newline at end of file |