{ // Annton天赋_04 "AbilityName" : "Anton_Talent_04", "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "Bool_Talent_04", "Target": "Self", "BoolVal": true }, { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "Talent04Modifier", "Target" : "Self", }, // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self", // }, ] }, "Modifiers": { "Talent04Modifier": { "ModifierStacking": "Unique", "Duration": -1, "OnAttackLanded": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "AntonDriveCritModifier", "Target" : "Self", "Predicates": [ { "$type" : "MoleMole.ByAnimTagList", "TagList" : [ "DriveAttack" ] }, { "$type": "MoleMole.ByHitResult", "HitResult": "Critical" }, ], }, ], }, "AntonDriveCritModifier": { "ModifierStacking": "Unique", "Duration": 0.03, //内置CD "OnAdded": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "AntonDmgBuffStackModifier", "Target" : "Self", }, ], }, "AntonDmgBuffStackModifier": { "ModifierStacking" : "MultipleAllRefresh", "MaxStackingNumber": 10, "Duration" : 15, "OnAdded": [ { "$type": "MoleMole.ModifyProperty", "Target":"Self", "PropertyType": "Custom", "CustomPropertyType": "Int_DmgUpStack", "PropertyModifyFunction": "Add", "Percentage": 0, "Amount": 1.0, }, { "$type": "MoleMole.SetAbilitySpecialsByPropertyAction", "Target": "Self", "ParamName": "AS_BuffStacks", "ModifyFunction": "Replace", "PropertyType" : "Custom", "CustomPropertyType": "Int_DmgUpStack", "Percentage" : 1.0 }, { //normal "$type":"MoleMole.SetAbilitySpecialByExpression", "ParamName":"AS_FinalStackAtkRatio", "ValueType":"float", "Expression":"specials(AS_BuffStacks)*specials(AS_SingleStackAtkRatio2)", }, { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "AntonDmgUpModifier", "Target" : "Self", }, ], "OnRemoved": [ { "$type": "MoleMole.ModifyProperty", "Target":"Self", "PropertyType": "Custom", "CustomPropertyType": "Int_DmgUpStack", "PropertyModifyFunction": "Replace", "Percentage": 0, "Amount": 0, }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Self", "ParamName": "AS_BuffStacks", "ParamType": "abilitySpecial_float", "ModifyFunction": "Replace", "Param": 0, }, { "$type": "MoleMole.SetAbilitySpecialAction", "Target": "Self", "ParamName": "AS_FinalStackAtkRatio", "ParamType": "abilitySpecial_float", "ModifyFunction": "Replace", "Param": 0, }, { "$type" : "MoleMole.RemoveModifier", "ModifierName" : "AntonDmgUpModifier", "Target" : "Self", } ] }, "AntonDmgUpModifier": { "ModifierStacking": "Unique", "Duration": -1, //全部伤害提升 // "Properties": // { // "Actor_AddedDamageRatio": "%AS_FinalStackAtkRatio" // } //只加电钻伤害 "OnHitOtherPre": [ { "$type" : "MoleMole.ModifyAttackDataAction", "Target" : "Self", "PropertyKey" : "Actor_AddedDamageRatio", "PropertyValue" : "%AS_FinalStackAtkRatio", "Predicates": [ { "$type" : "MoleMole.ByAnimTagList", "TagList" : [ "DrillAttack" ] } ], }, ], }, }, "AbilitySpecials" : { //每层伤害增加10% "AS_SingleStackAtkRatio2": { "Value" : 0.1, }, "AS_FinalStackAtkRatio" : { //"Value" : 0.03333334, "Value" : 0, }, "AS_BuffStacks" : { "Value" : 0, }, } }