diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-05 12:47:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-05 12:47:25 +0300 |
commit | 6eeae2ee499b4aec7b9f771c75ff09264d79c8fd (patch) | |
tree | d024b7517c78adc0cfda5f4d4d17ac03ced5cb3a /npc/functions/asleep.txt | |
parent | 58cf99bc280bb54f3c6ad6538ae3bc14fd54ec7f (diff) | |
download | serverdata-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.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/asleep.txt b/npc/functions/asleep.txt index ca28669d3..35a6f5c49 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..."); |