96 lines
2.3 KiB
JSON
96 lines
2.3 KiB
JSON
{
|
|
"AbilityName": "XiaoZhao_UniqueSkill",
|
|
"AbilitySpecials": {
|
|
"AS_AddedAttackDelta": {
|
|
"Value": 0
|
|
},
|
|
"AS_CriticalDeltaFinal": {
|
|
"Value": 0
|
|
},
|
|
"AS_CriticalDeltaHpRatio": {
|
|
"Value": 0.1
|
|
},
|
|
"AS_CriticalDeltaRatio_Talent06": {
|
|
"Value": 1.5
|
|
},
|
|
"AS_Duration": {
|
|
"Value": 10
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAvatarTalentIndex",
|
|
"TalentIndex": 6
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "property(HpMax_Base)*specials(AS_CriticalDeltaHpRatio)\/1000",
|
|
"ParamName": "AS_CriticalDeltaFinal"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "property(HpMax_Base)*specials(AS_CriticalDeltaHpRatio)*specials(AS_CriticalDeltaRatio_Talent06)\/1000",
|
|
"ParamName": "AS_CriticalDeltaFinal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "CritDeltaModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnThemeSpaceStartByCaster": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "EnhanceModifier",
|
|
"Target": "TeamAvatars"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "XiaoZhao_MathSkill_BuffIcon",
|
|
"Target": "TeamAvatars"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"CritDeltaModifier": {
|
|
"Properties": {
|
|
"Actor_CriticalDelta": "%AS_CriticalDeltaFinal"
|
|
}
|
|
},
|
|
"EnhanceModifier": {
|
|
"Duration": "%AS_Duration",
|
|
"ModifierStacking": "Refresh",
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "XiaoZhao_MathSkill_BuffIcon",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"Properties": {
|
|
"Actor_BaseAttackDelta": "%AS_AddedAttackDelta"
|
|
}
|
|
},
|
|
"XiaoZhao_MathSkill_BuffIcon": {
|
|
"Buff": {
|
|
"BuffID": 3000506,
|
|
"IsOverrideDuration": true
|
|
},
|
|
"Duration": "%AS_Duration",
|
|
"ModifierStacking": "Refresh"
|
|
}
|
|
}
|
|
} |