;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@006_Event3]
{
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg0]
Eventmsg Grobal %A7 10005
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [ThirdFailed] 1
MonClear DQ1602_1
DelayGoto [Grobal] 12 @006_Event3_1

[@006_Event3_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg1]
Eventmsg Grobal %A7 10003
DelayGoto [Grobal] 12 @006_Event3_2

[@006_Event3_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg2]
Eventmsg Grobal %A7 10005
DelayGoto [Grobal] 12 @006_Event3_3

[@006_Event3_3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg3]
Eventmsg Grobal %A7 10003
DelayGoto [Grobal] 180 @006_Event3_15



[@006_Event3_15]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg4]
Eventmsg Grobal %A7 10008
DelayGoto [Grobal] 12 @006_Event3_16

[@006_Event3_16]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg5]
Eventmsg Grobal %A7 10008
DelayGoto [Grobal] 12 @006_Event3_17

[@006_Event3_17]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg6]
Eventmsg Grobal %A7 10008
DelayGoto [Grobal] 12 @006_Event3_18

[@006_Event3_18]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg7]
Eventmsg Grobal %A7 10008


MonGenP "DQ1602_1,252,43,1" 诺玛突击队长 1
ApplyMonEX "DQ1602_1,252,43,3" 诺玛突击队长 [Monsterside] "诺玛守卫队长"
MonGenP "DQ1602_1,359,52,8" 诺玛抛石兵 10
MonGenP "DQ1602_1,150,150,140" 诺玛7 100
MonGenP "DQ1602_1,150,150,140" 诺玛7 100
MonGenP "DQ1602_1,150,150,140" 诺玛7 100
MonGenP "DQ1602_1,150,150,140" 诺玛7 100
MonGenP "DQ1602_1,150,150,140" 诺玛将士7 100
MonGenP "DQ1602_1,150,150,140" 诺玛法老7 100
MonGenP "DQ1602_1,100,100,10" 诺玛族男人 2 "noitem,金币,30000,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）"
ApplyMonEx "DQ1602_1,100,100,100" 诺玛族男人 [RunAway]
MonGenP "DQ1602_1,100,100,50" 单腿诺玛 2 "noitem,金币,30000,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）"
ApplyMonEx "DQ1602_1,100,100,100" 单腿诺玛 [RunAway]
MonGenP "DQ1602_1,100,100,50" 单腿诺玛 2 "noitem,金币,50000,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）"
ApplyMonEx "DQ1602_1,100,100,100" 单腿诺玛 [RunAway]
MonGenP "DQ1602_1,100,100,50" 诺玛族男人 2 "noitem,金币,50000,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）"
ApplyMonEx "DQ1602_1,100,100,100" 诺玛族男人 [RunAway]
MonGenP "DQ1602_1,100,100,50" 诺玛族男人 2 "noitem,金币,80000,金创药（特）,魔法药（特）,金创药（大）,魔法药（大）,金创药（大）,魔法药（大）"
ApplyMonEx "DQ1602_1,100,100,100" 诺玛族男人 [RunAway]


DelayGoto [Grobal] 300 @006_Event3_GateOpen



[@006_Event3_GateOpen]
#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [GateOpen] 1
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [GateClose] 0
DelayGoto [Grobal] 20 @006_Event3_19

[@006_Event3_19]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg8]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_20

[@006_Event3_20]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg9]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_21

[@006_Event3_21]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg10]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_22

[@006_Event3_22]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg11]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 30 @006_Event3_23

[@006_Event3_23]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg12]
EventMsg "DQ1602_1" %A7 10431
DelayGoto [Grobal] 12 @006_Event3_24

[@006_Event3_24]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg13]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_25

[@006_Event3_25]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg14]
EventMsg "DQ1602_1" %A7 10431
DelayGoto [Grobal] 12 @006_Event3_26

[@006_Event3_26]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg15]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 300 @006_Event3_GateClose



[@006_Event3_GateClose]
#ACT
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [GateClose] 1
DelayGoto [Grobal] 1500 @006_Event3_EndCheck



[@006_Event3_EndCheck]
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [006] [QuestSuccess]

#IF
Equal P1 0
#ACT
Goto @006_Event3_Fail
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [End] 1
MonClear DQ1602_1
break
#ELSEACT
MonClear DQ1602_1



[@006_Event3_Fail]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg16]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_Fail1

[@006_Event3_Fail1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg17]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_Fail2

[@006_Event3_Fail2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg18]
EventMsg "DQ1602_1" %A7 10431
Mapting DQ1602_1 4 168 152
DelayGoto [Grobal] 30 @006_Event3_Fail3

[@006_Event3_Fail3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg19]
EventMsg Grobal %A7 10008
DelayGoto [Grobal] 12 @006_Event3_Fail4

[@006_Event3_Fail4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg20]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @006_Event3_Fail5

[@006_Event3_Fail5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg21]
EventMsg Grobal %A7 10003
DelayGoto [Grobal] 12 @006_Event3_Fail6

[@006_Event3_Fail6]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg22]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @006_Event3_Fail7

[@006_Event3_Fail7]
begin
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg23]
EventMsg Grobal %A7 10003
MonClear DQ1602_1
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"
end
}


[@006_Event3_Success]
{
#ACT
LoadValue P1 "QuestDiary\Judgement\Flag.txt" [006] [FirstFailed]
LoadValue P2 "QuestDiary\Judgement\Flag.txt" [006] [SecondFailed]
LoadValue P3 "QuestDiary\Judgement\Flag.txt" [006] [ThirdFailed]
#IF
Equal P1 1
Equal P2 1
Equal P3 1
#ACT
MonClear DQ1602_1
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBDAYCOUNT" [@006_Event3_Success_1]
#ELSEACT
break

[@006_Event3_Success_1()]
#ACT
mov P1 %ARG(1)
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"
SaveValue "QuestDiary\Judgement\Flag.txt" [006] [QuestSuccess] 1
MonClear DQ1602_1
goto @006_Event3_Success1_1
break
#ELSEACT
MonClear DQ1602_1
break

[@006_Event3_Success1_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg24]
EventMsg "DQ1602_1" %A7 10062
DelayGoto [Grobal] 12 @006_Event3_Success1

[@006_Event3_Success1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg25]
EventMsg "DQ1602_1" %A7 10431
mov A0 "Judgement"
mov D0 6
mov D1 1
mov D2 0
mov D3 0
goto @EveryThingReward
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg26]
LineMsg "DQ1602_1" %A7
DelayGoto [Grobal] 12 @006_Event3_Success2

[@006_Event3_Success2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg27]
EventMsg "DQ1602_1" %A7 10431
DelayGoto [Grobal] 10 @006_Event3_Success3

[@006_Event3_Success3]
#ACT
Mapting DQ1602_1 4 168 152
DelayGoto [Grobal] 20 @006_Event3_Success4

[@006_Event3_Success4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg28]
EventMsg Grobal %A7 10003
DelayGoto [Grobal] 12 @006_Event3_Success5

[@006_Event3_Success5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg29]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @006_Event3_Success6

[@006_Event3_Success6]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\006\006event3.txt] [Convert] [Msg30]
EventMsg Grobal %A7 10003
MonClear DQ1602_1
Savevalue "QuestDiary\Judgement\Flag.txt" [MainTimer] [SuperQuest] 0


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