HollowPS_TV_experiments/extras/zzz-0.1-jsons/Event776.json

217 lines
8.9 KiB
JSON

//精英战斗,解锁后方宝箱
{
"ID": 776,
"Events": {
"OnStart": {
"Actions": [
{
"$type": "Share.CConfigOpenDialog"
},
{
//对话框内容
"$type": "Share.CConfigLogText",
"Messages": [
"BattleEnterMessages_{specials(MessageID)}"
]
},
//确认battle
{
"$type":"Share.CConfigSwitchServer",
"Switch":[
{
"Weight":20,
"Actions":[
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID1)"
}
]
},
{
"Weight":20,
"Actions":[
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID2)"
}
]
},
{
"Weight":20,
"Actions":[
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID3)"
}
]
},
{
"Weight":20,
"Actions":[
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID4)"
}
]
},
{
"Weight":20,
"Actions":[
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID5)"
}
]
}
]
},
{
"$type": "Share.CConfigTriggerBattle",
"BattleID": "specials(BattleID)",
"OnSuccess": "OnChooseItem"
}
]
},
"OnChooseItem": {
"Actions": [
{
"$type": "Share.CConfigLogText",
"Messages": [
"BattleEndMessages_{specials(MessageID)}_1",
"BattleEndMessages_{specials(MessageID)}_2"
]
},
{
"$type": "Share.CConfigChoiceServer",
"OptionsMode": "Normal",
"ShowMode": "Event",
"Choices": [
{
"OptionText": "Event_Common_RecoverHp",
"OptionItemID1": "specials(ShowHp)",
"OptionDesc1": "Event_Common_RecoverHp_Des",
"TitleText": "Item_TeamMedicineHp_02_name",
"OptionContents": [
{
"Actions": [
{
"$type": "Share.CConfigModifyProperty",
"Property": "Hp",
"Count": "property(HpMax_Battle)*specials(Hp)*0.01"
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd"
}
]
}
]
},
{
"OptionText": "Event_Common_GetCoin",
"OptionItemID1": "specials(ShowGold)",
"OptionDesc1": "Event_Common_GetCoin_Des",
"TitleText": "Item_RL_Purse_03_name",
"OptionContents": [
{
"Actions": [
{
"$type": "Share.CConfigAddItem",
"ItemID": 1,
"Count": "specials(Gold)"
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd"
}
]
}
]
},
{
// "SelectGroup": 3,
"OptionText": "Event_Common_StaminaDown",
"OptionItemID1": "specials(ShowStamina)",
"OptionDesc1": "Event_Common_StaminaDown_Des",
"TitleText": "Item_TeamMedicinePr_02_name",
"OptionContents": [
{
"Actions": [
{
"$type": "Share.CConfigModifySceneProperty",
"Property": "Stamina",
"Count": "-specials(Stamina)"
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd"
}
]
}
]
}
]
// "ExtraChoice": {
// "OptionContents": [
// {
// "Actions": [
// {
// "$type": "Share.CConfigJump",
// "Jump": "OnEnd"
// }
// ]
// }
// ]
// }
}
]
},
"OnEnd": {
"Actions": [
//向后翻牌子
// {
// "$type": "Share.CConfigSetMapState",
// "Position": "Relative",
// "NodeType": "All",
// "X": 1,
// "Y": 0,
// "Radius": 0,
// "Count": 1,
// "FromState":[
// "Locked"
// ],
// "ToState":[
// "ShowEvent"
// ]
// },
{
"$type": "Share.CConfigCloseDialog"
},
{
"$type": "Share.CConfigFinishEvent"
}
]
}
},
"Specials": {
"BattleID": 0,
"BattleID1":2010130,
"BattleID2":2010131,
"BattleID3":2010132,
"BattleID4":2010133,
"BattleID5":2010134,
"MessageID": 1009,
"Gold": 300,
"Stamina": 10,
"Hp": 10,
"ShowGold": 900001,
"ShowStamina": 900002,
"ShowHp": 900003
}
}