summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-09 17:59:27 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-09 17:59:27 +0000
commit16496f556a38e624dc75a61097ce4d9b6c370d0b (patch)
tree41dbc35ddd012a04ce96885664913115f00b6da5 /npc/merchants
parentfaa7a02a489886461cd039cc306f1fc55d81daa5 (diff)
downloadhercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.tar.gz
hercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.tar.bz2
hercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.tar.xz
hercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.zip
- 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
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/renters.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt
index 0c530710c..a225f736e 100644
--- a/npc/merchants/renters.txt
+++ b/npc/merchants/renters.txt
@@ -46,7 +46,7 @@ L_Start:
M_0:
if(getskilllv(63) == 0) goto sL_NeedSkill;
if(Zeny < @price) goto sL_Zeny;
- if(checkriding(0) != 0) goto sL_GotPeco;
+ if(checkriding() != 0) goto sL_GotPeco;
set Zeny, Zeny - @price;
setriding;
mes "Thank you and good day.";
@@ -99,7 +99,7 @@ L_Start:
M_0:
if(getskilllv(63) == 0) goto sL_NeedSkill;
if(Zeny < @price) goto sL_Zeny;
- if(checkriding(0) != 0) goto sL_GotPeco;
+ if(checkriding() != 0) goto sL_GotPeco;
set Zeny, Zeny - @price;
setriding;
mes "Thank you and good day.";
@@ -147,7 +147,7 @@ hu_in01.gat,375,318,5 script Falcon Master 59,{
sM_0:
if(BaseJob != Job_Hunter) goto sL_NotHunter;
- if(checkfalcon(0) != 0) goto sL_GotFalc;
+ if(checkfalcon() != 0) goto sL_GotFalc;
if(Zeny < @price) goto sL_Zeny;
if(getskilllv(127)==0) goto sL_NoSkill;
set Zeny, Zeny - @price;