turnbasedgamedata/Config/ConfigAbility/Level/Level_MazeWhitebox_Ability.json
2025-02-24 07:50:34 -03:00

890 lines
30 KiB
JSON

{
"AbilityList": [
{
"Modifiers": {
"StageAbility_MazeWhitebox_Furance_MonsterHP_Modifier": {
"_CallbackList": [
{
"Event": "OnEnterBattle",
"CallbackConfig": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_Furance_MonsterHP_Up"
}
}
]
}
]
},
"StageAbility_MazeWhitebox_Furance_MonsterHP_Up": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": []
}
],
"DynamicValues": {
"Floats": {
"-1309867853": {}
}
}
}
},
"Name": "StageAbility_MazeWhitebox_Furance_MonsterHP",
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_Furance_MonsterHP_Modifier"
}
}
]
},
{
"Modifiers": {
"StageAbility_MazeWhitebox_SpecialChallenge_AllBreak_Modifier": {
"_CallbackList": [
{
"Event": "OnEnterBattle",
"CallbackConfig": [
{
"$type": "RPG.GameCore.ShowUIPage",
"AssetPath": "UI/Common/Widget/BattleAlertHint.prefab",
"WaitShowPageFinish": true,
"UITextNodes": [
{
"TextPath": "AreaInfoPanel/Title/Text",
"TextContent": {
"Hash": 17651078105923054533
}
}
],
"LifeTime": 5
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_AllBreak_Win"
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_AllBreak_Lose"
}
}
]
}
]
},
"StageAbility_MazeWhitebox_SpecialChallenge_AllBreak_Win": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.HealHP",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"FormulaType": "HealByTargetMaxHP",
"HealPercentage": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.ModifySP",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"ModifyFunction": "Set",
"ModifyValue": {
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"Event": "OnHPChange",
"CallbackConfig": [
{
"$type": "RPG.GameCore.ModifySP",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"ModifyFunction": "Set",
"ModifyValue": {
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"Event": "OnTriggerBreak",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCharacterNumber",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"Predicate": {
"$type": "RPG.GameCore.ByCompareStance",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"CompareType": "LessEqual",
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
},
"CompareType": "GreaterEqual",
"CompareNumber": {
"FixedValue": {
"Value": 5
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Level_SpecialWin"
}
}
]
}
]
}
]
},
"StageAbility_MazeWhitebox_SpecialChallenge_AllBreak_Lose": {
"_CallbackList": [
{
"Event": "OnStack",
"CallbackConfig": [
{
"$type": "RPG.GameCore.StackProperty",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Property": "AllDamageReduce",
"PropertyValue": {
"FixedValue": {
"Value": 0.95
}
}
}
]
},
{
"Event": "OnBeforeDying",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCharacterNumber",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"Predicate": {
"$type": "RPG.GameCore.ByCompareStance",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"CompareType": "LessEqual",
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
},
"CompareType": "Less",
"CompareNumber": {
"FixedValue": {
"Value": 5
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Level_SpecialLose"
}
}
]
}
]
}
]
}
},
"Name": "StageAbility_MazeWhitebox_SpecialChallenge_AllBreak",
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_AllBreak_Modifier"
}
}
]
},
{
"Modifiers": {
"StageAbility_MazeWhitebox_SpecialChallenge_Greater60_Modifier": {
"_CallbackList": [
{
"Event": "OnEnterBattle",
"CallbackConfig": [
{
"$type": "RPG.GameCore.ShowUIPage",
"AssetPath": "UI/Common/Widget/BattleAlertHint.prefab",
"WaitShowPageFinish": true,
"UITextNodes": [
{
"TextPath": "AreaInfoPanel/Title/Text",
"TextContent": {
"Hash": 5931623079293132875
}
}
],
"LifeTime": 5
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Greater60_Lose"
}
}
]
}
]
},
"StageAbility_MazeWhitebox_SpecialChallenge_Greater60_Lose": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.HealHP",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"FormulaType": "HealByTargetMaxHP",
"HealPercentage": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.ModifySPNew",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllLightTeam"
},
"FixedAddValue": {
"FixedValue": {
"Value": 200
}
}
}
]
},
{
"Event": "OnAfterBeingHitAll",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareHPRatio",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"CompareType": "Less",
"CompareValue": {
"FixedValue": {
"Value": 0.6
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Level_SpecialLose"
}
}
]
}
]
}
]
}
},
"Name": "StageAbility_MazeWhitebox_SpecialChallenge_Greater60",
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Greater60_Modifier"
}
}
]
},
{
"Modifiers": {
"MDF_HPJudge": {
"BehaviorFlagList": [
"ListenBattleEventSkill"
],
"_CallbackList": [
{
"Event": "OnListenBeforeSkillUse",
"CallbackConfig": [
{
"$type": "RPG.GameCore.RemoveModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MDF_LockHP"
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByHPRatio",
"DynamicKey": "MDF_HPRatio",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareHPRatio",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"CompareType": "Greater",
"CompareValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
161776192
]
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MDF_LockHP"
},
"DynamicValues": {
"MDF_BlockHPRatio": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
161776192
]
}
},
"MDF_HPRatio": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
350792237
]
}
}
}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.RemoveSelfModifier"
},
{
"$type": "RPG.GameCore.RemoveModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MDF_LockHP"
}
}
]
}
]
},
{
"Event": "OnListenAfterSkillUse",
"CallbackConfig": [
{
"$type": "RPG.GameCore.RemoveModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MDF_LockHP"
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByHPRatio",
"DynamicKey": "MDF_HPRatio",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareHPRatio",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"CompareType": "Greater",
"CompareValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
161776192
]
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MDF_LockHP"
},
"DynamicValues": {
"MDF_BlockHPRatio": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
161776192
]
}
},
"MDF_HPRatio": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
350792237
]
}
}
}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.RemoveSelfModifier"
},
{
"$type": "RPG.GameCore.RemoveModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MDF_LockHP"
}
}
]
}
]
}
],
"DynamicValues": {
"Floats": {
"161776192": {},
"350792237": {}
}
}
},
"MDF_LockHP": {
"_CallbackList": [
{
"Event": "OnStack",
"CallbackConfig": [
{
"$type": "RPG.GameCore.LockHP",
"Threshold": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQMR",
"FixedValues": [],
"DynamicHashes": [
350792237,
161776192
]
}
}
}
]
}
],
"Stacking": "Replace",
"DynamicValues": {
"Floats": {
"161776192": {},
"350792237": {}
}
}
},
"StageAbility_MazeWhitebox_SpecialChallenge_Less30_Modifier": {
"_CallbackList": [
{
"Event": "OnListenCharacterCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamDark"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Less30_Win"
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "MDF_HPJudge"
},
"DynamicValues": {
"MDF_BlockHPRatio": {
"FixedValue": {
"Value": 0.3
}
}
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Less30_Loss"
}
}
]
}
]
},
{
"Event": "OnEnterBattle",
"CallbackConfig": [
{
"$type": "RPG.GameCore.ShowUIPage",
"AssetPath": "UI/Common/Widget/BattleAlertHint.prefab",
"WaitShowPageFinish": true,
"UITextNodes": [
{
"TextPath": "AreaInfoPanel/Title/Text",
"TextContent": {
"Hash": 16910127214366435232
}
}
],
"LifeTime": 5
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Less30_Win"
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"ModifierName": {
"Value": "MDF_HPJudge"
},
"DynamicValues": {
"MDF_BlockHPRatio": {
"FixedValue": {
"Value": 0.3
}
}
}
},
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Less30_Loss"
}
}
]
}
]
},
"StageAbility_MazeWhitebox_SpecialChallenge_Less30_Win": {
"BehaviorFlagList": [
"ListenBattleEventSkill"
],
"_CallbackList": [
{
"Event": "OnListenBeforeSkillUse",
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetDynamicValueByCharacterCount",
"DynamicKey": "DarkCharacterNumber",
"ReadTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"Predicate": {
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamDark"
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCharacterNumber",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"Predicate": {
"$type": "RPG.GameCore.ByCompareHPRatio",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"CompareType": "LessEqual",
"CompareValue": {
"FixedValue": {
"Value": 0.3
}
}
},
"CompareType": "GreaterEqual",
"CompareNumber": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
-366286052
]
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCharacterNumber",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"Predicate": {
"$type": "RPG.GameCore.ByCompareHPRatio",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"CompareType": "Greater",
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
},
"CompareType": "GreaterEqual",
"CompareNumber": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
-366286052
]
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.DebugLog",
"Level": "Warn",
"Message": "special win"
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Level_SpecialWin_Less30"
}
}
]
}
]
}
]
}
],
"DynamicValues": {
"Floats": {
"-366286052": {}
}
}
},
"StageAbility_MazeWhitebox_SpecialChallenge_Less30_Loss": {
"_CallbackList": [
{
"Event": "OnBeforeDying",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Team": "TeamDark"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Level_SpecialLose"
}
}
]
}
]
}
]
}
},
"Name": "StageAbility_MazeWhitebox_SpecialChallenge_Less30",
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "StageAbility_MazeWhitebox_SpecialChallenge_Less30_Modifier"
}
}
]
}
]
}