1
0
ZenlessData/Data/_unsorted/Lucia_TryEnterEnhanceState.json
2025-10-15 03:08:22 +02:00

169 lines
4.4 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"DoInitialCheck": true,
"PropertyActions": [
{
"CustomPropertyType": "SpatialValue",
"CustomReferMaxPropertyType": "MaxSpatialValue",
"IsUsePercentage": false,
"PropertyType": "Custom",
"ReferMaxPropertyType": "Custom",
"ValueRangeActions": [
{
"Val": "%AS_MinSpatialValueCost",
"ValueToLowActions": [
{
"$type": "RemoveModifier",
"ModifierName": "LuciaEnhanceStateModifier",
"Predicates": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "BeInEnhance",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Caster",
"Val1": 1
}
],
"Target": "Caster"
}
]
}
]
}
]
},
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"IsInThemeSpace_Modifier"
],
"Target": "Caster",
"ZoneTag": "ThemeSpace"
}
]
}
],
"AbilityName": "Lucia_TryEnterEnhanceState",
"AbilitySpecials": {
"AS_MinSpatialValueCost": {
"Value": 25
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"IsInThemeSpace_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnRemoved": [
{
"$type": "RemoveModifier",
"ModifierName": "LuciaEnhanceStateModifier",
"Predicates": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "BeInEnhance",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Caster",
"Val1": 1
}
],
"Target": "Self"
}
]
},
"LuciaEnhanceStateModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ModifyProperty",
"Amount": 1,
"CustomPropertyType": "BeInEnhance",
"IsUsePercentage": false,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "TriggerAbilityAction",
"AbilityName": "Player_ThemeSpace_Type_01",
"Target": "Caster"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"EnhanceState"
],
"IsAdd": true
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_BeInEnhance",
"ParamType": 2,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"EnhanceState"
],
"IsAdd": false
},
{
"$type": "ModifyProperty",
"Amount": 0,
"CustomPropertyType": "BeInEnhance",
"IsUsePercentage": false,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom",
"Target": "Caster"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_BeInEnhance",
"ParamType": 2,
"Target": "Self"
}
]
}
},
"OnAbilityStart": [
{
"$type": "ApplyModifier",
"ModifierName": "LuciaEnhanceStateModifier",
"Predicates": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "PreEnhance",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Caster",
"Val1": 1
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Equal",
"CustomNumerator": "BeInEnhance",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Caster",
"Val1": 0
}
],
"Target": "Caster"
}
]
}