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

#IF
!HasWeaponAtom
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_1
#ACT
break

#IF
checkgold 100000
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_2
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_3

[@ChangeAtom_Next]
#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_4
#ELSEACT
break

#IF
checkgold 100000
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_5
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_6

[@ChangeAtom()]
#IF
#ACT
Mov A0 %ARG(1)
Mov A1 %ARG(2)
Mov D0 %ARG(3)
#IF
checkweaponlevel 1
#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_7
#ELSEACT
break

#IF
checkgold 100000
#ACT
ChangeWeaponAtom %D0
take Gold 100000
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\Refine\WeaponChangeAtom.txt] @WeaponChangeAtom_8
}
;;不要删掉此行