{ "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_StartEnergy", "AbilitySpecials": { "AS_AddFever_OnAdded": { "Value": 2000 }, "AS_AddFever_OnSwitch": { "Value": 500 }, "AS_AddRP_OnAdded": { "Value": 50 }, "AS_AddRP_OnSwitch": { "Value": 20 }, "AS_AddSP_OnAdded": { "Value": 50 }, "AS_AddSP_OnSwitch": { "Value": 20 }, "AS_CurrentIndividualFeverNumber_1": { "Value": 0 }, "AS_CurrentIndividualFeverNumber_2": { "Value": 0 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ModifyProperty", "Amount": "%AS_AddSP_OnAdded", "Percentage": 0, "PropertyModifyFunction": "Add", "PropertyType": "CurSP", "Target": "TeamAvatars" }, { "$type": "RecoverRpAction", "Amount": "%AS_AddRP_OnAdded", "IgnoreRatio": true, "Percentage": 0, "Target": "TeamAvatars" }, { "$type": "RecoverIndividualFeverAction", "Amount": "%AS_AddFever_OnAdded", "IgnoreRatio": true, "Percentage": 0, "Target": "TeamAvatars" } ], "OnStartSwitchTeamInFight": [ { "$type": "ApplyModifier", "ModifierName": "FeverCheckModifier", "Target": "TeamAvatars" } ], "OnSwitchTeamInFight": [ { "$type": "ModifyProperty", "Amount": "%AS_AddSP_OnSwitch", "Percentage": 0, "PropertyModifyFunction": "Add", "PropertyType": "CurSP", "Target": "TeamAvatars" }, { "$type": "RecoverRpAction", "Amount": "%AS_AddRP_OnSwitch", "IgnoreRatio": true, "Percentage": 0, "Target": "TeamAvatars" }, { "$type": "ApplyModifier", "ModifierName": "RecoverFeverModifer", "Target": "TeamAvatars" } ] }, "Modifiers": { "FeverCheckModifier": { "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "SetAbilitySpecialsByPropertyAction", "ModifyFunction": "Replace", "ParamName": "AS_CurrentIndividualFeverNumber_1", "Percentage": 1, "Predicates": [ { "$type": "ByAvatarTeamIndex", "TeamIndex": 1 } ], "PropertyType": "CurIndividualFever", "Target": "Self" }, { "$type": "SetAbilitySpecialsByPropertyAction", "ModifyFunction": "Replace", "ParamName": "AS_CurrentIndividualFeverNumber_2", "Percentage": 1, "Predicates": [ { "$type": "ByAvatarTeamIndex", "TeamIndex": 2 } ], "PropertyType": "CurIndividualFever", "Target": "Self" } ] }, "RecoverFeverModifer": { "DelayHandlers": [ { "DelayTime": 0.03, "IgnoreTimeScale": true, "TimeUpActions": [ { "$type": "RecoverIndividualFeverAction", "Amount": "%AS_CurrentIndividualFeverNumber_1", "IgnoreRatio": true, "Percentage": 0, "Predicates": [ { "$type": "ByAvatarTeamIndex", "TeamIndex": 1 } ], "Target": "Self" }, { "$type": "RecoverIndividualFeverAction", "Amount": "%AS_CurrentIndividualFeverNumber_2", "IgnoreRatio": true, "Percentage": 0, "Predicates": [ { "$type": "ByAvatarTeamIndex", "TeamIndex": 2 } ], "Target": "Self" }, { "$type": "RecoverIndividualFeverAction", "Amount": "%AS_AddFever_OnSwitch", "IgnoreRatio": true, "Percentage": 0, "Target": "Self" }, { "$type": "SendCustomEvent", "EventKey": "SwitchTeam_StartFever_Done", "IsGlobal": true, "Target": "Self" } ] } ], "Duration": -1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "DecreaseIndividualFeverAction", "Amount": 10000, "Percentage": 0, "Target": "Self" } ] } } }