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

138 lines
3.3 KiB
JSON

{
"AbilityName": "Bangboo_Knightboo_MathSkill",
"AbilitySpecials": {
"AS_ATKBuffDuration": {
"Value": 10
},
"AS_AtkDeltaValueBase": {
"Value": 10
},
"AS_AtkDeltaValuePreLevel": {
"Value": 10
},
"AS_FinialAtkDelta": {
"Value": 0.1
},
"AS_PairACount": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnTeamAvatarConstructed": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_PairACount",
"ParamType": "Float"
},
{
"$type": "RemoveModifier",
"ModifierName": "PairCheckModifier",
"Target": "TeamAvatars"
},
{
"$type": "ApplyModifier",
"ModifierName": "PairCheckModifier",
"Target": "TeamAvatars"
}
]
},
"Modifiers": {
"ATKBuffModifier": {
"Duration": "%AS_ATKBuffDuration",
"ModifierStacking": "ReplaceByLongTime",
"Properties": {
"Actor_BaseAttackDelta": "%AS_FinialAtkDelta"
}
},
"MathSkillModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnHitOther": [
{
"$type": "ApplyModifier",
"ModifierName": "ATKBuffModifier",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Bangboo_Knightboo_Attackproperty_Attack"
]
},
{
"$type": "ByIsLocalAvatar",
"IsLocalAvatar": true,
"Target": "Other"
}
],
"Target": "Other"
}
]
},
"PairAModifier": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "MultipleRefresh",
"OnAdded": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_PairACount",
"ParamType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "MathSkillModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": 1,
"ParamName": "AS_PairACount",
"ParamType": "Float",
"Target": "Self"
},
{
"$type": "ByBuddyTeamType",
"CheckBuddyTeam": "Fighting",
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"PairCheckModifier": {
"Duration": 1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "PairAModifier",
"Predicates": [
{
"$type": "ByAvatarProfessionType",
"ProfessionType": "Support",
"Target": "Self"
}
],
"Target": "Caster"
}
]
}
},
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "(specials(AS_AtkDeltaValueBase)+property(Level)*specials(AS_AtkDeltaValuePreLevel))",
"ParamName": "AS_FinialAtkDelta",
"Target": "Self",
"ValueType": "Float"
}
]
}