Paste #31723: error

Date: 2016/03/17 21:07:24 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
12
13
14
15
16
17
18


classSkillHandler:
    type: world
    debug: false
    events:
        on player starts sprinting:
        - if <pl.has_flag[warrior]> {
            - if <context.state> == "true" {
                - cast INCREASE_DAMAGE duration:99999h power:0 <pl> hide_particles
                - cast SLOW duration:99999h power:0 <pl> hide_particles
                }
            }
        on player stops sprinting:
        - if <pl.has_flag[warrior]> {
            - if <context.state> == "false" {
                - cast INCREASE_DAMAGE remove <pl>
                - cast SLOW remove <pl>
                }
            }