Paste #32472: Edit of P#32470 - Edit of P#32468 - Edit of P#32466 - Untitled Paste

Date: 2016/04/11 02:43:58 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


"BodyStats":
    Type: world
    debug: true
    events:
        on player holds item:
          #This should alter a player's temp flag based on what they're holding
          - if <player.has_flag[SpamGuard]> queue clear
          - while <player.item_in_hand.is[==].to[i@PIXELMON_ITEMWATER_STONE_SHARD|i@PIXELMON_ITEMDUSK_STONE_SHARD]> {
            - flag player BodyStatsTemp:-:<util.random.int[0].to[1]>
            - flag player BodyStatsStamina:-:<util.random.int[0].to[1]>
            - flag player SpamGuard:1s
            }