Paste #32488: Diff note for paste #32487

Date: 2016/04/11 06:26:03 UTC-07:00
Type: Diff Report

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
19


         on player holds item: 
           #This should alter a player's temp flag based on what they're holding
-          - while <player.item_in_hand.is[==].to[i@STONE]> {
-            - if <player.flag[SpamGuard].is_expired.not> queue clear
-            - flag player BodyStatsTemp:-:<util.random.int[0].to[1]>
-            - flag player BodyStatsStamina:-:<util.random.int[0].to[1]>
-            - NARRATE "STONE"
-            - flag player SpamGuard duration:1s
+          - while <player.item_in_hand.is[==].to[i@SAND]> {
+            - if <player.flag[SpamGuard].is_expired.not> {
+              - flag player BodyStatsTemp:-:<util.random.int[0].to[1]>
+              - flag player BodyStatsStamina:-:<util.random.int[0].to[1]>
+              - NARRATE "SAND"
+              - flag player SpamGuard duration:1s
+              }
             }