summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-05 12:47:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-05 12:47:25 +0300
commit6eeae2ee499b4aec7b9f771c75ff09264d79c8fd (patch)
treed024b7517c78adc0cfda5f4d4d17ac03ced5cb3a /npc/items
parent58cf99bc280bb54f3c6ad6538ae3bc14fd54ec7f (diff)
downloadserverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.gz
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.bz2
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.xz
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.zip
Replace script function set to direct variable assignments.
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/croconut.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/croconut.txt b/npc/items/croconut.txt
index bf4ef4a8..61e63fe9 100644
--- a/npc/items/croconut.txt
+++ b/npc/items/croconut.txt
@@ -39,7 +39,7 @@ L_TooWeak:
mes "";
mesn "Narrator";
- set .@q, rand(5);
+ .@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;