diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-12 04:34:02 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-12 04:34:02 +0000 |
commit | 76c1280eedaf3327eb15af0290ab7781ff703633 (patch) | |
tree | 534a053b92c5983d91d7cbdc9cc68598a27676b8 /npc/other/CashShop_Functions.txt | |
parent | a05dbe62282aeae1610b33282e50569765867ccc (diff) | |
download | hercules-76c1280eedaf3327eb15af0290ab7781ff703633.tar.gz hercules-76c1280eedaf3327eb15af0290ab7781ff703633.tar.bz2 hercules-76c1280eedaf3327eb15af0290ab7781ff703633.tar.xz hercules-76c1280eedaf3327eb15af0290ab7781ff703633.zip |
- Added some new cash-items and headgears.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11893 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other/CashShop_Functions.txt')
-rw-r--r-- | npc/other/CashShop_Functions.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 3938e2e3e..0dba23f60 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -92,3 +92,46 @@ function script F_CashDungeon { } return; } + +// Cities Teleport Scroll +//============================================================ +// - Warp player to differents Citys acording to the Scroll +// - Arg(0) = type of scroll. +function script F_CashCity { + switch(getarg(0)) + { + // Yellow + case 1: switch(select("Prontera:Geffen:Payon:Morroc:Aldebaran:Alberta")) { + case 1: warp "prontera",0,0; end; + case 2: warp "geffen",0,0; end; + case 3: warp "payon",0,0; end; + case 4: warp "morocc",0,0; end; + case 5: warp "aldebaran",0,0; end; + case 6: warp "alberta",0,0; end; + } + break; + // Green + case 2: switch(select("Juno:Lighthalzen:Einbroch:Hugel")) { + case 1: warp "yuno",0,0; end; + case 2: warp "lighthalzen",0,0; end; + case 3: warp "einbroch",0,0; end; + case 4: warp "hugel",0,0; end; + } + break; + // Red + case 3: switch(select("Rachel:Veins")) { + case 1: warp "rachel",0,0; end; + case 2: warp "veins",0,0; end; + } + break; + // Blue + case 4: switch(select("Ayothaya:Amatsu:Louyang:Gonryun")) { + case 1: warp "ayothaya",0,0; end; + case 2: warp "amatsu",0,0; end; + case 3: warp "louyang",0,0; end; + case 4: warp "gonryun",0,0; end; + } + break; + } + return; +} |