ZenlessData/Data/TheGun_HeatBuff_Endless.json
2024-11-04 02:05:40 -03:00

118 lines
3.0 KiB
JSON

{
"AbilityName": "TheGun_HeatBuff_Endless",
"AbilitySpecials": {
"AS_LevelPassTime": {
"Value": 0
},
"AddedDamageRatio": {
"Value": 0
},
"DamageUpPerDuration": {
"Value": 0.1
},
"DamageUpPerTime": {
"Value": 1
},
"NoDamageUpTime": {
"Value": 5
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "SetAbilitySpecialsByLevelPassTime",
"ModifyFunction": "Replace",
"ParamName": "AS_LevelPassTime",
"Percentage": 1,
"Target": "Self"
},
{
"$type": "BranchOperator",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": "%NoDamageUpTime",
"ParamName": "AS_LevelPassTime",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(DamageUpPerDuration)*specials(AS_LevelPassTime)",
"ParamName": "AddedDamageRatio",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "HeatBuff_Endless_EnemyDamageUp",
"Target": "Self"
}
]
},
{
"$type": "ApplyModifier",
"ModifierName": "HeatBuff_Detect_Timer",
"Target": "Self"
}
]
},
"Modifiers": {
"HeatBuff_Detect_Timer": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnThinkInterval": [
{
"$type": "SetAbilitySpecialsByLevelPassTime",
"ModifyFunction": "Replace",
"ParamName": "AS_LevelPassTime",
"Percentage": 1,
"Target": "Self"
},
{
"$type": "BranchOperator",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": "%NoDamageUpTime",
"ParamName": "AS_LevelPassTime",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(DamageUpPerDuration)*specials(AS_LevelPassTime)",
"ParamName": "AddedDamageRatio",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "HeatBuff_Endless_EnemyDamageUp",
"Target": "Self"
}
]
},
{
"$type": "LDListenEntityAction",
"TargetKey": "Endless_refresh"
}
],
"ThinkInterval": "%DamageUpPerTime"
},
"HeatBuff_Endless_EnemyDamageUp": {
"DoRefresh": true,
"Duration": -1,
"IsUnique": true,
"ModifierStacking": "Unique",
"Properties": {
"Actor_AddedDamageRatio": "%AddedDamageRatio"
}
}
}
}