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/events/event_skill_reset.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/events/event_skill_reset.txt') diff --git a/npc/events/event_skill_reset.txt b/npc/events/event_skill_reset.txt index 5da389d56..867a55dd3 100644 --- a/npc/events/event_skill_reset.txt +++ b/npc/events/event_skill_reset.txt @@ -32,7 +32,7 @@ yuno.gat,138,187,4 script Hypnotist Teacher 124,{ mes "Please come again soon!"; close; } - if(Weight || checkfalcon(0) || checkcart(0) || checkriding(0)) { + if(Weight || checkfalcon() || checkcart() || checkriding()) { mes "Would you like to reset skills?"; mes "I'm sorry, but..."; next; @@ -41,11 +41,11 @@ yuno.gat,138,187,4 script Hypnotist Teacher 124,{ mes "You cannot reset skills"; mes "when you keep"; mes "any items."; - } else if(checkcart(0)) + } else if(checkcart()) mes "Please, drop your cart and we'll continue."; - else if(checkfalcon(0)) + else if(checkfalcon()) mes "Please, free your Falcon and we'll continue."; - else if(checkriding(0)) + else if(checkriding()) mes "Please, free your PecoPeco and we'll continue."; next; mes @npcname$; -- cgit v1.2.3-70-g09d2