Date: 2013/12/30 16:31:33 UTC-08:00
Type: Denizen Script
on player damaged by entity:
- ^if '<context.damager.custom_name.strip_color.contains[*Really Angry Skeleton]>' ^run 's@Really Angry Skeleton' d:<context.damager>|<context.entity> attack
on player damages entity:
- ^if '<context.entity.custom_name.strip_color.contains[*Really Angry Skeleton]>' ^run 's@Really Angry Skeleton' d:<context.damager>|<context.entity> defend
"Really Angry Skeleton":
type: task
definitions: attacker|miniboss
script:
attack:
- narrate "<%miniboss%.custom_name> <&8>| <&2> I'm attacking you!"
defend:
- narrate "<%miniboss%.custom_name> <&8>| <&2> I'm defending against you!"