summaryrefslogtreecommitdiff
path: root/npc/xmas/2010/santa.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-04-17 14:35:46 -0700
committerJessica Tölke <jtoelke@mail.upb.de>2011-04-18 08:43:47 +0200
commite25c0cbeef68863c0cbca8af9e605651a1eda1ba (patch)
tree22b86d499067a9f719b67386838c4b8e7f535be7 /npc/xmas/2010/santa.txt
parenta89672c74b22cde85e1f24261a4125a0c6eb3409 (diff)
downloadserverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.tar.gz
serverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.tar.bz2
serverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.tar.xz
serverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.zip
Remove deprecated setarray-with-index syntax
Diffstat (limited to 'npc/xmas/2010/santa.txt')
-rwxr-xr-xnpc/xmas/2010/santa.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/xmas/2010/santa.txt b/npc/xmas/2010/santa.txt
index 3ef9257d..bd82a251 100755
--- a/npc/xmas/2010/santa.txt
+++ b/npc/xmas/2010/santa.txt
@@ -45,7 +45,7 @@ L_Skip_Dialogue:
L_Calculate_Prizes:
getinventorylist;
if (@inventorylist_count == 100) goto L_full;
- setarray @prizes[0], 1216, 629, 630, 634, 1214, 633, 628, 627, 621;
+ setarray @prizes, 1216, 629, 630, 634, 1214, 633, 628, 627, 621;
mes "\"You are so generous! I believe I can give you one of the hats from this bag. I know you like these silly hats. Yes, Santa knows this kind of thing... Ho-Ho-Ho! Put your hand here and pick one hat... No, you cant look, it MUST be a surprise...\"";
getitem @prizes[rand(8)], 1;
set Xmas2010, 2;