Просмотр исходного кода

- Follow up r15409.
* Replaced leftover Aegis variables with rA variables.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15410 54d463be-8e91-2dee-dedb-b68131a5f0ec

masao87 13 лет назад
Родитель
Сommit
3f538097e0
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      npc/jobs/3-2/sorcerer.txt

+ 5 - 5
npc/jobs/3-2/sorcerer.txt

@@ -426,7 +426,7 @@ thor_v01,64,252,0	script	Spirit Detecting Staff#1	836,{
 				delitem 990,3;
 				getitem 6276,1;
 				close;
-			}else if ((job_soc == 4) && (v[990] > 2) && (v[6276] > 0)){
+			}else if ((job_soc == 4) && (countitem(990) > 2) && (countitem(6276) > 0)){
 				mes "It doesn't seem like you got anything special from the spirits.";
 				delitem 990,3;
 				close;
@@ -434,7 +434,7 @@ thor_v01,64,252,0	script	Spirit Detecting Staff#1	836,{
 			mes "The spirit is mad at you.";
 			close;
 		}else if ((.@rand > 9) && (.@rand < 16)){
-			if ((job_soc == 4) && (v[990] > 2) && (v[6278] < 1)){
+			if ((job_soc == 4) && (countitem(990) > 2) && (countitem(6278) < 1)){
 				mes "You got a reagent by communicating with an unseen spirit.";
 				delitem 990,3;
 				getitem 6278,1;
@@ -480,7 +480,7 @@ ice_dun01,274,274,0	script	Spirit Detecting Staff#2	836,{
 				delitem 991,3;
 				getitem 6278,1;
 				close;
-			}else if ((job_soc == 4) && (v[991] > 2) && (v[6278] > 0)){
+			}else if ((job_soc == 4) && (countitem(991) > 2) && (countitem(6278) > 0)){
 				mes "It doesn't seem like you got anything special from the spirits.";
 				delitem 991,3;
 				close;
@@ -488,12 +488,12 @@ ice_dun01,274,274,0	script	Spirit Detecting Staff#2	836,{
 			mes "The spirit is mad at you.";
 			close;
 		}else if ((.@rand > 9) && (.@rand < 16)){
-			if ((job_soc == 4) && (v[991] > 2) && (v[6276] < 1)){
+			if ((job_soc == 4) && (countitem(991) > 2) && (countitem(6276) < 1)){
 				mes "You got a reagent by communicating with an unseen spirit.";
 				delitem 991,3;
 				getitem 6276,1;
 				close;
-			}else if ((job_soc == 4) && (v[991] > 2) && (v[6276] > 0)){
+			}else if ((job_soc == 4) && (countitem(991) > 2) && (countitem(6276) > 0)){
 				mes "It doesn't seem like you got anything special from the spirits.";
 				delitem 991,3;
 				close;