Date: 2020/05/01 04:04:21 UTC-07:00
Type: Denizen Script
npcBoss:
type: world
events:
on player breaks block:
- inject boss
"boss":
type: task
debug: true
script:
- create Husk pécheur_Disparue <player.location.add[2,0,2]> save:Mobpeche
- attack <entry[Mobpeche].created_npc.location.find.living_entities.within[10].random> target:<player>
- vulnerable npc:<entry[Mobpeche].created_npc.id>
- health 50 heal npc:<entry[Mobpeche].created_npc.id>
- narrate <entry[Mobpeche].created_npc.health>