diff options
author | shennetsind <ind@henn.et> | 2013-11-28 13:21:57 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-28 13:21:57 -0200 |
commit | 3c8e2e97243866b0a650002d59fdf2435874fd9a (patch) | |
tree | 263d804c1c19e61ffc40f3275b8074941c108a35 /npc/guild | |
parent | ae13db97ea770e37450e4e2c1a7919ce98d705a8 (diff) | |
parent | 09dd2097b77bf3dda4c5eb1ee6eb2a60f05bbec8 (diff) | |
download | hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.gz hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.bz2 hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.xz hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'npc/guild')
-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 7bc672ee5..f47beaf33 100644 --- a/npc/guild/agit_main.txt +++ b/npc/guild/agit_main.txt @@ -383,7 +383,7 @@ OnRecvCastle: cutin "",255; end; } - Zeny -= 200; + set Zeny, Zeny - 200; set RESRVPTS,RESRVPTS+2; close2; warp .@destination$[1],.@coordinates[0],.@coordinates[1]; @@ -435,7 +435,7 @@ OnRecvCastle: end; } set RESRVPTS,RESRVPTS+8; - Zeny -= 800; + set Zeny, 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; } - Zeny -= .@eco_invest; + set Zeny, 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; } - Zeny -= .@def_invest; + set Zeny, 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; } - Zeny -= 10000; + set Zeny, 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; } - Zeny -= 10000; + set Zeny, Zeny - 10000; enablenpc "Kafra Staff#"+strnpcinfo(2); setcastledata strnpcinfo(2),9,1; mes "["+strnpcinfo(1)+"]"; |