diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-09 17:59:27 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-09 17:59:27 +0000 |
commit | 16496f556a38e624dc75a61097ce4d9b6c370d0b (patch) | |
tree | 41dbc35ddd012a04ce96885664913115f00b6da5 /npc/events | |
parent | faa7a02a489886461cd039cc306f1fc55d81daa5 (diff) | |
download | hercules-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/events')
-rw-r--r-- | npc/events/event_skill_reset.txt | 8 |
1 files changed, 4 insertions, 4 deletions
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$; |