diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-10 22:29:12 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-10 22:29:12 +0000 |
commit | d715c9de85f3870332f7fc78e7754eddfed246bc (patch) | |
tree | 9a8658ef1c776d23a80b5f64558207fdf283c55a /npc | |
parent | e8f0edf2c8574df1bd2d00a99082859e297d7733 (diff) | |
download | hercules-d715c9de85f3870332f7fc78e7754eddfed246bc.tar.gz hercules-d715c9de85f3870332f7fc78e7754eddfed246bc.tar.bz2 hercules-d715c9de85f3870332f7fc78e7754eddfed246bc.tar.xz hercules-d715c9de85f3870332f7fc78e7754eddfed246bc.zip |
* 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
Diffstat (limited to 'npc')
-rw-r--r-- | npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt | 2 | ||||
-rw-r--r-- | npc/guild/agit_template.txt | 2 | ||||
-rw-r--r-- | npc/kafras/functions_kafras.txt | 2 |
3 files changed, 3 insertions, 3 deletions
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."; |