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

244 lines
No EOL
8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ID": 2020852, //移动敌人普通2
"Events": {
"OnStart": {
"Actions": [
{
"$type":"Share.CConfigEmpty"
},
{
"$type":"Share.CConfigDropBattleID",
"Type":["specials(difficult)"],
"SpecialName":"BattleID"
},
{
"$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.CConfigJump",
"Jump":"Door",
"Predicates":[
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "EnemyCount.2020832",
"CompareType": "Equal",
"Count": 1
}
]
},
//自加
{
"$type": "Share.CConfigSetHollowVariable",
"Key": "EnemyCount.2020832",
"Value":"scenevar(EnemyCount.2020832)+1"
},
//杀了一个的tips
{
"$type": "Share.CConfigShowTip",
"TipID": 202080510
},
{
"$type": "Share.CConfigFinishEvent"
}
]
},
"Door":{
"Actions":[
//镜头
{
"$type": "Share.CConfigCameraMove",
"StretchKey": "Far",
"Type": "CustomBound",
"BoundIndexX": 261,
"BoundIndexY": 351
},
{
"$type": "Share.CConfigWaitSeconds",
"Time": "0.5"
},
//开门
{
"$type": "Share.CConfigSetMapState",
"X": 6,
"Y": 19,
"Position": "Absolute",
"Radius": 0,
"Count": 1,
"FromVisibleState": [
"VisibleByTriggerEvent"
],
"ToVisibleState": [
"Visible"
]
},
{
"$type": "Share.CConfigSetMapState",
"X": 11,
"Y": 16,
"Position": "Absolute",
"Radius": 0,
"Count": 1,
"FromVisibleState": [
"VisibleByTriggerEvent"
],
"ToVisibleState": [
"Visible"
]
},
{
"$type": "Share.CConfigWaitSeconds",
"Time": "1"
},
{
"$type": "Share.CConfigShowTip",
"TipID": 202080511
},
{
"$type": "Share.CConfigCameraMove",
"StretchKey": "Back",
"Type": "Player"
},
//关门标记
{
"$type": "Share.CConfigSetHollowVariable",
"Key": "CloseDoor.2020834",
"Value": 0
},
{
"$type": "Share.CConfigFinishEvent"
}
]
},
"OnEnd": {
"Actions": [
{
"$type": "Share.CConfigPreset",
//无交互
"PerformKey" : "Chessboard_BattleEnd_After"
},
{
"$type": "Share.CConfigFinishEvent"
}
]
}
},
"Specials": {
"odd":0,
"difficult":11,
"BattleID": 0,
"Gold": 500,
"Stamina": 30,
"Hp": 15,
"ShowGold": 900001,
"ShowStamina": 900002,
"ShowHp": 900003,
//开门计数
"OpenDoor":0
}
}