//战斗事件 { "ID": 9991236, "EventTypeTag": [ "PatrolArmy" ], "Specials": { "road": 0, "position": 0, "Show": 1, "BattleID": 0 }, "Events": { "OnStart": { "Actions": [ //{ // "$type": "Share.CConfigOpenDialog" //}, //{ // "$type": "Share.CConfigLogText", // "Messages": [ // "OnStart--战斗事件" // ] //}, //{ // "$type": "Share.CConfigCloseDialog" //}, //报告位置 { "$type": "Share.CConfigSetHollowVariable", "Key": "PlayerR.1000", "Value": "specials(road)" }, { "$type": "Share.CConfigSetHollowVariable", "Key": "PlayerP.1000", "Value": "specials(position)" }, //判断战斗 { "$type": "Share.CConfigIf", "OnSuccess": "OnBattle", "OnFailure": "OnEmpty", "Conditions": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Coord.100{specials(road)}", "Count": "specials(position)", "CompareType": "Equal" } ] } ] }, "OnBattle": { "Actions": [ { "$type": "Share.CConfigIf", "OnSuccess": "OnEliteBattle", "OnFailure": "OnNormalBattle", "Conditions": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Kill.1000", "Count": 1, "CompareType": "Equal" } ] } ] }, "OnNormalBattle": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1382" // 被发现了!准备进入战斗 ] }, { "$type":"Share.CConfigDropBattleID", "Type":[20], "SpecialName":"BattleID" }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "OnNormalEnd" } ] }, "OnEliteBattle": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Kill.1000", "Value": 0 }, { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1383" // 由于白噪音的刺激,敌人被激怒了,做好准备! ] }, { "$type":"Share.CConfigDropBattleID", "Type":[22], "SpecialName":"BattleID" }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "OnSuccess": "OnEliteEnd" } ] }, "OnNormalEnd": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Dead.100{specials(road)}", "Value": 2 }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1384" // 战斗的动静太大,附近似乎也有敌人被引了过来! ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnEliteEnd": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Dead.100{specials(road)}", "Value": -1 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Coord.100{specials(road)}", "Value": 99 }, { "$type": "Share.CConfigLogText", "Messages": [ "JsonText_1385" // 由于破损邦布发出的定向扰乱信号,周围敌人并没有注意到这边的动静 ] }, { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnEmpty": { "Actions": [ { "$type": "Share.CConfigFinishEvent" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } } }