case 3
if ((v[Mora_Coin] > 1) & (v[Seal_Of_Cathedral] > 0))
var p_name2 = PcName
ShowEffect p_name2 EF_REPAIRWEAPON
dropitem Mora_Coin 2
var enc_ct = rand 1 1487
if ((enc_ct >= 1) & (enc_ct <= 16))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Coluceo_Heal30
endif
if ((enc_ct >= 17) & (enc_ct <= 32))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 HP500
endif
if ((enc_ct >= 33) & (enc_ct <= 48))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Atk2
endif
if ((enc_ct >= 49) & (enc_ct <= 64))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Mdef6
endif
if ((enc_ct >= 65) & (enc_ct <= 80))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Coluceo_Heal30
endif
if ((enc_ct >= 81) & (enc_ct <= 96))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 HP500
endif
if ((enc_ct >= 97) & (enc_ct <= 112))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Atk2
endif
if ((enc_ct >= 113) & (enc_ct <= 128))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Mdef6
endif
if ((enc_ct >= 129) & (enc_ct <= 144))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Coluceo_Heal30
endif
if ((enc_ct >= 145) & (enc_ct <= 160))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 HP500
endif
if ((enc_ct >= 161) & (enc_ct <= 176))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Atk2
endif
if ((enc_ct >= 177) & (enc_ct <= 192))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Mdef6
endif
if ((enc_ct >= 193) & (enc_ct <= 208))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Coluceo_Heal30
endif
if ((enc_ct >= 209) & (enc_ct <= 224))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 HP500
endif
if ((enc_ct >= 225) & (enc_ct <= 240))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Atk2
endif
if ((enc_ct >= 241) & (enc_ct <= 256))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Mdef6
endif
if ((enc_ct >= 257) & (enc_ct <= 272))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Coluceo_Heal30
endif
if ((enc_ct >= 273) & (enc_ct <= 288))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 HP500
endif
if ((enc_ct >= 289) & (enc_ct <= 304))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Atk2
endif
if ((enc_ct >= 305) & (enc_ct <= 320))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Mdef6
endif
if ((enc_ct >= 321) & (enc_ct <= 336))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Coluceo_Heal30
endif
if ((enc_ct >= 337) & (enc_ct <= 352))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 HP500
endif
if ((enc_ct >= 353) & (enc_ct <= 368))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Atk2
endif
if ((enc_ct >= 369) & (enc_ct <= 384))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Mdef6
endif
if ((enc_ct >= 385) & (enc_ct <= 400))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Coluceo_Heal30
endif
if ((enc_ct >= 401) & (enc_ct <= 416))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 HP500
endif
if ((enc_ct >= 417) & (enc_ct <= 432))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Atk2
endif
if ((enc_ct >= 433) & (enc_ct <= 448))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Mdef6
endif
if ((enc_ct >= 449) & (enc_ct <= 464))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Coluceo_Heal30
endif
if ((enc_ct >= 465) & (enc_ct <= 480))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 HP500
endif
if ((enc_ct >= 481) & (enc_ct <= 496))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Atk2
endif
if ((enc_ct >= 497) & (enc_ct <= 512))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Mdef6
endif
if ((enc_ct >= 513) & (enc_ct <= 528))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Coluceo_Heal30
endif
if ((enc_ct >= 529) & (enc_ct <= 544))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 HP500
endif
if ((enc_ct >= 545) & (enc_ct <= 560))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Atk2
endif
if ((enc_ct >= 561) & (enc_ct <= 576))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Mdef6
endif
if ((enc_ct >= 577) & (enc_ct <= 592))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Coluceo_Heal30
endif
if ((enc_ct >= 593) & (enc_ct <= 608))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 HP500
endif
if ((enc_ct >= 609) & (enc_ct <= 624))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Atk2
endif
if ((enc_ct >= 625) & (enc_ct <= 640))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Mdef6
endif
if ((enc_ct >= 641) & (enc_ct <= 656))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Coluceo_Heal30
endif
if ((enc_ct >= 657) & (enc_ct <= 672))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 HP500
endif
if ((enc_ct >= 673) & (enc_ct <= 688))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Atk2
endif
if ((enc_ct >= 689) & (enc_ct <= 704))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Mdef6
endif
if ((enc_ct >= 705) & (enc_ct <= 720))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Coluceo_Heal30
endif
if ((enc_ct >= 721) & (enc_ct <= 736))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 HP500
endif
if ((enc_ct >= 737) & (enc_ct <= 752))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Atk2
endif
if ((enc_ct >= 753) & (enc_ct <= 768))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Mdef6
endif
if ((enc_ct >= 769) & (enc_ct <= 784))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Coluceo_Heal30
endif
if ((enc_ct >= 785) & (enc_ct <= 800))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 HP500
endif
if ((enc_ct >= 801) & (enc_ct <= 816))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Atk2
endif
if ((enc_ct >= 817) & (enc_ct <= 832))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Inteligence2 Mdef6
endif
if ((enc_ct >= 833) & (enc_ct <= 848))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Coluceo_Heal30
endif
if ((enc_ct >= 849) & (enc_ct <= 864))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 HP500
endif
if ((enc_ct >= 865) & (enc_ct <= 880))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Atk2
endif
if ((enc_ct >= 881) & (enc_ct <= 896))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity1 Mdef6
endif
if ((enc_ct >= 897) & (enc_ct <= 912))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Coluceo_Heal30
endif
if ((enc_ct >= 913) & (enc_ct <= 928))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 HP500
endif
if ((enc_ct >= 929) & (enc_ct <= 944))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Atk2
endif
if ((enc_ct >= 945) & (enc_ct <= 960))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Dexterity2 Mdef6
endif
if ((enc_ct >= 961) & (enc_ct <= 976))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Coluceo_Heal30
endif
if ((enc_ct >= 977) & (enc_ct <= 992))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 HP500
endif
if ((enc_ct >= 993) & (enc_ct <= 1008))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Atk2
endif
if ((enc_ct >= 1009) & (enc_ct <= 1024))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Vitality1 Mdef6
endif
if ((enc_ct >= 1025) & (enc_ct <= 1040))
dropitem Seal_Of_Cathedral 1
GetNonSlotItemSock Seal_Of_Cathedral 0 0 Coluceo_Heal30 Coluceo_Heal30
endif
if ((enc_ct >= 1041) & (enc_ct <= 1487))
dropitem Seal_Of_Cathedral 1
dialog "[Relice]"
dialog "Sometimes things just don't work out the way you want, I hope next time things go better for you, until then, good bye."
close
EnableItemMove
return
endif
dialog "[Relice]"
dialog "The strengthening went well, lucky you!"
close
EnableItemMove
return
else
dialog "[Relice]"
dialog "For 2 Mora Coins I can Strengthen the equipment you find here in one of many ways!"
close
EnableItemMove
return
endif
break