diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-12-29 21:22:35 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-12-29 21:22:35 +0000 |
commit | a510f2e4bc75f3d0120892f21f1f7e46e59e6bc4 (patch) | |
tree | 67f70ecdd8d77dc79f4b491cce0cfcceaab588e0 /npc/guild | |
parent | 08236cbfa812ac2348f3f3235e39d316ed781240 (diff) | |
download | hercules-a510f2e4bc75f3d0120892f21f1f7e46e59e6bc4.tar.gz hercules-a510f2e4bc75f3d0120892f21f1f7e46e59e6bc4.tar.bz2 hercules-a510f2e4bc75f3d0120892f21f1f7e46e59e6bc4.tar.xz hercules-a510f2e4bc75f3d0120892f21f1f7e46e59e6bc4.zip |
- Corrected issues with the Keil Hyre quest. (bugreport:2511)
- Corrected minor typo in alchemsit quest. (bugreport:2530)
- High Aco is now given skills on change. (bugreport:2552)
- Added item checks to Ice Necklace quest.
- Uncommented a warp in morroc_fild.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13422 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild')
-rw-r--r-- | npc/guild/agit_template.txt | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt index 3c8913b18..47bad79d3 100644 --- a/npc/guild/agit_template.txt +++ b/npc/guild/agit_template.txt @@ -484,19 +484,28 @@ OnRecvCastle: close; case 2: set .@Economy,GetCastleData(strnpcinfo(2),2); - if(.@Economy < 8) set .@eco_invest,10000; - if(.@Economy >= 8) set .@eco_invest,20000; - if(.@Economy >= 16) set .@eco_invest,40000; - if(.@Economy >= 25) set .@eco_invest,80000; - if(.@Economy >= 34) set .@eco_invest,160000; - if(.@Economy >= 44) set .@eco_invest,320000; - if(.@Economy >= 54) set .@eco_invest,640000; - if(.@Economy >= 65) set .@eco_invest,1280000; - if(.@Economy >= 76) set .@eco_invest,2560000; - if(.@Economy >= 88) set .@eco_invest,5120000; - //Double the cost of investing if you've already invested once. + if (.@Economy < 6) { set .@eco_invest,5000; } + else if ((.@Economy >= 6) && (.@Economy <= 10)) { set .@eco_invest,10000; } + else if ((.@Economy >= 11) && (.@Economy <= 15)) { set .@eco_invest,20000; } + else if ((.@Economy >= 16) && (.@Economy <= 20)) { set .@eco_invest,35000; } + else if ((.@Economy >= 21) && (.@Economy <= 25)) { set .@eco_invest,55000; } + else if ((.@Economy >= 26) && (.@Economy <= 30)) { set .@eco_invest,80000; } + else if ((.@Economy >= 31) && (.@Economy <= 35)) { set .@eco_invest,110000; } + else if ((.@Economy >= 36) && (.@Economy <= 40)) { set .@eco_invest,145000; } + else if ((.@Economy >= 41) && (.@Economy <= 45)) { set .@eco_invest,185000; } + else if ((.@Economy >= 46) && (.@Economy <= 50)) { set .@eco_invest,0; } + else if ((.@Economy >= 51) && (.@Economy <= 55)) { set .@eco_invest,0; } + else if ((.@Economy >= 56) && (.@Economy <= 60)) { set .@eco_invest,0; } + else if ((.@Economy >= 61) && (.@Economy <= 65)) { set .@eco_invest,0; } + else if ((.@Economy >= 66) && (.@Economy <= 70)) { set .@eco_invest,0; } + else if ((.@Economy >= 71) && (.@Economy <= 75)) { set .@eco_invest,0; } + else if ((.@Economy >= 76) && (.@Economy <= 80)) { set .@eco_invest,0; } + else if ((.@Economy >= 81) && (.@Economy <= 85)) { set .@eco_invest,0; } + else if ((.@Economy >= 86) && (.@Economy <= 90)) { set .@eco_invest,0; } + else if ((.@Economy >= 96) && (.@Economy <= 100)) { set .@eco_invest,0; } + //Quadruple the cost of investing if you've already invested once. if (GetCastleData(strnpcinfo(2),4)) { - set .@eco_invest,.@eco_invest*2; + set .@eco_invest,.@eco_invest*4; } mes "[ Steward " + .@name$ + " ]"; mes "If you raise commercial growth, the quantity of goods made by the guild will increase. So if you want a prosperous future, investment will be required."; |