;;不要删掉此行
[@Refine]
{
#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_0
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_1
#ACT
break

#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_2
#ACT
break

;------------------------------------------------------------------------------------

#IF
Checkitemw AncientSword(Ignis) 1
#ACT
goto @CantRefineWeapon
break

#IF
Checkitemw AncientSword(Gelu) 1
#ACT
goto @CantRefineWeapon
break

#IF
Checkitemw AncientSword(Fulmen)  1
#ACT
goto @CantRefineWeapon
break

#IF
Checkitemw AncientSword(Ventus) 1
#ACT
goto @CantRefineWeapon
break

#IF
Checkitemw AncientSword(Ater) 1
#ACT
goto @CantRefineWeapon
break

#IF
Checkitemw AncientSword(Sacer) 1
#ACT
goto @CantRefineWeapon
break

#IF
Checkitemw AncientSword(Phasma) 1
#ACT
goto @CantRefineWeapon
break

;------------------------------------------------------------------------------------

#IF
checkweaponmctype 0
checkrefineweapon
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_3
#ACT
break

#IF
checkweaponmctype 1
checkrefineweapon
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_4
#ACT
break

#IF
checkweaponmctype 2
checkrefineweapon
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_5
#ACT
break

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_6

[@CantRefineWeapon]
#IF
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_7

[@Refine_Dura]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_8
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_9
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_10
#ACT
break

#IF
checkduraw 1
!Small P9 60
#ACT
break
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_11

#IF
checkitem BlackIronOre 5
checkrefineweapon
#ACT
refineWeapon 10000 1 0
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_12

[@Refine_DC]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_13
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_14
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_15
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 1 3
checkrefineweapon
#ACT
RefineWeapon 50000 3 0
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_16

[@Refine_MC]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_17
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_18
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_19
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 2 3
checkrefineweapon
#ACT
RefineWeapon 50000 3 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_20

[@Refine_SC]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_21
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_22
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_23
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 3 3
checkrefineweapon
#ACT
RefineWeapon 50000 3 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_24

[@Refine_ALL]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_25
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_26
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_27
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 4 3
checkrefineweapon
#ACT
RefineWeapon 50000 3 1
break
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_28

[@Refine_Atom]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_29
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_30
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_31
#ACT
break

#IF
checkrefineweapon
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_32

[@Refine_Fire]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_33
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_34
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_35
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_36

[@Refine_Ice]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_37
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_38
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_39
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 2
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_40

[@Refine_Light]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_41
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_42
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_43
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 3
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_44

[@Refine_Wind]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_45
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_46
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_47
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 4
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_48

[@Refine_Holy]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_49
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_50
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_51
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 5
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_52

[@Refine_Dark]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_53
#ACT
break
#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_54
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_55
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 6
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_56

[@Refine_pantom]
#IF
Checkitemw 寂幻之刃 1
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_57
#ACT
break

#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_58
#ELSEACT
break

#IF
checkweaponlevel 17
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_59
#ACT
break

#IF
checkitem BlackIronOre 3
checkrefineitem 0 5
checkrefineweapon
#ACT
RefineWeapon 50000 4 7
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponRefine.txt] @WeaponRefine_60
}
;;不要删掉此行