Paste #68386: Untitled Paste

Date: 2020/05/01 04:04:21 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


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>