Fixed issue #570:

- Sorcerer#Bio4Reward should check Top gear since the only enchantable Headgear (Ancient Gold Ornament) is top
This commit is contained in:
Atemo 2015-08-11 22:17:34 +02:00
parent 0ddd08b00e
commit 219a047ea7

View File

@ -828,7 +828,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
mes "[Pudding]"; mes "[Pudding]";
mes "OKAY! In which equipment you want to dwell the power?"; mes "OKAY! In which equipment you want to dwell the power?";
next; next;
setarray .@parts[0], EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_ACC_L, EQI_ACC_R, EQI_HEAD_LOW; setarray .@parts[0], EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_ACC_L, EQI_ACC_R, EQI_HEAD_TOP;
for(.@i = 0; .@i < 7; .@i++) { for(.@i = 0; .@i < 7; .@i++) {
if (!getequipisequiped(.@parts[.@i])) { if (!getequipisequiped(.@parts[.@i])) {
switch(.@i) { switch(.@i) {
@ -913,12 +913,12 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
.@part = EQI_ACC_R; .@part = EQI_ACC_R;
break; break;
case 8: case 8:
if (!getequipisequiped(EQI_HEAD_LOW)) { if (!getequipisequiped(EQI_HEAD_TOP)) {
mes "[Pudding]"; mes "[Pudding]";
mes "Hey.. Are you not wearing any Helm?"; mes "Hey.. Are you not wearing any Helm?";
close; close;
} }
.@part = EQI_HEAD_LOW; .@part = EQI_HEAD_TOP;
break; break;
} }
.@refine_count = getequiprefinerycnt(.@part); .@refine_count = getequiprefinerycnt(.@part);