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/guild/agit_main.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/guild/agit_main.txt')
-rw-r--r-- | npc/guild/agit_main.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/guild/agit_main.txt b/npc/guild/agit_main.txt index f47beaf33..7bc672ee5 100644 --- a/npc/guild/agit_main.txt +++ b/npc/guild/agit_main.txt @@ -383,7 +383,7 @@ OnRecvCastle: cutin "",255; end; } - set Zeny, Zeny - 200; + Zeny -= 200; set RESRVPTS,RESRVPTS+2; close2; warp .@destination$[1],.@coordinates[0],.@coordinates[1]; @@ -435,7 +435,7 @@ OnRecvCastle: end; } set RESRVPTS,RESRVPTS+8; - set Zeny, Zeny - 800; + Zeny -= 800; setcart; close2; cutin "",255; @@ -689,7 +689,7 @@ OnRecvCastle: mes "I'm sorry but there is not enough zeny to invest. You will have to try again when you have the funds, Master."; close; } - set Zeny, Zeny - .@eco_invest; + Zeny -= .@eco_invest; setcastledata strnpcinfo(2),4,getcastledata(strnpcinfo(2),4)+1; mes "[ "+strnpcinfo(1)+"]"; mes "We finished the investment safely. I expect that our growth level will be increased by tomorrow."; @@ -755,7 +755,7 @@ OnRecvCastle: mes "I'm sorry but there is not enough zeny to invest. You will have to try again when you have the funds, Master."; close; } - set Zeny, Zeny - .@def_invest; + Zeny -= .@def_invest; setcastledata strnpcinfo(2),5,getcastledata(strnpcinfo(2),5)+1; mes "[ "+strnpcinfo(1)+"]"; mes "We finished the investment safely. I expect that our Castle Defense level will be increased by tomorrow."; @@ -803,7 +803,7 @@ OnRecvCastle: mes "Well... I'm sorry but we don't have funds to summon the Guardian. We failed to summon the Guardian."; close; } - set Zeny, Zeny - 10000; + Zeny -= 10000; setcastledata strnpcinfo(2),.@GDnum,1; // mark as 'installed' set .@UseGID,.@GDnum - 10; if (.@guardiantype[.@UseGID] == 1) { set .@type,1287; } @@ -870,7 +870,7 @@ OnRecvCastle: mes "Well... I'm sorry but we don't have enough funds to hire a Kafra Employee."; close; } - set Zeny, Zeny - 10000; + Zeny -= 10000; enablenpc "Kafra Staff#"+strnpcinfo(2); setcastledata strnpcinfo(2),9,1; mes "["+strnpcinfo(1)+"]"; |