summaryrefslogtreecommitdiff
path: root/npc/custom/stock_market.txt
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/custom/stock_market.txt
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/custom/stock_market.txt')
-rw-r--r--npc/custom/stock_market.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/stock_market.txt b/npc/custom/stock_market.txt
index 7da3c5244..0d4d36885 100644
--- a/npc/custom/stock_market.txt
+++ b/npc/custom/stock_market.txt
@@ -178,7 +178,7 @@ set @stotal,$S1+$S2+$S3+$S4+$S5+$S6+$S7+$S8+$S9+$S10;
if (@stotal > 0) goto S_Start;
mes "[Stock Market]";
mes "Trading is currently closed.";
-if (getgmlevel(3) > 90) goto GM_Open;
+if (getgmlevel() > 90) goto GM_Open;
close;
// Begining of interface //
@@ -253,7 +253,7 @@ mes "^21698F"+$S10N$+"^000000" + " " + $S10 + "z (" + @S10Update$ + ")";
next;
// GM Menu link //
-if (getgmlevel(3) > 90) goto GM_subMenu;
+if (getgmlevel() > 90) goto GM_subMenu;
menu "Portfolio",S_Port,"Buy Shares",S_Buy,"Sell Shares",S_Sell,"Cancel",S_Quit;
GM_subMenu: