Paste #46230: Edit of P#46229 - Buffs

Date: 2018/01/09 12:52:24 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


buffs:
    type: world
    debug: false
    events:
        on system time minutely:
        - if <server.list_online_players.size> == 0 {
            - queue clear
            }
        #Checks to see if players have flag
        #monster
        - if !<player.has_flag[race]> == monster {
            - queue clear
            }
        - cast DAMAGE_RESISTANCE duration:1639s power:1 hide_particles
        - cast INCREASE_DAMAGE duration:1639s power:1 hide_particles
        #elf
        - if !<player.has_flag[race]> == elf {
            - queue clear
            }
        - cast JUMP duration:1639s power:1 hide_particles
        - cast NIGHT_VISION duration:1639s power:1 hide_particles
        #human
        - if !<player.has_flag[race]> == human {
            - queue clear
            }
        - cast LUCK duration:1639s power:1 hide_particles
        - cast ABSORPTION duration:1639s power:1 hide_particles
        #halfling
        - if !<player.has_flag[race]> == halfling{
            - queue clear
            }
        - cast JUMP duration:1639s power:1 hide_particles
        - cast SPEED duration:1639s power:1 hide_particles