98 lines
2.7 KiB
JSON
98 lines
2.7 KiB
JSON
![]() |
{
|
||
|
"AbilityName": "AbyssS2_Artifact_1339801",
|
||
|
"AbilitySpecials": {
|
||
|
"AS_CoinToHealthReduction_Cache": {
|
||
|
"Value": 0,
|
||
|
"ValueType": "Integer"
|
||
|
},
|
||
|
"AS_CoinToHealthReduction_ConvertRatio": {
|
||
|
"Value": 0.005,
|
||
|
"ValueType": "Float"
|
||
|
},
|
||
|
"AS_CoinToHealthReduction_RatioLimit": {
|
||
|
"Value": 0.3,
|
||
|
"ValueType": "Float"
|
||
|
},
|
||
|
"AS_CoinToHealthReduction_RealRatio": {
|
||
|
"Value": 0,
|
||
|
"ValueType": "Float"
|
||
|
}
|
||
|
},
|
||
|
"AbilityStacking": "Unique",
|
||
|
"DefaultModifier": {
|
||
|
"ModifierStacking": "Unique",
|
||
|
"OnAdded": [
|
||
|
{
|
||
|
"$type": "SetAbilitySpecialByExpression",
|
||
|
"DoRefresh": true,
|
||
|
"Expression": "scenevar(AbyssS2_Event03_Server_coinnum)",
|
||
|
"ParamName": "AS_CoinToHealthReduction_Cache",
|
||
|
"Predicates": [
|
||
|
{
|
||
|
"$type": "ByMonsterStrengthType",
|
||
|
"CompareType": "NotEqual",
|
||
|
"StrengthType": "Boss",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
],
|
||
|
"Target": "Self",
|
||
|
"ValueType": "Integer"
|
||
|
},
|
||
|
{
|
||
|
"$type": "SetAbilitySpecialByExpression",
|
||
|
"Expression": "specials(AS_CoinToHealthReduction_Cache)*specials(AS_CoinToHealthReduction_ConvertRatio)*0.01",
|
||
|
"ParamName": "AS_CoinToHealthReduction_RealRatio",
|
||
|
"Predicates": [
|
||
|
{
|
||
|
"$type": "ByMonsterStrengthType",
|
||
|
"CompareType": "NotEqual",
|
||
|
"StrengthType": "Boss",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
],
|
||
|
"Target": "Self",
|
||
|
"ValueType": "Float"
|
||
|
},
|
||
|
{
|
||
|
"$type": "SetAbilitySpecialAction",
|
||
|
"ModifyFunction": "Replace",
|
||
|
"Param": "%AS_CoinToHealthReduction_RatioLimit",
|
||
|
"ParamName": "AS_CoinToHealthReduction_RealRatio",
|
||
|
"ParamType": "Float",
|
||
|
"Predicates": [
|
||
|
{
|
||
|
"$type": "ByMonsterStrengthType",
|
||
|
"CompareType": "NotEqual",
|
||
|
"StrengthType": "Boss",
|
||
|
"Target": "Self"
|
||
|
},
|
||
|
{
|
||
|
"$type": "ByAbilitySpecial",
|
||
|
"CompareType": "Greater",
|
||
|
"Param": "%AS_CoinToHealthReduction_RatioLimit",
|
||
|
"ParamName": "AS_CoinToHealthReduction_RealRatio",
|
||
|
"ParamType": "Float",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
],
|
||
|
"Target": "Self"
|
||
|
},
|
||
|
{
|
||
|
"$type": "DecreaseHPAction",
|
||
|
"Amount": 0,
|
||
|
"IgnoreInvincible": true,
|
||
|
"IgnoreLifeLock": true,
|
||
|
"Percentage": "%AS_CoinToHealthReduction_RealRatio",
|
||
|
"Predicates": [
|
||
|
{
|
||
|
"$type": "ByMonsterStrengthType",
|
||
|
"CompareType": "NotEqual",
|
||
|
"StrengthType": "Boss",
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
],
|
||
|
"Target": "Self"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|