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