Paste #72758: minos

Date: 2020/07/22 04:19:53 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


entering_minos:
    type: world
    events:
        on player enters necro:
        - narrate "You seem to hear something moving beneath."
        - wait 3
        - spawn blackguard_entity <player.location.find.surface_blocks[stone].within[7].random>
        - ^flag player blackguard_cooldown duration:1m
        - zap blackguard_efficientCD

blackguard_efficientCD:
    type: world
    events:
        on time changes in Terranova:
        - if <server.has_flag[blackguard_cooldown]> == null stop
        - foreach <server.has_flag[blackguard_cooldown].as_list>:
            - if !<[value].as_player.has_flag[blackguard_cooldown]>
            - zap entering_minos player:[value]

blackguard_entity:
    type: entity
    entity_type: zombie
    has_ai: true
    age: adult
    equipment: blackguard_boots|blackguard_leggings|blackguard_chestplate|blackguard_helmet
    health: 20
    item_in_hand: blackguard_sword1
    item_in_offhand: blackguard_sword1

blackguard_sword1:
    type: item
    material: iron_sword
    display name: Runic Spathos
    lore:
    - This sword emits a greenish gloom
    - and bears an unknown sigil.
    enchantments:
    - DAMAGE_ALL: 4

blackguard_chestplate:
    type: item
    material: leather_chestplate
    display name: Runic Chestplate
    color: BLACK
    lore:
    - The material seems
    - oddly familiar.
    enchantments:
    - PROTECTION_ENVIRONMENTAL: 4

blackguard_boots:
    type: item
    material: leather_boots
    display name: Runic Boots
    color: BLACK
    lore:
    - The material seems
    - oddly familiar.
    enchantments:
    - PROTECTION_ENVIRONMENTAL: 4

blackguard_leggings:
    type: item
    material: leather_leggings
    display name: Runic Leggings
    color: BLACK
    lore:
    - The material seems
    - oddly familiar.
    enchantments:
    - PROTECTION_ENVIRONMENTAL: 4

blackguard_helmet:
    type: item
    material: leather_helmet
    display name: Runic Helmet
    color: BLACK
    lore:
    - The material seems
    - oddly familiar.
    enchantments:
    - PROTECTION_ENVIRONMENTAL: 4