فهرست منبع

- Updated F_RandMes with getargcount().

Follow up to 66a2bfd7c24bb617d27cc0a3e8db903cb000f3de
Brian 11 سال پیش
والد
کامیت
d7742937a8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      npc/other/Global_Functions.txt

+ 1 - 1
npc/other/Global_Functions.txt

@@ -147,7 +147,7 @@ function	script	Job_Change	{
 // set @itemIDfromList, callfunc("F_RandMes",1129,1222,1163,1357,1360,1522,1811,1410);
 
 function	script	F_RandMes	{
-	return getarg(rand(1,getarg(0)));
+	return getarg(rand(getargcount()));
 }