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

351 lines
No EOL
12 KiB
JSON

{
//小怪战
"ID": 3004,
"EventTypeTag": [
"CameraMoveToCenter",
"Battle"
],
"Events": {
"OnStart": {
"Actions": [
{
"$type":"Share.CConfigEmpty"
},
{
"$type": "Share.CConfigSwitchServer",
"Switch": [
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID1",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID1)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID2",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID2)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID3",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID3)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID4",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID4)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID5",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID5)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID6",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID6)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID7",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID7)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID8",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID8)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID9",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID9)"
}
]
},
{
"Weight": 50,
"Conditions":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleID10",
"Param":0,
"CompareType":"NotEqual"
}
],
"Actions": [
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"BattleID",
"SpecialValue":"specials(BattleID10)"
}
]
}
]
},
{
"$type":"Share.CConfigSetBattleType",
"BattleID":"specials(BattleID)",
"Type":"Normal"
},
{
"$type": "Share.CConfigTriggerBattle",
"BattleID": "specials(BattleID)",
"OnSuccess": "OnRandomResult"
}
]
},
"OnRandomResult":{
"Actions":[
{
"$type": "Share.CConfigIf",
"OnSuccess": "OnChooseNormal",
"OnFailure": "OnFinish",
"Conditions":[
{
"$type": "Share.CConfigEventByRandom",
"Odds": "specials(odd)" //跳转概率
}
]
}
]
},
"OnChooseNormal": {
"Actions": [
{
"$type": "Share.CConfigPreset",
"PerformKey" : "Chessboard_BattleEnd_Pre"
},
{
"$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"
}
]
}
]
},
{
"OptionText": "Event_Common_StaminaDown",
"OptionItemID1": "specials(ShowStamina)",
"OptionDesc1": "Event_Common_StaminaDown_Des",
"TitleText": "Item_TeamMedicinePr_03_name",
"OptionContents": [
{
"Actions": [
{
"$type": "Share.CConfigModifySceneProperty",
"Property": "Stamina",
"Count": "-specials(Stamina)"
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd"
}
]
}
]
}
]
}
]
},
"OnFinish": {
"Actions": [
{
"$type": "Share.CConfigPreset",
//无交互
"PerformKey" : "Chessboard_BattleEnd_None"
},
{
"$type": "Share.CConfigFinishEvent"
}
]
},
"OnEnd": {
"Actions": [
{
"$type": "Share.CConfigPreset",
//无交互
"PerformKey" : "Chessboard_BattleEnd_After"
},
{
"$type": "Share.CConfigFinishEvent"
}
]
}
},
"Specials": {
"odd":0,
"BattleID": 0,
"BattleID1": 0,
"BattleID2": 0,
"BattleID3": 0,
"BattleID4": 0,
"BattleID5": 0,
"BattleID6": 0,
"BattleID7": 0,
"BattleID8": 0,
"BattleID9": 0,
"BattleID10": 0,
"Gold": 500,
"Stamina": 30,
"Hp": 15,
"ShowGold": 900001,
"ShowStamina": 900002,
"ShowHp": 900003
}
}