;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@CastleWarReady]
{
#ACT
SENDCMD "3, 235, 157, 4" CastleGate1 CLOSE
SENDCMD "3, 169, 151, 1" CastleGate3 CLOSE
SENDCMD "3, 233, 87, 1" CastleGate4 CLOSE
ChangeMapAttr "3" "SAFE"
ChangeMapAttr "3" "NoFly"
ChangeMapAttr "3" "NoRFly"
ChangeMapAttr "3" "NoSpell"
TingWar Sabuk
LoadValue A7 [Convert_Def\QuestDiary\System\SabukCastle\SabukDefaultSetting.txt] [Convert] [Msg0]
lineMsg [Grobal] %A7
}

[@CastleWarStart]
{
#ACT
ResetMapAttr "3"

SetAreaAttr "3, 206, 119, 6" "NoFly"
SetAreaAttr "3, 206, 119, 6" "NoRFly"
SetAreaAttr "3, 206, 119, 10" "NoLack"

SetAreaAttr "3, 212, 126, 5" "NoLack"
SetAreaAttr "3, 210, 108, 5" "NoLack"
SetAreaAttr "3, 203, 132, 5" "NoLack"

SetAreaAttr "3, 234, 151, 4" "NoLack"
SetAreaAttr "3, 169, 151, 4" "NoLack"
SetAreaAttr "3, 233, 87, 4" "NoLack"

SetAreaAttr "3, 217, 110, 8" "NoLack"
SetAreaAttr "3, 148, 61, 8" "NoLack"
SetAreaAttr "3, 266, 288, 8" "NoLack"
SetAreaAttr "3, 106, 285, 8" "NoLack"
movenpc "3,206,154,(WeaponShop)_Aaron" Z011 7 14
movenpc "3,238,119,(Drapery)_Petruska" Z011 7 15
movenpc "3,210,147,(Grocery)_Tranter " Z011 8 13
movenpc "3,242,122,(Accessory)_Yasmina" Z011 8 14
movenpc "3,203,102,(BootyShop)_John" Z011 8 15
movenpc "3,203,87,(RentalService)_Hagrid" Z011 10 7
movenpc "3,197,102,(Merchant)_Tom" Z011 10 8
movenpc "3,209,151,(Blacksmith)_Christopher" Z011 10 9
movenpc "3,193,106,(Administrator)_Offical " Z011 10 10
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='SABUK'" "FLD_FLAGSTATUS='Ready'"
}

[@CastleWarFinish]
{
#ACT
ResetMapAttr "3"

SetAreaAttr "3, 206, 119, 6" "Clear"
SetAreaAttr "3, 206, 119, 6" "Clear"
SetAreaAttr "3, 206, 119, 10" "Clear"

SetAreaAttr "3, 212, 126, 5" "Clear"
SetAreaAttr "3, 210, 108, 5" "Clear"
SetAreaAttr "3, 203, 132, 5" "Clear"

SetAreaAttr "3, 234, 151, 4" "Clear"
SetAreaAttr "3, 169, 151, 4" "Clear"
SetAreaAttr "3, 233, 87, 4" "Clear"

SetAreaAttr "3, 217, 110, 8" "Clear"
SetAreaAttr "3, 148, 61, 8" "Clear"
SetAreaAttr "3, 266, 288, 8" "Clear"
SetAreaAttr "3, 106, 285, 8" "Clear"
movenpc "Z011,7,14,(WeaponShop)_Aaron" 3 206 154
movenpc "Z011,7,15,(Drapery)_Petruska" 3 238 119
movenpc "Z011,8,13,(Grocery)_Tranter" 3 210 147
movenpc "Z011,8,14,(Accessory)_Yasmina" 3 242 122
movenpc "Z011,8,15,(BootyShop)_John" 3 203 102
movenpc "Z011,10,7,(RentalService)_Hagrid" 3 203 87
movenpc "Z011,10,8,(Merchant)_Tom" 3 197 102
movenpc "Z011,10,9,(Blacksmith)_Christopher" 3 209 151
movenpc "Z011,10,10,(Administrator)_Offical " 3 193 106
LoadValue A7 [Convert_Def\QuestDiary\System\SabukCastle\SabukDefaultSetting.txt] [Convert] [Msg3]
lineMsg [Grobal] %A7
UpdateValueSql "TBL_CastleFlagDef" "FLD_CASTLENAME='SABUK'" "FLD_FLAGSTATUS='Complete'"

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