Paste #46559: Untitled Paste

Date: 2018/02/03 06:39:23 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Chiefassign:
    type: assignment       
    interact scripts:
    - 10 Chief  
    actions:
        on assignment:
        - health <npc> 1000
        - lookclose true range:10 realistic
        on enter proximity:
        - if <npc.has_flag[start] {
            - attack
            }
Chief:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate "<blue>Chief turns on voice translation"
                - wait 1
                - chat "Why do you stand before me"
                - wait 1
                - narrate "<green>You -> [Chief]: Where have you taken Earl Solveig's son"
                - wait 1
                - chat "ATTACK!!!!"
                - wait 1
                - flag npc start

chiefburn:
    type: task
    script:
    - burn <player> duration:3
    - playeffect <npc.location> effect:blaze_shoot qty:3 targets:<player>
    - wait 3
    - burn <player> duration:3

ChiefCharge:
    type: task
    script:
    - invisible <npc> state:true
    - follow followers:<npc> target:<player> speed:2
    - while <location.find.players.within[<#.#>]> {
    - hurt 5 <player> cause:ENTITY_ATTACK source:<npc>