232 lines
6.2 KiB
JSON
232 lines
6.2 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "WatchEntityMixin",
|
|
"EntityTypes": [
|
|
"Avatar"
|
|
],
|
|
"OnEntityAwaked": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "NangongYu_EnergyManager_TeamListener",
|
|
"Target": "Other"
|
|
}
|
|
],
|
|
"Relationships": [
|
|
"Allied"
|
|
]
|
|
},
|
|
{
|
|
"$type": "ActionsOnPropertyChangeMixin",
|
|
"PropertyActions": [
|
|
{
|
|
"CustomPropertyType": "CurrentEnhance",
|
|
"CustomReferMaxPropertyType": "MaxCurrentEnhance",
|
|
"IsUsePercentage": true,
|
|
"PropertyType": "Custom",
|
|
"ValueRangeActions": [
|
|
{
|
|
"LowToValueActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_EnhanceAttack",
|
|
"ParamType": 2,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 1,
|
|
"CustomPropertyType": "CurrentNormalAttackEnhancePoint",
|
|
"IsUsePercentage": false,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"Val": 0.5
|
|
},
|
|
{
|
|
"LowToValueActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_EnhanceAttack",
|
|
"ParamType": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 1,
|
|
"CustomPropertyType": "CurrentNormalAttackEnhancePoint",
|
|
"IsUsePercentage": false,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"Val": 1
|
|
},
|
|
{
|
|
"Val": 0.5,
|
|
"ValueToLowActions": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_EnhanceAttack",
|
|
"ParamType": 2,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "NangongYu_EnergyManager",
|
|
"AbilitySpecials": {
|
|
"AS_CurrentEnhanceAutoRecoverRate": {
|
|
"Value": 0.25
|
|
},
|
|
"AS_CurrentEnhanceRecover_Amount": {
|
|
"Value": 10
|
|
},
|
|
"AS_CurrentEnhanceRecover_Amount_Initial": {
|
|
"Value": 30
|
|
},
|
|
"AS_RecoverCD": {
|
|
"Value": 10
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "NangongYu_EnergyManager_TeamListener",
|
|
"Target": "TeamAvatars"
|
|
},
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_CurrentEnhanceRecover_Amount_Initial",
|
|
"CustomPropertyType": "CurrentEnhance",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnBattleEnter": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Energy_AutoRecover",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnBattleExit": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Energy_AutoRecover",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"CurrentEnhanceRecover_Modifier": {
|
|
"Duration": "%AS_RecoverCD",
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_CurrentEnhanceRecover_Amount",
|
|
"CustomPropertyType": "CurrentEnhance",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"Energy_AutoRecover": {
|
|
"Duration": -1,
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "SmoothChangePropertyMixin",
|
|
"PropertyItems": [
|
|
{
|
|
"Amount": "%AS_CurrentEnhanceAutoRecoverRate",
|
|
"CustomPropertyType": "CurrentEnhance",
|
|
"Percentage": 0,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAnd",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByPlayerPropertyValue",
|
|
"CompareType": "Less",
|
|
"CustomNumerator": "CurrentEnhance",
|
|
"IsUsePercent": false,
|
|
"Numerator": "Custom",
|
|
"Target": "Self",
|
|
"Val1": 100
|
|
},
|
|
{
|
|
"$type": "ByAliveState",
|
|
"AliveState": "Alive",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ModifierStacking": "Unique"
|
|
},
|
|
"NangongYu_EnergyManager_TeamListener": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnBuffAddToOther": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "CurrentEnhanceRecover_Modifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByHandlingBuffGroup",
|
|
"BuffGroupList": [
|
|
"Electric",
|
|
"Overload",
|
|
"Erosion",
|
|
"Chaos",
|
|
"Burn",
|
|
"Ignite",
|
|
"Frozen",
|
|
"Frostbite",
|
|
"Strike"
|
|
]
|
|
}
|
|
],
|
|
"Target": "Caster"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": 100,
|
|
"CustomPropertyType": "CurrentEnhance",
|
|
"IsUsePercentage": false,
|
|
"Percentage": 0,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
} |