Paste #33013: Hardcore script exempt

Date: 2016/04/25 11:52:42 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


hardcore:
    type: world
    default constants:
        killcoins: 300
        worlds: li@SurvivalHardcore|SurvivalHardcore_nether|SurvivalHardcore_the_end
    events:
        on player kills player:
            - if <script.constant[worlds].as_list.find[<player.world.name>]> == -1 queue clear
            - flag <player> hardcore-lives:++
            - narrate "<gold>Life Get! You now have <player.flag[hardcore-lives].as_int> lives and get <script.constant[killcoins]> coins."
            - give money qty:<script.constant[killcoins]>