Paste #46207: Untitled Paste

Date: 2018/01/09 10:28:20 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


monster_buff:
    type: world
    debug: false
    events:
        on system time minutely:
        - if !<player.has_flag[monster]> {
            - queue clear
            }
        - cast DAMAGE_RESISTANCE duration:1639s power:1 hide_particles
        - cast INCREASE_DAMAGE duration:1639s power:1 hide_particles
flag_monster:
    type: world
    debug: false
    events:
        on player clicks monster in races:
        - flag player monster
races:
    type: inventory
    title: Races
    size: 9
    slots:
    - "[i@monster_icon] [i@elf_icon] [] [] [] [] [] [] []"
monster_icon:
    type: item
    material: zombie_skull
    displayname: <&6>Monster
steal_handler:
    type: world
    debug: false
    events:
        on player clicks in races:
        - determine cancelled
        on player drags in races:
        - determine cancelled
elf_icon:
    type: item
    material: feather
    displayname: <&6>Elf
elf_buff:
    type: world
    debug: false
    events:
        on system time minutely:
        - if !<player.has_flag[elf]> {
            - queue clear
            }
        - cast JUMP duration:1639s power:1 hide_particles
        - cast NIGHT_VISION duration:1639s power:1 hide_particles
flag_elf
    type: world
    debug: false
    events:
        on player clicks elf_icon in races
        - flag player elf