From a472684e830dbe409ca1ed631895b1ec6501589f Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Thu, 31 Jul 2008 14:24:26 +0000 Subject: * 13026 Added iRO Repeatable EXP quests care of Kisuka. * Updated guild scripts, removed interior flag dialog. * Applied some Payon 1 script fixes from bugreport:1941. * Cost is now doubled when investing a second time in eco or defence. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13026 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/guild/agit_template.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'npc/guild/agit_template.txt') diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt index 9163ab582..7d9462b1f 100644 --- a/npc/guild/agit_template.txt +++ b/npc/guild/agit_template.txt @@ -39,6 +39,8 @@ //= 1.3 Fixed a loading flag emblem for Payon 1. [L0ne_W0lf] //= Fixed two typos regarding Guild Steward name. //= 1.4 Fixed a typo in defense investment. [L0ne_W0lf] +//= 1.5 Fixed spawn point of the emperium in Payon 1. [L0ne_W0lf] +//= Double-investing doubles the price now. //============================================================ // AGIT Manager Template @@ -93,7 +95,7 @@ OnStartArena: else if (strnpcinfo(2) == "gefg_cas03") { setarray .@emproom[0],244,166; } else if (strnpcinfo(2) == "gefg_cas04") { setarray .@emproom[0],174,177; } else if (strnpcinfo(2) == "gefg_cas05") { setarray .@emproom[0],194,184; } - else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],138,138; } + else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; } else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; } else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],268,264; } else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; } @@ -251,7 +253,7 @@ OnRecvCastle: monster strnpcinfo(2),0,0,"Kobold Archer",1282,4; monster strnpcinfo(2),0,0,"Gargoyle",1253,5; // Set Emperium room spawn coordinates and spawn monsters. - if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],138,138; } + if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; } else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; } else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],268,264; } else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; } @@ -515,6 +517,10 @@ OnRecvCastle: 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*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."; mes " "; @@ -565,6 +571,10 @@ OnRecvCastle: if(.@Defence >= 65) set .@def_invest,2560000; if(.@Defence >= 76) set .@def_invest,5120000; if(.@Defence >= 88) set .@def_invest,10240000; + //Double the cost of investing if you've already invested once. + if (GetCastleData(strnpcinfo(2),5)) { + set .@def_invest,.@def_invest*2; + } mes "[ Steward " + .@name$ + " ]"; mes "If you raise the safeguard, the durability of the Guardians and emperium will increase. So if you expect more defenses in battles, investment will be required."; mes " "; -- cgit v1.2.3-60-g2f50