Paste #22689: Untitled Paste

Date: 2015/11/17 17:27:56 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


PayOutKilling: 
    type: world 
    events: 
        on player kills skeleton:
            - if <context.entity.skeleton_type == wither {
                - narrate "<&a>+10 Money <&c>for killing a Wither Skeleton."
                - flag player money:+:10
            } else {
                - narrate "<&a>+2 Money <&c>for killing a Skeleton."
                - flag player money:+:2
            }