summaryrefslogtreecommitdiff
path: root/npc/functions/asleep.txt
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/functions/asleep.txt
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/functions/asleep.txt')
-rw-r--r--npc/functions/asleep.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/asleep.txt b/npc/functions/asleep.txt
index ca28669d..35a6f5c4 100644
--- a/npc/functions/asleep.txt
+++ b/npc/functions/asleep.txt
@@ -9,7 +9,7 @@
function script asleep {
- set .@rand, rand(3);
+ .@rand = rand(3);
if (.@rand == 0) npctalk3 l("Zzzzzzzzz...");
if (.@rand == 1) npctalk3 l("Rrrr... Pchhhh...");
if (.@rand == 2) npctalk3 l("Ggrmm... Grmmmm...");