{
//战斗中,若只剩下1名角色,伤害提升50%,受到的伤害降低25%
"AbilityName":"Card_DailyUse_1000925",
"AbilityStacking":"Unique",
"DefaultModifier":
{
"ModifierStacking":"Unique",
"OnAdded":
[
{
"$type" : "MoleMole.SetGlobalValue",
"Target" : "TeamAvatars",
"Key" : "_Global_AliveNum",
"Value" : 0,
"Predicates":
[
{
"$type" : "MoleMole.ByIsLocalAvatar",
"Target" : "Self",
"IsLocalAvatar" : true
}
]
},
{
"$type": "MoleMole.ApplyModifier",
"ModifierName" : "Lonely",
"Target" : "TeamAvatars",
"Predicates":
[
{
"$type" : "MoleMole.ByIsLocalAvatar",
"Target" : "Self",
"IsLocalAvatar" : true
}
]
}
],
"OnHitOther":
[
{
"$type": "MoleMole.ModifyAttackDataAction",
"Target" : "Self",
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AddedDamageRatio",
"Predicates" :
[
{
"$type" : "MoleMole.ByTargetGlobalValue",
"Target" : "Self",
"Key" : "_Global_AliveNum",
"CompareType" : "Equal",
"Value": 1
}
]
}
],
"OnBeingHitPre":
[
{
"$type": "MoleMole.ModifyAttackDataAction",
"Target" : "Self",
"PropertyKey": "Actor_DamageTakeRatio",
"PropertyValue": "%DamageTakeRatio",
"Predicates" :
[
{
"$type" : "MoleMole.ByTargetGlobalValue",
"Target" : "Self",
"Key" : "_Global_AliveNum",
"CompareType" : "Equal",
"Value": 1
}
]
}
]
},
"Modifiers":
{
"Lonely":
{
"ModifierStacking": "Unique",
"OnAdded":
[
{
"$type" : "MoleMole.AddGlobalValue",
"Target" : "TeamAvatars",
"Key" : "_Global_AliveNum",
"Value" : 1.0
}
],
"OnKilled":
[
{
"$type" : "MoleMole.AddGlobalValue",
"Target" : "TeamAvatars",
"Key" : "_Global_AliveNum",
"Value" : -1.0
}
]
}
},
"AbilitySpecials" :
{
//表格参数
"AddedDamageRatio" :
{
"Value" : 0.5
},
"DamageTakeRatio" :
{
"Value" : -0.5
}
}
}