;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@MarketShooter]
{

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_0

;[@buy_Shooter()]
;#IF
;#ACT
;Mov A0 %ARG(1)
;Mov D0 %ARG(3)
[@buy_stoneshooter]
#IF
!checkgold 50000

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_1

#ACT
break

#IF
checkgold 50000
!checkshooter
!checksavedshooter
#ACT
take 金币 50000
makeshooter 投石车 100
;makeshooter %A0 300

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_2


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_3

[@buy_chainshooter]
#IF
!checkgold 50000
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_1

#ACT
break

#IF
checkgold 50000
!checkshooter
!checksavedshooter
#ACT
take 金币 50000
makeshooter 弩车 100
#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_2_0

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_3

[@leave_shooter]
#IF
CheckShooter
#ACT
LeaveShooter

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_4


#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_5

[@Getback_shooter]
#IF
!checkgold 1000

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_6

#ACT
break

#IF
checkgold 1000
!checkshooter
checksavedshooter 1

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_7

#ACT
take 金币 1000
makeshooter 投石车
break

#IF
!checkshooter
checksavedshooter 2

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_8

#ACT
take 金币 1000
makeshooter 弩车
break

#IF

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_9

[@kill_shooter]
#IF
checkshooter

#SAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_10

#ACT
give 金币 25000
killshooter

#ELSESAY
#INCLUDE [..\Convert_Def\QuestDiary\System\ShooterMarket.txt] @Convert_ShooterMarket_11

}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;