diff options
author | daegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-08 17:12:02 +0000 |
---|---|---|
committer | daegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-08 17:12:02 +0000 |
commit | 05fc21dd8f012ded9b6c8bbc0d94a174b5233a79 (patch) | |
tree | 43d89f9086dfb5a6b2052dee4b870aff3683a39d /npc/kafras | |
parent | 9ded688e9e43a57cf4ea7d66e5ff42be45af2c84 (diff) | |
download | hercules-05fc21dd8f012ded9b6c8bbc0d94a174b5233a79.tar.gz hercules-05fc21dd8f012ded9b6c8bbc0d94a174b5233a79.tar.bz2 hercules-05fc21dd8f012ded9b6c8bbc0d94a174b5233a79.tar.xz hercules-05fc21dd8f012ded9b6c8bbc0d94a174b5233a79.zip |
Follow up r16609. Optimized kafra warps a bit more.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16610 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/kafras')
-rw-r--r-- | npc/kafras/functions_kafras.txt | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index aab5325ff..78e086c55 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -299,26 +299,25 @@ function script F_KafTele { set Zeny, Zeny - @wrpP[.@j]; set RESRVPTS, RESRVPTS + (@wrpP[.@j]/16); } - if (@wrpD$[.@j] == "Alberta") warp "alberta", 117, 56; + cutin "", 255; if (@wrpD$[.@j] == "Al De Baran") warp "aldebaran",168,112; - if (@wrpD$[.@j] == "Aldebaran") warp "aldebaran",168,112; - if (@wrpD$[.@j] == "Comodo") warp "comodo", 209, 143; - if (@wrpD$[.@j] == "Izlude") { + else if (@wrpD$[.@j] == "Alberta") warp "alberta", 117, 56; + else if (@wrpD$[.@j] == "Comodo") warp "comodo", 209, 143; + else if (@wrpD$[.@j] == "Comodo Pharos Beacon") warp "cmd_fild07", 127, 134; + else if (@wrpD$[.@j] == "Geffen") warp "geffen", 120, 39; + else if (@wrpD$[.@j] == "Izlude") { if (checkre(0)) warp "izlude", 128, 98; else warp "izlude", 91, 105; } - if (@wrpD$[.@j] == "Geffen") warp "geffen", 120, 39; - if (@wrpD$[.@j] == "Morroc") warp "morocc", 156, 46; - if (@wrpD$[.@j] == "Payon") warp "payon", 161, 58; - if (@wrpD$[.@j] == "Prontera") warp "prontera", 116, 72; - if (@wrpD$[.@j] == "Mjolnir Dead Pit") warp "mjolnir_02", 99, 351; - if (@wrpD$[.@j] == "Comodo Pharos Beacon") warp "cmd_fild07", 127, 134; - if (@wrpD$[.@j] == "Orc Dungeon") warp "gef_fild10", 52, 326; - if (@wrpD$[.@j] == "Umbala") warp "umbala", 100, 154; - if (@wrpD$[.@j] == "Juno") warp "yuno", 158, 125; - cutin "", 255; + else if (@wrpD$[.@j] == "Juno") warp "yuno", 158, 125; + else if (@wrpD$[.@j] == "Mjolnir Dead Pit") warp "mjolnir_02", 99, 351; + else if (@wrpD$[.@j] == "Morroc") warp "morocc", 156, 46; + else if (@wrpD$[.@j] == "Orc Dungeon") warp "gef_fild10", 52, 326; + else if (@wrpD$[.@j] == "Payon") warp "payon", 161, 58; + else if (@wrpD$[.@j] == "Prontera") warp "prontera", 116, 72; + else if (@wrpD$[.@j] == "Umbala") warp "umbala", 100, 154; end; } |