summaryrefslogtreecommitdiff
path: root/world/map/npc/052-2/chest.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-07-07 12:51:32 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2013-07-07 12:51:32 +0200
commit0dd134db3f6f67bb5e4401f1ba7bf3e97f201505 (patch)
tree4a200c1eeb684039390959107a6f413e065384fd /world/map/npc/052-2/chest.txt
parenta89882b69d9f12499404ca9d471d5a735bc63988 (diff)
parent135f0fe12564decad0d3e2ff8af8f798b0a7f4cf (diff)
downloadserverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.gz
serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.bz2
serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.xz
serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.zip
Merge remote-tracking branch 'origin/master' into waric
Conflicts: world/map/db/mob_db.txt
Diffstat (limited to 'world/map/npc/052-2/chest.txt')
-rw-r--r--world/map/npc/052-2/chest.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/world/map/npc/052-2/chest.txt b/world/map/npc/052-2/chest.txt
index d42cea48..f1c9872e 100644
--- a/world/map/npc/052-2/chest.txt
+++ b/world/map/npc/052-2/chest.txt
@@ -12,8 +12,8 @@
// 3: player choosed to leave the room
//-----------------------------------------------------------------------------
-052-2.gat,136,73,0|script|Chest|111,{
-
+052-2.gat,136,73,0|script|Chest|111,
+{
set @step, 8;
if ($@illia_progress < @step) goto L_ShouldNotBeHere;
if (@illia_got_rewards > 2) end;
@@ -29,7 +29,7 @@ L_ShouldNotBeHere:
percentheal -100, 0;
end;
-onInit:
+OnInit:
setarray $@illia_item_common_rewards, 601, 636, 637, 638, 639, 625, 626, 658, 571, 579, 876, 782, 545, 758, 4028, 602, 536, 720, 532, 570, 642;
setarray $@illia_item_unique_rewards, 877, 878, 879, 880;
end;
@@ -139,30 +139,30 @@ L_PrepareLeaving:
L_Leave:
set @illia_got_rewards, 3;
set @illia_current_num_rewards, 0;
- addtimer 1000, "Chest::onMsg1";
- addtimer 4000, "Chest::onMsg2";
- addtimer 7000, "Chest::onMsg3";
- addtimer 9000, "Chest::onFx";
- addtimer 10000, "Chest::onRing";
+ addtimer 1000, "Chest::OnMsg1";
+ addtimer 4000, "Chest::OnMsg2";
+ addtimer 7000, "Chest::OnMsg3";
+ addtimer 9000, "Chest::OnFx";
+ addtimer 10000, "Chest::OnRing";
close;
-onMsg1:
+OnMsg1:
message strcharinfo(0), "At the moment you are wearing the ring, you start to feel dizzy...";
end;
-onMsg2:
+OnMsg2:
message strcharinfo(0), "Who is Luvia? Something isn't right... It looks like your memory is rewritten.";
end;
-onMsg3:
+OnMsg3:
message strcharinfo(0), "Damn, this ring! That Valia! Someone...";
end;
-onFx:
+OnFx:
misceffect FX_MAGIC_BLUE_TELEPORT, strcharinfo(0);
end;
-onRing:
+OnRing:
warp "007-1.gat", 85 + rand(0,2), 75 + rand(0,2);
if (strcharinfo(0) == $@ILLIA_HERO$)
goto L_ScheduleEnd;