* Fixed guild manager charging twice for invest

- Corrected some treasure room switch sent-to spawns.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12701 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2008-05-11 14:30:17 +00:00
parent 47cb29c556
commit 966618bee0
8 changed files with 21 additions and 13 deletions

View File

@ -1,5 +1,8 @@
Date Added
======
2008/05/11
* Rev. 12701 Fixed guild manager charging twice for invest [L0ne_W0lf]
- Corrected some treasure room switch sent-to spawns.
2008/05/08
* Rev. 12692 Fixed some of the newer reported bugs. [L0ne_W0lf]
- Corrected typo in guild steward (missing space.) (bugreport:1423)

View File

@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.1
//= 1.2
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@ -35,6 +35,7 @@
//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
//= 1.1 Daily investement will now be reset. [L0ne_W0lf]
//= Template will no longer try to spawn chests.
//= 1.2 Fixed Eco Invest option charging twice. [L0ne_W0lf]
//============================================================
// AGIT Manager Template
@ -159,6 +160,7 @@ OnAgitBreak:
OnAgitEnd:
if (strnpcinfo(0) == "Gld_Agit_Manager") end;
GvgOff strnpcinfo(2);
// If the castle has no owner at the end of WoE, do not kill Emperium.
if (GetCastleData(strnpcinfo(2),1)) {
KillMonster strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak";
}
@ -538,7 +540,6 @@ OnRecvCastle:
close;
}
set zeny,zeny-.@eco_invest;
set zeny,zeny-.@eco_invest;
SetCastleData strnpcinfo(2),4,GetCastleData(strnpcinfo(2),4)+1;
SetCastleData strnpcinfo(2),2,.@Economy + 1 + (.@Economy<99 && rand(2) && getgdskilllv(.@GID,10014));
mes "[ Steward .@name$]";

View File

@ -136,7 +136,6 @@ aldeg_cas01,216,24,0 duplicate(Gld_Agit_Manager) Agit#aldeg_cas01 -1
//============================================================
aldeg_cas01,218,175,0 duplicate(Gld_Mngr_Template) Alfredo#aldeg_cas01 55
// Guardians
//============================================================
aldeg_cas01,218,175,0 duplicate(Gld_Guard_Template) Guardian#aldeg_cas01 -1

View File

@ -3,13 +3,14 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.0
//= 1.1
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
//= NPCs that relate to Geffen Guild Castle 4
//===== Additional Comments: =================================
//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
//= 1.1 Corrected treasure room switch coordinates. [L0ne_W0lf]
//============================================================
// Guild Flag (Town)
@ -142,7 +143,7 @@ gefg_cas04,117,123,0 script #switch_G04 111,{
next;
switch(select("Pull.:Do not.")) {
case 1:
warp "gefg_cas04",73,74;
warp "gefg_cas04",73,47;
break;
case 2:
break;

View File

@ -3,13 +3,14 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.0
//= 1.1
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
//= NPCs that relate to Payon Guild Castle 3
//===== Additional Comments: =================================
//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
//= 1.1 Corrected treasure room switch coordinates. [L0ne_W0lf]
//============================================================
// Guild Flag (Town)
@ -144,7 +145,7 @@ payg_cas03,163,167,0 script #switch_Py03 111,{
next;
switch(select("Pull.:Do not.")) {
case 1:
warp "payg_cas03",11,278;
warp "payg_cas03",50,261;
break;
case 2:
break;

View File

@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.0
//= 1.2
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@ -11,6 +11,7 @@
//===== Additional Comments: =================================
//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
//= 1.1 Corrected flag-in spawn point. [L0ne_W0lf]
//= 1.2 Corrected treasure room switch coordinates. [L0ne_W0lf]
//============================================================
// Guild Flag (Town)
@ -147,7 +148,7 @@ prtg_cas01,15,209,0 script #switch_Pt01 111,{
next;
switch(select("Pull.:Do not.")) {
case 1:
warp "prtg_cas01",109,179;
warp "prtg_cas01",112,183;
break;
case 2:
break;

View File

@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.0
//= 1.2
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@ -11,6 +11,7 @@
//===== Additional Comments: =================================
//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
//= 1.1 Corrected flag-in spawn point. [L0ne_W0lf]
//= 1.2 Corrected treasure room switch coordinates. [L0ne_W0lf]
//============================================================
// Guild Flag (Town)
@ -148,7 +149,7 @@ prtg_cas03,193,130,0 script #switch_Pt03 111,{
next;
switch(select("Pull.:Do not.")) {
case 1:
warp "prtg_cas03",45,99;
warp "prtg_cas03",51,101;
break;
case 2:
break;

View File

@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.0
//= 1.2
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@ -11,6 +11,7 @@
//===== Additional Comments: =================================
//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
//= 1.1 Corrected flag-in spawn point. [L0ne_W0lf]
//= 1.2 Corrected treasure room switch coordinates. [L0ne_W0lf]
//============================================================
// Guild Flag (Town)
@ -145,7 +146,7 @@ prtg_cas05,281,176,0 script #switch_Pt05 111,{
next;
switch(select("Pull.:Do not.")) {
case 1:
warp "prtg_cas05",34,30;
warp "prtg_cas05",36,38;
break;
case 2:
break;