From d715c9de85f3870332f7fc78e7754eddfed246bc Mon Sep 17 00:00:00 2001 From: ai4rei Date: Fri, 10 Dec 2010 22:29:12 +0000 Subject: * Revised argument declaration of all script commands according to the actual functions' argument usage. - Fixed many script commands with fixed amount of optional parameters to no longer accept any amount of arguments (faulty declaration). - Corrected use of dummy parameter for guildopenstorage in scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14573 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt | 2 +- npc/guild/agit_template.txt | 2 +- npc/kafras/functions_kafras.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt index b8f96d09e..95a887ddb 100644 --- a/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt +++ b/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt @@ -330,7 +330,7 @@ function script F_keGuildStorage { callfunc "F_keIntro", e_an, "Sorry, but you don't have enough Zeny."; return; } - if (guildopenstorage(0) == 1) { + if (guildopenstorage() == 1) { callfunc "F_keIntro", -1, "Sorry, the guild storage is currently in use by someone else. Try again later."; return; } diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt index 4e57b65d0..f43536978 100644 --- a/npc/guild/agit_template.txt +++ b/npc/guild/agit_template.txt @@ -954,7 +954,7 @@ OnGuardianDied: case 2: // Unofficial, but since it's already been in eA for ages // and used, I can't exactly remove it, now, can I? >:( - if(guildopenstorage(0) == 1){ + if(guildopenstorage() == 1){ mes "[Kafra Employee]"; mes "I'm sorry but another guild member is using the guild storage"; mes "right now. Please wait until that person is finished."; diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index 268b54f64..96bf62130 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -260,7 +260,7 @@ function script F_Kafra { function script F_KafStor { // Unable to access Guild Storage (Busy) if(getarg(0) == 1){ - if(guildopenstorage(0) == 1){ + if(guildopenstorage() == 1){ mes "[Kafra Employee]"; mes "I'm sorry but another guild member is using the guild storage"; mes "right now. Please wait until that person is finished."; -- cgit v1.2.3-60-g2f50