Paste #47930: Edit of P#47929 - Edit of P#47928 - effects

Date: 2018/06/20 17:11:20 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


worldeffects:
    type: world
    events:
        on player joins:
        - define lastplayed <player.last_played>
        - while <player.last_played.is[==].to[<def[lastplayed]>].and[<player.has_flag[effects]>]>:
            - cast ABSORPTION d:10 p:4 hide_particles
            - cast REGENERATION d:10 p:1 hide_particles
            - cast DAMAGE_RESISTANCE d:10 p:1 hide_particles
            - cast INCREASE_DAMAGE d:10 p:1 hide_particles
            - wait 5s