;;不要删掉此行
%70
+0
+3


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

[@Main]
#ACT
Loadvalue A1 "QuestDiary\Guild\Palace.txt" %GUILDNAME [Potion]
#IF
Equal A1 "Active"
#SAY
#CALL [Merchant\Common\PotionShop.txt] @PotionShopMain
#ELSESAY
I sell pots with a 30% discount of town price\
If your guild wish to use my skills it will\
cost you 1,000,000 Gold per week...\\
<We will hire you/@Hire>\
<Leave/@Exit>

[@Hire]
#IF
CheckGold 1000000
#ACT
SaveValue "QuestDiary\Guild\Palace.txt" %GUILDNAME [Potion] Active
Take Gold 1000000
GoTo @FindDay
#ELSESAY
I wont work for such a poor man...\\
<Leave/@Exit>

[@FindDay]
#IF
DAYOFWEEK Monday
#ACT
Mov A2 Monday
GoTo @SetDay
BREAK

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

#IF
DAYOFWEEK Tuesday
#ACT
Mov A2 Tuesday
GoTo @SetDay
BREAK

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

#IF
DAYOFWEEK Wednesday
#ACT
Mov A2 Wednesday
GoTo @SetDay
BREAK

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

#IF
DAYOFWEEK Thursday
#ACT
Mov A2 Thursday
GoTo @SetDay
BREAK

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

#IF
DAYOFWEEK Friday
#ACT
Mov A2 Friday
GoTo @SetDay
BREAK

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

#IF
DAYOFWEEK Saterday
#ACT
Mov A2 Saterday
GoTo @SetDay
BREAK

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

#IF
DAYOFWEEK Sunday
#ACT
Mov A2 Sunday
GoTo @SetDay
BREAK

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

[@SetDay]
#ACT
SaveValue "QuestDiary\Guild\Palace.txt" %GUILDNAME [PotionPurchase] %A2
GoTo @Main

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

[GOODS]
HPPotion	500	1
HPPotion(M)	500	1
HPPotion(L)	500	1
HPPotion(XL)	500	1
MPPotion	500	1
MPPotion(M)	500	1
MPPotion(L)	500	1
MPPotion(XL)	500	1
LifePill-S	500	1
LifePill-M	500	1
LifePill-L	500	1
LifePill-XL	500	1
ManaPill-S	500	1
ManaPill-M	500	1
ManaPill-L	500	1
ManaPill-XL	500	1

;;不要删掉此行