From 16496f556a38e624dc75a61097ce4d9b6c370d0b Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Tue, 9 Jan 2007 17:59:27 +0000 Subject: - Updated some functions calls that where using the wrong number of arguments with checkcart,checkfalcon,checkriding,getgmlevel,basicskillcheck. hmm, maybe I should add a config option for lazy scripter that still want to run script code that uses too many arguments git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9637 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/kafras/functions_kafras.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/kafras/functions_kafras.txt') diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index 2b9d67bff..65d03ed21 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -205,7 +205,7 @@ function script F_KafStor { cutin "", 255; close; } - if(basicskillcheck(0) && getskilllv(1) < 6){ + if(basicskillcheck() && getskilllv(1) < 6){ mes "[Kafra]"; mes "I am sorry but you have to be at least Novice level 6 if you want to use the storage."; return; @@ -316,7 +316,7 @@ function script F_KafCart { mes "I'm sorry but you need the skill ^0000FF'Pushcart'^000000 to rent a cart."; return 1; } - if(checkcart(0) == 1){ + if(checkcart() == 1){ mes "[Kafra]"; mes "Excuse me... but you already have a cart...."; emotion e_swt; -- cgit v1.2.3-70-g09d2