ZenlessData/Data/TheGun_HeatBuff_Endless.json

118 lines
3.0 KiB
JSON
Raw Normal View History

{
"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"
}
}
}
}