summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/jobs/3-2/sorcerer.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/jobs/3-2/sorcerer.txt b/npc/jobs/3-2/sorcerer.txt
index 14779136c..c3a8b1c97 100644
--- a/npc/jobs/3-2/sorcerer.txt
+++ b/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;