88 lines
2.1 KiB
JSON
88 lines
2.1 KiB
JSON
![]() |
{
|
||
|
"AbilityName": "Astra_Card_S_03_CriticalDelta",
|
||
|
"AbilitySpecials": {
|
||
|
"AS_CriticalDamageRatioDelta_Final": {
|
||
|
"Value": 0,
|
||
|
"ValueType": "Float"
|
||
|
},
|
||
|
"AS_CriticalDamageRatioDelta_Max": {
|
||
|
"Value": 0,
|
||
|
"ValueType": "Float"
|
||
|
},
|
||
|
"AS_CriticalDelta": {
|
||
|
"Value": 0,
|
||
|
"ValueType": "Float"
|
||
|
},
|
||
|
"AS_CriticalToCriticalDamageRatio": {
|
||
|
"Value": 0,
|
||
|
"ValueType": "Float"
|
||
|
}
|
||
|
},
|
||
|
"AbilityStacking": "Unique",
|
||
|
"ActionGroups": [
|
||
|
{
|
||
|
"Actions": [
|
||
|
{
|
||
|
"$type": "SetAbilitySpecialByExpression",
|
||
|
"DoRefresh": true,
|
||
|
"Expression": "min(AS_CriticalDamageRatioDelta_Max,max(0,(property(Crit_Battle)-1)*specials(AS_CriticalToCriticalDamageRatio)))",
|
||
|
"ParamName": "AS_CriticalDamageRatioDelta_Final",
|
||
|
"Target": "Self",
|
||
|
"ValueType": "Float"
|
||
|
}
|
||
|
],
|
||
|
"GroupName": "CalculateFinalValue"
|
||
|
}
|
||
|
],
|
||
|
"DefaultModifier": {
|
||
|
"ModifierMixins": [
|
||
|
{
|
||
|
"$type": "ActionsOnPropertyChangeMixin",
|
||
|
"PropertyActions": [
|
||
|
{
|
||
|
"IsUsePercentage": false,
|
||
|
"PropertyChangeActions": [
|
||
|
{
|
||
|
"$type": "ApplyActionGroupAction",
|
||
|
"GroupName": "CalculateFinalValue",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
],
|
||
|
"PropertyType": "Crit_Battle",
|
||
|
"ReferMaxPropertyType": "Crit_Battle"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"OnAdded": [
|
||
|
{
|
||
|
"$type": "ApplyActionGroupAction",
|
||
|
"GroupName": "CalculateFinalValue",
|
||
|
"Target": "Self"
|
||
|
},
|
||
|
{
|
||
|
"$type": "ApplyModifier",
|
||
|
"ModifierName": "BuffModifier",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"Modifiers": {
|
||
|
"BuffModifier": {
|
||
|
"Duration": -1,
|
||
|
"IgnoreTimeScale": false,
|
||
|
"ModifierStacking": "Replace",
|
||
|
"Properties": {
|
||
|
"Actor_CriticalDamageRatioDelta": "%AS_CriticalDamageRatioDelta_Final",
|
||
|
"Actor_CriticalDelta": "%AS_CriticalDelta"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"OnAbilityStart": [
|
||
|
{
|
||
|
"$type": "ApplyActionGroupAction",
|
||
|
"GroupName": "CalculateFinalValue",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
]
|
||
|
}
|