diff options
author | coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-08-26 21:27:34 -0300 |
---|---|---|
committer | coffee <coffee@coffee-EP45-UD3L.(none)> | 2011-08-26 21:27:34 -0300 |
commit | 134bb0df0e2ca0d6933668594827cf4d825a4596 (patch) | |
tree | ae84970437011df834a8aad08c50b2ececdaab1a /world/map/npc/033-1/kimarr.txt | |
parent | 2d84f24f1dbd74efcf930c35207b5ad3d013a5f4 (diff) | |
download | classic-serverdata-134bb0df0e2ca0d6933668594827cf4d825a4596.tar.gz classic-serverdata-134bb0df0e2ca0d6933668594827cf4d825a4596.tar.bz2 classic-serverdata-134bb0df0e2ca0d6933668594827cf4d825a4596.tar.xz classic-serverdata-134bb0df0e2ca0d6933668594827cf4d825a4596.zip |
Makes the reference to variables the same through the file.
Diffstat (limited to 'world/map/npc/033-1/kimarr.txt')
-rw-r--r-- | world/map/npc/033-1/kimarr.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index de869f65..29113769 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -172,11 +172,11 @@ L_TimeOver: L_CheckDrops: if ($@Fluffy_Time > 15) goto L_DidntDrop; - set @Fluffy_RedApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "RedApple", 1); - set @Fluffy_XmasCake, getareadropitem("033-1.gat", 79, 29, 88, 42, "XmasCake", 1); - set @Fluffy_Cake, getareadropitem("033-1.gat", 79, 29, 88, 42, "Cake", 1); - set @Fluffy_GreenApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "GreenApple", 1); - if (@Fluffy_RedApple || @Fluffy_XmasCake || @Fluffy_Cake || @Fluffy_GreenApple) + set $@Fluffy_RedApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "RedApple", 1); + set $@Fluffy_XmasCake, getareadropitem("033-1.gat", 79, 29, 88, 42, "XmasCake", 1); + set $@Fluffy_Cake, getareadropitem("033-1.gat", 79, 29, 88, 42, "Cake", 1); + set $@Fluffy_GreenApple, getareadropitem("033-1.gat", 79, 29, 88, 42, "GreenApple", 1); + if ($@Fluffy_RedApple || $@Fluffy_XmasCake || $@Fluffy_Cake || $@Fluffy_GreenApple) goto L_BeginHunting; goto L_ContinueTimer; @@ -192,20 +192,20 @@ L_BeginHunting: areamonster "033-1.gat", 79, 29, 88, 42, "", 1020, $@Fluffy_Spawn, "Kimarr::OnFluffyDeath"; // other monsters don't generate a real event - set @Fluffy_Extra, 5 * @Fluffy_XmasCake + 3 * @Fluffy_Cake + 10 * BaseLevel; - if ((BaseLevel > 40) && (rand(@Fluffy_Extra) > 500)) // Ice Goblin + set $@Fluffy_Extra, 5 * $@Fluffy_XmasCake + 3 * $@Fluffy_Cake + 10 * BaseLevel; + if ((BaseLevel > 40) && (rand($@Fluffy_Extra) > 500)) // Ice Goblin areamonster "033-1.gat", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnOtherDeath"; - if ((BaseLevel > 60) && (rand(@Fluffy_Extra) > 550)) // Santa Slime + if ((BaseLevel > 60) && (rand($@Fluffy_Extra) > 550)) // Santa Slime areamonster "033-1.gat", 79, 29, 88, 42, "", 1015, 1, "Kimarr::OnOtherDeath"; // TODO: add the wolvern as well when it has been added - if ((BaseLevel > 70) && (rand(@Fluffy_Extra) > 600)) // Yeti + if ((BaseLevel > 70) && (rand($@Fluffy_Extra) > 600)) // Yeti areamonster "033-1.gat", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnOtherDeath"; - set @Fluffy_Extra, 0; - set @Fluffy_RedApple, 0; - set @Fluffy_XmasCake, 0; - set @Fluffy_Cake, 0; - set @Fluffy_GreenApple, 0; + set $@Fluffy_Extra, 0; + set $@Fluffy_RedApple, 0; + set $@Fluffy_XmasCake, 0; + set $@Fluffy_Cake, 0; + set $@Fluffy_GreenApple, 0; set $@Fluffy_Hunting, 3; goto L_ContinueTimer; @@ -256,7 +256,7 @@ L_InsertScore: L_FindLastScore: // comment this out to allow the player to be in the list more than once // though actually, it might be better just to assume the list is full - if (strcharinfo(0) == $Record_Fluffy_Name[@loop]) + if (strcharinfo(0) == $Record_Fluffy_Name$[@loop]) goto L_MoveStuff; set @loop, @loop + 1; |