Files
turnbasedgamedata/Config/ConfigAbility/BattleEvent/StrongChallenge_Scoring_Ability.json
2025-05-20 21:34:22 -03:00

948 lines
35 KiB
JSON

{
"AbilityList": [
{
"Modifiers": {
"MStrongChallenge_Scoring_Ability_0001": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.Retarget",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeam"
},
"ByRandom": true,
"TaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareMonsterRank",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"CompareType": "GreaterEqual",
"CompareValue": 4
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "MStrongChallenge_Scoring_Ability_0001_Enemy"
}
}
]
}
]
}
]
},
{
"Event": "OnListenCharacterCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByTargetTeam",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"Team": "TeamDark"
},
{
"$type": "RPG.GameCore.ByCompareMonsterRank",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"CompareType": "GreaterEqual",
"CompareValue": 4
},
{
"$type": "RPG.GameCore.ByIsContainModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"ModifierName": {
"Value": "MCommon_Servant"
},
"IncludeRecordBeforeDeathrattle": true,
"Inverse": true
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "MStrongChallenge_Scoring_Ability_0001_Enemy"
}
}
]
}
]
},
{
"Event": "OnLeaveBattle",
"CallbackConfig": [
{
"$type": "RPG.GameCore.Retarget",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AllDarkTeamWithAllDarkTeamUnselectable"
},
"ByRandom": true,
"IncludeLimbo": true,
"TaskList": [
{
"$type": "RPG.GameCore.RemoveModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ParamEntity"
},
"ModifierName": {
"Value": "MStrongChallenge_Scoring_Ability_0001_Enemy"
}
}
]
}
]
}
]
},
"MStrongChallenge_Scoring_Ability_0001_Enemy": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "GreaterEqual",
"StageID": {
"FixedValue": {
"Value": 4200510
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "LessEqual",
"StageID": {
"FixedValue": {
"Value": 4200519
}
}
}
]
},
{
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420052
}
}
}
]
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "SummonMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 1005013
}
}
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420101
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420191
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420261
}
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "SummonMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100501400
}
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "NotIncludeMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100402600
}
}
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420102
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420192
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420262
}
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "SummonMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100501400
}
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "NotIncludeMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100402600
}
}
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420103
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420193
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420263
}
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "SummonMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100501400
}
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "NotIncludeMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100402600
}
}
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420104
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420194
}
}
},
{
"$type": "RPG.GameCore.ByCompareStageID",
"CompareType": "Equal",
"StageID": {
"FixedValue": {
"Value": 420264
}
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "SummonMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100501410
}
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByTotalHPFromMonsterID",
"DynamicKey": "NotIncludeMonsterTotalHP",
"MonsterID": {
"FixedValue": {
"Value": 100402610
}
}
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCompareMonsterID",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"TargetMonsterID": {
"FixedValue": {
"Value": 100402600
}
}
},
{
"$type": "RPG.GameCore.ByCompareMonsterID",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"TargetMonsterID": {
"FixedValue": {
"Value": 100402600
}
}
},
{
"$type": "RPG.GameCore.ByCompareMonsterID",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"TargetMonsterID": {
"FixedValue": {
"Value": 100402600
}
}
},
{
"$type": "RPG.GameCore.ByCompareMonsterID",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"TargetMonsterID": {
"FixedValue": {
"Value": 100402610
}
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValue",
"ContextScope": "ContextModifier",
"Value": {
"FixedValue": {
"Value": 1
}
},
"DynamicKey": {
"Value": "HasServantModifier"
}
}
]
}
]
},
{
"Event": "OnDestroy",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareDynamicValue",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"DynamicKey": {
"Value": "HasServantModifier"
},
"ContextScope": "ContextModifier",
"CompareType": "Equal",
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValueByBossTotalHP",
"DynamicKey": "AllBossMaxHP",
"CalcAllWaveBoss": true,
"MinRank": "LittleBoss"
},
{
"$type": "RPG.GameCore.SetDynamicValueByBossTotalHP",
"DynamicKey": "CurrentBossMaxHP",
"BossTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
}
},
{
"$type": "RPG.GameCore.SetDynamicValueByBossLeftHP",
"DynamicKey": "CurrentBossLeftHP",
"BossTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCheckCustomValueBool",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Key": {
"Hash": -1411142984
}
},
{
"$type": "RPG.GameCore.ByCheckCustomValueBool",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Key": {
"Hash": -1411142985
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCheckCustomValueBool",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Key": {
"Hash": -1411142984
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.DebugLog",
"Message": "==============CX0429 CurrentBossMaxHP {CurrentBossMaxHP} CurrentBossLeftHP {CurrentBossLeftHP} AllBossMaxHP {AllBossMaxHP} SummonMonsterTotalHP {SummonMonsterTotalHP} NotIncludeMonsterTotalHP {NotIncludeMonsterTotalHP}======================"
},
{
"$type": "RPG.GameCore.SetBattleScoringItem",
"ScoringID": 90004,
"ModifyValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQMBAgEDAwEEAgAABQUAAQQR",
"FixedValues": [
{
"Value": 2
},
{
"Value": 2000
}
],
"DynamicHashes": [
1858103272,
1522026451,
1070896814,
-2003456125,
-801862651
]
}
}
}
],
"FailedTaskList": []
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByCheckCustomValueBool",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "ModifierOwnerEntity"
},
"Key": {
"Hash": -1411142985
}
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.DebugLog",
"Message": "==============CX0429 CurrentBossMaxHP {CurrentBossMaxHP} CurrentBossLeftHP {CurrentBossLeftHP} AllBossMaxHP {AllBossMaxHP} SummonMonsterTotalHP {SummonMonsterTotalHP} NotIncludeMonsterTotalHP {NotIncludeMonsterTotalHP}======================"
},
{
"$type": "RPG.GameCore.SetBattleScoringItem",
"ScoringID": 90004,
"ModifyValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAAAAUBAQMBAgEDAwEEAgAABQUAAQQR",
"FixedValues": [
{
"Value": 2
},
{
"Value": 2000
}
],
"DynamicHashes": [
1858103272,
1522026451,
1070896814,
-2003456125,
-801862651
]
}
}
}
],
"FailedTaskList": []
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.DebugLog",
"Message": "==============CX0429 CurrentBossMaxHP {CurrentBossMaxHP} CurrentBossLeftHP {CurrentBossLeftHP} AllBossMaxHP {AllBossMaxHP} SummonMonsterTotalHP {SummonMonsterTotalHP} NotIncludeMonsterTotalHP {NotIncludeMonsterTotalHP}======================"
},
{
"$type": "RPG.GameCore.SetBattleScoringItem",
"ScoringID": 90004,
"ModifyValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQMBAgEDAgEEAwUAAAQR",
"FixedValues": [
{
"Value": 2000
}
],
"DynamicHashes": [
1858103272,
1522026451,
1070896814,
-801862651,
-2003456125
]
}
}
}
]
},
{
"$type": "RPG.GameCore.DebugLog",
"Message": "==============MStrongChallenge_Scoring_Ability_0001_Enemy Listen======================"
}
]
}
]
},
{
"Event": "OnModifierAdd",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCheckModifierCallBackName",
"ModifierName": "MCommon_Servant"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetDynamicValue",
"ContextScope": "ContextModifier",
"Value": {
"FixedValue": {
"Value": 1
}
},
"DynamicKey": {
"Value": "HasServantModifier"
}
}
]
}
]
}
],
"DynamicValues": {
"Floats": {
"1913218570": {},
"1070896814": {},
"1858103272": {},
"1522026451": {},
"-9482389": {},
"-2003456125": {},
"-801862651": {}
}
}
}
},
"Name": "StrongChallenge_Scoring_Ability_0001",
"TargetInfo": {
"TargetType": "Caster"
},
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "MStrongChallenge_Scoring_Ability_0001"
}
}
]
},
{
"Modifiers": {
"MStrongChallenge_Scoring_Ability_0002": {
"_CallbackList": [
{
"Event": "OnCreate",
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetBattleScoringItem",
"ScoringID": 90005,
"ModifyFunction": "Set",
"ModifyValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQUAAAQR",
"FixedValues": [
{
"Value": 2000
}
],
"DynamicHashes": [
-1172163503,
118995597
]
}
},
"DisplayValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
-1172163503
]
}
}
}
]
},
{
"Event": "OnLeaveBattle",
"CallbackConfig": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByAnd",
"PredicateList": [
{
"$type": "RPG.GameCore.ByLocalWin",
"Inverse": true
}
]
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetBattleScoringItem",
"ScoringID": 90005,
"ModifyFunction": "Set",
"ModifyValue": {
"FixedValue": {
"Value": 0
}
},
"DisplayValue": {
"FixedValue": {
"Value": 0
}
}
}
]
}
]
},
{
"Event": "OnListenGlobalActionDelayChanged",
"CallbackConfig": [
{
"$type": "RPG.GameCore.SetDynamicValueByVariateType",
"DynamicKey": "GlobalActionDelay",
"VariateType": "ParamValue2"
},
{
"$type": "RPG.GameCore.SetDynamicValue",
"Value": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAAAAEBAQIBAwABBAMQARACEQ==",
"FixedValues": [
{
"Value": 0
},
{
"Value": 10
}
],
"DynamicHashes": [
696029444,
1776456860,
118995597,
-800957302
]
}
},
"DynamicKey": {
"Value": "RemainDelaySlice"
}
},
{
"$type": "RPG.GameCore.SetBattleScoringItem",
"ScoringID": 90005,
"ModifyFunction": "Set",
"ModifyValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQABAQUAAAQR",
"FixedValues": [
{
"Value": 2000
}
],
"DynamicHashes": [
-1172163503,
118995597
]
}
},
"DisplayValue": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
-1172163503
]
}
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareDynamicValue",
"DynamicKey": {
"Value": "RemainDelaySlice"
},
"CompareType": "LessEqual",
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.RemoveSelfModifier"
},
{
"$type": "RPG.GameCore.SetBattleEndReason",
"Reason": "TimeLimit"
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Level_SpecialLose"
}
}
]
}
]
}
],
"DynamicValues": {
"Floats": {
"-800957302": {},
"118995597": {},
"-1172163503": {},
"-200421506": {}
}
}
}
},
"Name": "StrongChallenge_Scoring_Ability_0002",
"TargetInfo": {
"TargetType": "Caster"
},
"OnAdd": [
{
"$type": "RPG.GameCore.AddModifier",
"TargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "Caster"
},
"ModifierName": {
"Value": "MStrongChallenge_Scoring_Ability_0002"
}
}
]
}
],
"GlobalModifiers": {}
}