diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-12-29 21:28:26 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-12-29 21:28:26 +0000 |
commit | 3b5c36161d4f1b7658e83591241e8f6fb7a78def (patch) | |
tree | 0e115ae9b8ab17674170f4aef5b45d3155556fe5 | |
parent | a510f2e4bc75f3d0120892f21f1f7e46e59e6bc4 (diff) | |
download | hercules-3b5c36161d4f1b7658e83591241e8f6fb7a78def.tar.gz hercules-3b5c36161d4f1b7658e83591241e8f6fb7a78def.tar.bz2 hercules-3b5c36161d4f1b7658e83591241e8f6fb7a78def.tar.xz hercules-3b5c36161d4f1b7658e83591241e8f6fb7a78def.zip |
Fixed Econ values in agit_template. Commited by accident, as it's not finished.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13423 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | npc/Changelog.txt | 1 | ||||
-rw-r--r-- | npc/guild/agit_template.txt | 33 |
2 files changed, 13 insertions, 21 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 0f5118aa2..e227c9004 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,6 +1,7 @@ Date Added ====== 2008/12/29 + * Rev. 13423 Fixed Econ values in agit_template. Commited by accident, as it's not finished. [L0ne_W0lf] * Rev. 13422 Workin' on fixing some bugs. :) [L0ne_W0lf] - Corrected issues with the Keil Hyre quest. (bugreport:2511) - Corrected minor typo in alchemsit quest. (bugreport:2530) diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt index 47bad79d3..3c8913b18 100644 --- a/npc/guild/agit_template.txt +++ b/npc/guild/agit_template.txt @@ -484,28 +484,19 @@ OnRecvCastle: close; case 2: set .@Economy,GetCastleData(strnpcinfo(2),2); - 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(.@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 (GetCastleData(strnpcinfo(2),4)) { - set .@eco_invest,.@eco_invest*4; + set .@eco_invest,.@eco_invest*2; } 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."; |