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

310 lines
No EOL
9.5 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": 2020855, //移动敌人2之二普通2
"EventTypeTag": [
"CameraMoveToCenter"
],
"Events": {
"OnStart": {
"Actions": [
{
"$type":"Share.CConfigEmpty"
},
//anim 上下左右
//b
{
//右
"$type": "Share.CConfigPlayAnim",
"WaitingTime": 1,
"AnimID":21004,
"Predicates":[
//从右-->左
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "AniRight.20208119",
"CompareType": "Equal",
"Count": 1
}
]
},
{
//左
"$type": "Share.CConfigPlayAnim",
"WaitingTime": 1,
"AnimID":21005,
"Predicates":[
//从左-->右
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "AniLeft.20208009",
"CompareType": "Equal",
"Count": 1
}
]
},
{
//下
"$type": "Share.CConfigPlayAnim",
"WaitingTime": 1,
"AnimID":21006,
"Predicates":[
//从下--上
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "AniDown.20208339",
"CompareType": "Equal",
"Count": 1
}
]
},
{
//上
"$type": "Share.CConfigPlayAnim",
"WaitingTime": 1,
"AnimID":21007,
"Predicates":[
//从上--下
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "AniUp.20208229",
"CompareType": "Equal",
"Count": 1
}
]
},
{
"$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": 4,
"BoundIndexY": 58
},
{
"$type": "Share.CConfigWaitSeconds",
"Time": "0.5"
},
//开门
{
"$type": "Share.CConfigSetMapState",
"X": 7,
"Y": 4,
"Position": "Absolute",
"Radius": 0,
"Count": 1,
"FromVisibleState": [
"VisibleByTriggerEvent"
],
"ToVisibleState": [
"Visible"
]
},
{
"$type": "Share.CConfigSetMapState",
"X": 8,
"Y": 2,
"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
}
}