76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"AbilityName": "HugoVlad_UniqueSkill_StunCal",
|
|
"AbilitySpecials": {
|
|
"AS_ConversionRate_MathSkill": {
|
|
"Value": 0
|
|
},
|
|
"AS_MaxConversionRate_MathSkill": {
|
|
"Value": 0
|
|
},
|
|
"AS_MaxStun": {
|
|
"Value": 0
|
|
},
|
|
"Final_CurStun": {
|
|
"Value": 0
|
|
},
|
|
"Final_RemainingStunDelta": {
|
|
"Value": 0
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"Modifiers": {
|
|
"RecoverStunModifier": {
|
|
"Duration": 1,
|
|
"ModifierStacking": "Replace",
|
|
"OnStunCreateActions": [
|
|
{
|
|
"$type": "RecoverStunAction",
|
|
"Amount": "%Final_CurStun",
|
|
"Percentage": 0,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "RecoverStunModifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "SetAbilitySpecialByStunRemainTimeAction",
|
|
"Amount": 0,
|
|
"ModifyFunction": "Replace",
|
|
"ParamName": "Final_RemainingStunDelta",
|
|
"Percentage": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "property(MaxStun)",
|
|
"ParamName": "AS_MaxStun",
|
|
"Target": "Self",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"DoRefresh": true,
|
|
"Expression": "(min((specials(Final_RemainingStunDelta)*specials(AS_ConversionRate_MathSkill)),specials(AS_MaxConversionRate_MathSkill)))*specials(AS_MaxStun)",
|
|
"ParamName": "Final_CurStun",
|
|
"Target": "Self",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "ModifyStunStateAction",
|
|
"Target": "Self",
|
|
"TargetState": "Normal"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "RecoverStunModifier",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
} |