diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-21 16:04:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-21 16:04:32 +0300 |
commit | 66a7953e6f6b4d7951c306e1d305ab3b904f557a (patch) | |
tree | d96f9df4db7a506277b5659aa6165e0efa7b1700 /npc/items/croconut.txt | |
parent | efb1c01272dc109188f1a4559db05a73405a7d38 (diff) | |
download | serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.gz serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.bz2 serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.xz serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.zip |
Replace temp variables into scope temp variables.
Diffstat (limited to 'npc/items/croconut.txt')
-rw-r--r-- | npc/items/croconut.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/items/croconut.txt b/npc/items/croconut.txt index f7057461..bf4ef4a8 100644 --- a/npc/items/croconut.txt +++ b/npc/items/croconut.txt @@ -39,10 +39,10 @@ L_TooWeak: mes ""; mesn "Narrator"; - set @q, rand(5); - if (@q == 0) goto L_TooWeakLost; - if ( (@q == 1) || (@q == 2) ) goto L_TooWeakFail; - if ( (@q == 3) || (@q == 4) || (@q == 5) ) goto L_Weak; + set .@q, rand(5); + if (.@q == 0) goto L_TooWeakLost; + if ( (.@q == 1) || (.@q == 2) ) goto L_TooWeakFail; + if ( (.@q == 3) || (.@q == 4) || (.@q == 5) ) goto L_Weak; L_TooWeakLost: mes col(l("You hit too hard with your fist, you destroyed your @@.", getitemlink("Croconut")), 9); |