ZenlessData/Data/ActivityBattleAbility_VR_Buff_SoloPlay.json
2024-11-04 02:05:40 -03:00

714 lines
19 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"PropertyActions": [
{
"CustomPropertyType": "Int_A_StanceBuff",
"IsUsePercentage": false,
"PropertyChangeActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "Int_A_StanceBuff",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 1
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "Int_B_StanceBuff",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 1
}
],
"SuccessActions": [
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1521
}
]
}
],
"PropertyType": "Custom"
},
{
"CustomPropertyType": "Int_B_StanceBuff",
"IsUsePercentage": false,
"PropertyChangeActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "Int_A_StanceBuff",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 1
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "Int_B_StanceBuff",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 1
}
],
"SuccessActions": [
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1521
}
]
}
],
"PropertyType": "Custom"
}
]
}
],
"AbilityName": "ActivityBattleAbility_VR_Buff_SoloPlay",
"AbilitySpecials": {
"AS_AddedDamageRatio": {
"Value": 0.2
},
"AS_BuffCount": {
"Value": 0,
"ValueType": "Integer"
},
"AS_BuffCountTemp": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "SoloBuffTimer",
"Target": "Self"
}
],
"OnBeAttackLanded": [
{
"$type": "ApplyModifier",
"ModifierName": "DamagedModifier",
"Predicates": [
{
"$type": "ByTotalDamage",
"CompareType": "Greater",
"Damage": 0,
"SkipDamage": true,
"Target": "Other"
}
]
}
],
"OnBuffAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "EffModifier_Max",
"Predicates": [
{
"$type": "ByHandlingBuffID",
"BuffIDList": [
"9000106"
]
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true
},
{
"$type": "ByBuffCount",
"BuffID": 9000106,
"CompareType": "GreaterEqual",
"StackCount": 10
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "EffModifier_Middle",
"Predicates": [
{
"$type": "ByHandlingBuffID",
"BuffIDList": [
"9000106"
]
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true
},
{
"$type": "ByBuffCount",
"BuffID": 9000106,
"CompareType": "GreaterEqual",
"StackCount": 5
},
{
"$type": "ByBuffCount",
"BuffID": 9000106,
"CompareType": "Less",
"StackCount": 10
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "EffModifier_Low",
"Predicates": [
{
"$type": "ByHandlingBuffID",
"BuffIDList": [
"9000106"
]
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true
},
{
"$type": "ByBuffCount",
"BuffID": 9000106,
"CompareType": "Less",
"StackCount": 5
}
],
"Target": "Self"
},
{
"$type": "LDListenEntityAction",
"Predicates": [
{
"$type": "ByHandlingBuffID",
"BuffIDList": [
"9000106"
]
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true
}
],
"TargetKey": "ActivityBattleAbility_Condition_BuffAdd"
}
],
"OnBuffRemoved": [
{
"$type": "ApplyModifier",
"ModifierName": "EffModifier_Remove",
"Predicates": [
{
"$type": "ByHandlingBuffID",
"BuffIDList": [
"9000106"
]
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true
},
{
"$type": "ByBuffCount",
"BuffID": 9000106,
"CompareType": "LessEqual",
"StackCount": 0
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"DamagedModifier": {
"Duration": 1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Mod",
"Param": 2,
"ParamName": "AS_BuffCountTemp",
"ParamType": "Integer"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 0,
"ParamName": "AS_BuffCountTemp",
"ParamType": "Integer"
}
],
"FailureActions": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "(specials(AS_BuffCount)\/2)+1",
"ParamName": "AS_BuffCount",
"ValueType": "Integer"
},
{
"$type": "RemoveModifier",
"ModifierName": "SoloBuffModifier",
"StackCount": "%AS_BuffCount"
},
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_BuffCount)-1",
"ParamName": "AS_BuffCount"
},
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_BuffCount)",
"ParamName": "AS_BuffCountTemp",
"ValueType": "Integer"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_BuffCount)\/2",
"ParamName": "AS_BuffCount",
"ValueType": "Integer"
},
{
"$type": "RemoveModifier",
"ModifierName": "SoloBuffModifier",
"StackCount": "%AS_BuffCount"
},
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_BuffCount)",
"ParamName": "AS_BuffCountTemp",
"ValueType": "Integer"
}
]
}
]
},
"EffModifier_Low": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "ModifyMaterialPropertyAction",
"Tag": "Common_MA_Buff_VR_RimGlow_06",
"key": "Common_MA_Buff_VR_RimGlow_06"
},
{
"$type": "ProcessScreenEffectAction",
"EffectKey": "Monster_Common_VRBuff_01_Vignette",
"EffectType": "Vignette"
}
]
},
"EffModifier_Max": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "RemoveModifier",
"ModifierName": "EffModifier_Middle"
},
{
"$type": "RemoveModifier",
"ModifierName": "EffModifier_Low"
},
{
"$type": "ModifyMaterialPropertyAction",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "GreaterEqual"
}
],
"Tag": "Common_MA_Buff_VR_RimGlow_07",
"key": "Common_MA_Buff_VR_RimGlow_07"
},
{
"$type": "ModifyMaterialPropertyAction",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "GreaterEqual"
}
],
"Tag": "Common_MA_Buff_VR_RimGlow_08",
"key": "Common_MA_Buff_VR_RimGlow_08"
},
{
"$type": "ProcessScreenEffectAction",
"EffectKey": "Monster_Common_VRBuff_01_Vignette",
"EffectType": "Vignette"
},
{
"$type": "ModifyMaterialPropertyAction",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "Less"
}
],
"Tag": "Common_MA_Buff_VR_RimGlow_01",
"key": "Common_MA_Buff_VR_RimGlow_01"
},
{
"$type": "ModifyMaterialPropertyAction",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "Less"
}
],
"Tag": "Common_MA_Buff_VR_RimGlow_02",
"key": "Common_MA_Buff_VR_RimGlow_02"
},
{
"$type": "ProcessScreenEffectAction",
"EffectKey": "Monster_Common_VRBuff_01_Vignette",
"EffectType": "Vignette"
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_01_01_Start",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "GreaterEqual"
}
]
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_01_02_Start",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Middle",
"CompareType": "Equal"
}
]
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_01_03_Start",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Small",
"CompareType": "LessEqual"
}
]
}
]
},
"EffModifier_Middle": {
"Duration": -1,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "RemoveModifier",
"ModifierName": "EffModifier_Low"
},
{
"$type": "ModifyMaterialPropertyAction",
"Tag": "Common_MA_Buff_VR_RimGlow_03",
"key": "Common_MA_Buff_VR_RimGlow_03"
},
{
"$type": "ModifyMaterialPropertyAction",
"Tag": "Common_MA_Buff_VR_RimGlow_04",
"key": "Common_MA_Buff_VR_RimGlow_04"
},
{
"$type": "ProcessScreenEffectAction",
"EffectKey": "Monster_Common_VRBuff_01_Vignette",
"EffectType": "Vignette"
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_02_01_Start",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Large",
"CompareType": "GreaterEqual"
}
]
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_02_02_Start",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Middle",
"CompareType": "Equal"
}
]
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_02_03_Start",
"Predicates": [
{
"$type": "ByCharacterSize",
"CharacterSize": "Small",
"CompareType": "LessEqual"
}
]
}
]
},
"EffModifier_Remove": {
"Duration": 1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "RemoveModifier",
"ModifierName": "EffModifier_Max"
},
{
"$type": "RemoveModifier",
"ModifierName": "EffModifier_Middle"
},
{
"$type": "RemoveModifier",
"ModifierName": "EffModifier_Low"
},
{
"$type": "ModifyMaterialPropertyAction",
"Tag": "Common_MA_Buff_VR_RimGlow_05",
"key": "Common_MA_Buff_VR_RimGlow_05"
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Common_ActivityBattle_VR_03_01_Start",
"Predicates": [
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true
}
]
}
]
},
"SoloBuffModifier": {
"Buff": {
"BuffID": 9000106,
"IsOverrideDuration": true
},
"Duration": -1,
"MaxStackingNumber": 10,
"ModifierStacking": "MultipleAllRefresh",
"Properties": {
"Actor_AddedDamageRatio": "%AS_AddedDamageRatio"
}
},
"SoloBuffTimer": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "SoloBuffModifier"
}
],
"OnThinkInterval": [
{
"$type": "ApplyModifier",
"ModifierName": "SoloBuffModifier"
},
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_BuffCount)+1",
"ParamName": "AS_BuffCount",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 10,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "specials(AS_BuffCountTemp)+1",
"ParamName": "AS_BuffCountTemp",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 10,
"ParamName": "AS_BuffCountTemp",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1511,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1512,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 2,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1513,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 3,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1514,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 4,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1515,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 5,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1516,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 6,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1517,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 7,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1518,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 8,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1519,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 9,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
},
{
"$type": "TriggerLevelCustomConditions",
"LevelConditionsID": 1520,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 10,
"ParamName": "AS_BuffCount",
"ParamType": "Integer"
}
]
}
],
"ThinkInterval": 2
}
}
}