{ //真理天赋4:强化特殊攻击(即引爆)额外对目标附加最大生命值10%的伤害,最大不超过珂蕾妲攻击力的400% "AbilityName": "OokumaMari_Talent_04", "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "MoleMole.SetAnimCtrlerParamAction", "ParamType": 2, "ParamName": "Bool_Talent_04", "Target": "Self", "BoolVal": true }, { "$type":"MoleMole.ApplyModifier", "ModifierName":"OokumaMariTalent04Modifier", "Target":"Self", } ] }, "Modifiers": { //攻击命中敌方时,额外附加目标10%hpmax的伤害 "OokumaMariTalent04Modifier": { "ModifierStacking": "Unique", "Duration": -1, "IgnoreTimeScale": false, "OnHitOther": [ //将目标10%hpmax存至参数AS_DamegebyMaxHP { "$type": "MoleMole.SetAbilitySpecialsByPropertyAction", "Target" : "Target", "ParamName": "AS_DamegebyMaxHP", "ModifyFunction": "Replace", "PropertyType" : "MaxHP", "Percentage" : "%AS_HPPercentage" }, //获取自己5倍攻击力并存至AS_SelfAttack { "$type":"MoleMole.SetAbilitySpecialByExpression", "ParamName":"AS_SelfAttack", "ValueType":"float", "Expression":"property(Attack)*specials(AS_Magnification)", "Target":"Self" }, //AS_DamegebyMaxHP小于等于AS_SelfAttack时,将参数AS_DamegebyMaxHP作为额外伤害附加给目标 { "$type": "MoleMole.DamageByAttackPropertyAction", "AttackProperty" : { "AddedDamageValue" : "%AS_DamegebyMaxHP" }, "AttachPoint":"MiddlePoint", "Target" : "Target", "Predicates": [ { "$type" : "MoleMole.ByAtkHitIsOwnAbility", "IsOwnAbility" :false }, { "$type" : "MoleMole.ByAbilitySpecial", "ParamName" : "AS_DamegebyMaxHP", "CompareType": "LessEqual", "Param" : "AS_SelfAttack", "ParamType" : "abilitySpecial_float" }, { "$type" : "MoleMole.ByAnimatorEventIDs", "Target" : "Self", "AnimatorEventIDs" : [ "OokumaMari_Attack_Branch_01_Explode_01_AttackProperty_01_Correct", "OokumaMari_Attack_Branch_01_Explode_02_AttackProperty_01_Correct", "OokumaMari_Attack_Branch_01_Explode_03_AttackProperty_01_Correct", "OokumaMari_CoAttack_Branch_01_Explode_03_AttackProperty_01_Correct", ] } ] }, //AS_DamegebyMaxHP大于AS_SelfAttack时,将参数AS_SelfAttack作为额外伤害附加给目标 { "$type": "MoleMole.DamageByAttackPropertyAction", "AttackProperty" : { "AddedDamageValue" : "%AS_SelfAttack" }, "AttachPoint":"MiddlePoint", "Target" : "Target", "Predicates": [ { "$type" : "MoleMole.ByAtkHitIsOwnAbility", "IsOwnAbility" :false }, { "$type" : "MoleMole.ByAbilitySpecial", "ParamName" : "AS_DamegebyMaxHP", "CompareType": "Greater", "Param" : "AS_SelfAttack", "ParamType" : "abilitySpecial_float" }, { "$type" : "MoleMole.ByAnimatorEventIDs", "Target" : "Self", "AnimatorEventIDs" : [ "OokumaMari_Attack_Branch_01_Explode_01_AttackProperty_01_Correct", "OokumaMari_Attack_Branch_01_Explode_02_AttackProperty_01_Correct", "OokumaMari_Attack_Branch_01_Explode_03_AttackProperty_01_Correct", "OokumaMari_CoAttack_Branch_01_Explode_03_AttackProperty_01_Correct", ] } ] } ] } }, "AbilitySpecials" : { //默认参数10%最大生命值 "AS_HPPercentage" : { "Value" : 0.1 }, //敌方百分比血量最终参数默认值,在上方赋值覆盖此处 "AS_DamegebyMaxHP" : { "Value" : 0 }, //真理攻击力放大倍数 "AS_Magnification" : { "Value" : 5 }, //真理攻击力最终参数默认值,在上方赋值覆盖此处 "AS_SelfAttack" : { "Value" : 0 } } }