{ //角色每在力场中待1秒,力场结束后在本场战斗伤害提升1% "AbilityName":"Affix_FieldStay_DamageUp", "AbilityStacking":"Unique", "DefaultModifier": { "OnAdded": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "DamageUp", "Target" : "TeamAvatars" } ], "OnBattleEnter": [ { "$type": "MoleMole.SetAbilitySpecialAction", "ParamName": "MultipleStayTimeAdded", "ParamType": "float", "ModifyFunction": "Replace", "Param": 0 } ], "OnBattleExit": [ { "$type": "MoleMole.SetAbilitySpecialAction", "ParamName": "MultipleStayTimeAdded", "ParamType": "float", "ModifyFunction": "Replace", "Param": 0 } ], "FieldStartActions": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "FieldStay_DamageUp", "Target" : "Buddy" } ], "FieldStopActions": [ { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "FieldStay_DamageUp", "Target" : "Buddy" } ] }, "Modifiers": { "FieldStay_DamageUp": { "ModifierStacking":"Unique", "Duration": -1, "ThinkInterval" : 1, "OnThinkInterval" : [ { "$type": "MoleMole.SetAbilitySpecialAction", "ParamName": "MultipleStayTimeAdded", "ParamType": "float", "ModifyFunction": "Add", "Param": 0.01, "Predicates": [ { "$type" : "MoleMole.ByIsInFieldRange", "Target" : "LocalAvatar" } ] } ] }, "DamageUp": { "ModifierStacking":"Unique", "OnHitOther": [ { "$type": "MoleMole.ModifyAttackDataAction", "Target" : "Self", "PropertyKey": "Actor_AddedDamageRatio", "PropertyValue": "%MultipleStayTimeAdded" } ] } }, "AbilitySpecials" : { "MultipleStayTimeAdded" : { "Value" : 0 }, //表格参数 "AddedDamageRatio" : { "Value" : 0.1 } } }