;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[@CastleWarReady]
{
#ACT
ChangeMapAttr "10" "SAFE"
ChangeMapAttr "10" "NoFly"
ChangeMapAttr "10" "NoRFly"
ChangeMapAttr "10" "NoSpell"
TingWar Sabuk
LoadValue A7 [Convert_Def\QuestDiary\System\SabukCastle\SabukDefaultSetting.txt] [Convert] [Msg0]
lineMsg [Grobal] %A7
}

[@CastleWarStart]
{
#ACT
ResetMapAttr "10"
SetAreaAttr "10,300,260,15" "NoFly"
SetAreaAttr "10,300,260,15" "NoRFly"
SetAreaAttr "10,300,260,15" "NoLack"
SetAreaAttr "10,352,319,15" "NoFly"
SetAreaAttr "10,352,319,15" "NoRFly"
SetAreaAttr "10,352,319,15" "NoLack"
SetAreaAttr "10,357,226,15" "NoFly"
SetAreaAttr "10,357,226,15" "NoRFly"
SetAreaAttr "10,357,226,15" "NoLack"
SetAreaAttr "10,267,228,15" "NoFly"
SetAreaAttr "10,267,228,15" "NoRFly"
SetAreaAttr "10,267,228,15" "NoLack"
SetAreaAttr "10,269,317,15" "NoFly"
SetAreaAttr "10,269,317,15" "NoRFly"
SetAreaAttr "10,269,317,15" "NoLack"

;movenpc "3,206,154,(WeaponShop)_Aaron" Z011 7 14

LoadValue A7 [Convert_Def\QuestDiary\System\SabukCastle\SabukDefaultSetting.txt] [Convert] [Msg1]
lineMsg [Grobal] %A7
LoadValue A7 [Convert_Def\QuestDiary\System\SabukCastle\SabukDefaultSetting.txt] [Convert] [Msg2]
lineMsg [Grobal] %A7
UpdateValueSql "TBL_CastleFlagDef" "FLD_CASTLENAME='PASTBICHON'" "FLD_FLAGSTATUS='Ready'"
}

[@CastleWarFinish]
{
#ACT
ResetMapAttr "10"

SetAreaAttr "10,300,260,15" "Clear"
SetAreaAttr "10,300,260,15" "Clear"
SetAreaAttr "10,300,260,15" "Clear"
SetAreaAttr "10,352,319,15" "Clear"
SetAreaAttr "10,352,319,15" "Clear"
SetAreaAttr "10,352,319,15" "Clear"
SetAreaAttr "10,357,226,15" "Clear"
SetAreaAttr "10,357,226,15" "Clear"
SetAreaAttr "10,357,226,15" "Clear"
SetAreaAttr "10,267,228,15" "Clear"
SetAreaAttr "10,267,228,15" "Clear"
SetAreaAttr "10,267,228,15" "Clear"
SetAreaAttr "10,269,317,15" "Clear"
SetAreaAttr "10,269,317,15" "Clear"
SetAreaAttr "10,269,317,15" "Clear"

;movenpc "Z011,7,14,(WeaponShop)_Aaron" 3 206 154

LoadValue A7 [Convert_Def\QuestDiary\System\SabukCastle\SabukDefaultSetting.txt] [Convert] [Msg3]
lineMsg [Grobal] %A7
UpdateValueSql "TBL_CastleFlagDef" "FLD_CASTLENAME='PASTBICHON'" "FLD_FLAGSTATUS='Complete'"

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