From 480e56eba5ca892d5e000b58e94d84ec6938b0ff Mon Sep 17 00:00:00 2001 From: masao87 Date: Sun, 8 Jan 2012 22:41:28 +0000 Subject: - Follow up r15409. * Replaced leftover Aegis variables with rA variables. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15410 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/jobs/3-2/sorcerer.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2