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/custom/stock_market.txt | |
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/custom/stock_market.txt')
-rw-r--r-- | npc/custom/stock_market.txt | 4 |
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: |