diff options
author | Taylor Locke <kisuka@kisuka.com> | 2013-11-25 06:03:06 -0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-30 21:38:38 +0100 |
commit | 94ac9fe3303c4d604485a4784e8f5c99f5457863 (patch) | |
tree | e33f4d96453941392a1d9b721d4a179ba8f89941 /npc/kafras/dts_warper.txt | |
parent | afb2ed27fcc12f86f2418425dd1e7c9b8234a1f2 (diff) | |
download | hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.gz hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.bz2 hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.xz hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.zip |
Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179
Cleaned up Zeny manipulation in scripts.
- It is now finally safe to re-commit.
- Removed some unwanted parts of the original commit, that broke the
character set in some scripts. [Haru]
- Corrected spacing in some edited lines. [Haru]
Diffstat (limited to 'npc/kafras/dts_warper.txt')
-rw-r--r-- | npc/kafras/dts_warper.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt index 3a76e8259..560d96e01 100644 --- a/npc/kafras/dts_warper.txt +++ b/npc/kafras/dts_warper.txt @@ -534,7 +534,7 @@ function script F_VoteKafra { case 1: if (Zeny >= 4000) { cutin "",255; - set Zeny, Zeny-4000; + Zeny -= 4000; warp "xmas_dun02",130,123; end; } @@ -558,7 +558,7 @@ function script F_VoteKafra { switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "kafra_09",255; warp "xmas_dun02",130,123; end; @@ -574,7 +574,7 @@ function script F_VoteKafra { break; case 2: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "kafra_09",255; warp "alde_dun03",265,22; end; @@ -599,7 +599,7 @@ function script F_VoteKafra { switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Lava Dungeon, Level 2 -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "kafra_09",255; warp "xmas_dun02",130,123; end; @@ -615,7 +615,7 @@ function script F_VoteKafra { break; case 2: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "kafra_09",255; warp "alde_dun03",265,22; end; @@ -631,7 +631,7 @@ function script F_VoteKafra { break; case 3: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "kafra_09",255; warp "mag_dun02",47,40; end; @@ -933,7 +933,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{ switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "zonda_01",255; warp "iz_dun02",234,206; end; @@ -961,7 +961,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{ switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "zonda_01",255; warp "iz_dun02",234,206; end; @@ -976,7 +976,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{ break; case 2: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "zonda_01",255; warp "c_tower3",64,143; end; @@ -1011,7 +1011,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{ switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Glast Heim Entrance -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "zonda_01",255; warp "iz_dun02",234,206; end; @@ -1026,7 +1026,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{ break; case 2: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "zonda_01",255; warp "c_tower3",64,143; end; @@ -1041,7 +1041,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{ break; case 3: if (Zeny >= 4000) { - set Zeny, Zeny-4000; + Zeny -= 4000; cutin "zonda_01",255; warp "glast_01",368,303; end; |