1
0
ZenlessData/Data/JsonBytes/NewAbility/AvatarAbility/AstraAbility/Astra_Talent_01.json

264 lines
7.0 KiB
JSON

{
"AbilityName": "Astra_Talent_01",
"AbilitySpecials": {
"AS_AllDamageResist": {
"Value": -0.06
},
"AS_FeverAmount": {
"Value": 0
},
"AS_InvincibleModifier_Duration": {
"Value": 60
},
"AS_RecoverFeverCD": {
"Value": 180,
"ValueType": "Float"
},
"AS_RecoverFeverCD_Cache": {
"Value": 0,
"ValueType": "Float"
},
"AS_RecoverFeverCD_Real": {
"Value": 0,
"ValueType": "Float"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByGameContextType",
"GameType": "StreamingGame",
"SubGameType": "All"
}
],
"FailureActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialByExpression",
"Expression": "scenevar(AS_RecoverFeverCD_Real)",
"ParamName": "AS_RecoverFeverCD_Real",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD_Real",
"ParamName": "AS_RecoverFeverCD_Cache",
"ParamType": "Float"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"FailureActions": [
{
"$type": "ApplyModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Target": "Self"
}
],
"SuccessActions": [
{
"$type": "RecoverIndividualFeverAction",
"Amount": "%AS_FeverAmount",
"IgnoreRatio": false,
"Percentage": 0,
"Target": "Self"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD",
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": "%AS_RecoverFeverCD",
"ParamName": "AS_RecoverFeverCD_Cache",
"ParamType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Target": "Self"
}
]
}
],
"OnHitOther": [
{
"$type": "ApplyModifier",
"ModifierName": "Astra_AllDamageResist_Talent_01",
"Target": "Target"
}
],
"OnSkillStart": [
{
"$type": "ApplyModifier",
"ModifierName": "Astra_ApplyIncincible_Talent_01",
"Predicates": [
{
"$type": "ByFromSkillType",
"SkillType": "ExQTE"
}
],
"Target": "TeamAvatars"
}
]
},
"Modifiers": {
"Astra_AllDamageResist_Talent_01": {
"Duration": 30,
"IgnoreTimeScale": false,
"MaxStackingNumber": 3,
"ModifierStacking": "MultipleAllRefresh",
"Properties": {
"Actor_AllDamageResist": "%AS_AllDamageResist"
}
},
"Astra_ApplyIncincible_Talent_01": {
"Duration": "%AS_InvincibleModifier_Duration",
"IgnoreTimeScale": false,
"ModifierStacking": "Replace",
"OnBeingHitResolved": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByIsInvincible",
"Target": "Self"
},
{
"$type": "ByIsBlocking",
"Target": "Self"
}
]
}
]
},
{
"$type": "ByRelativeCampType",
"Relationship": "Enemy",
"Target": "Other"
}
],
"SuccessActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Astra_Incincible_Talent_01",
"Target": "Self"
},
{
"$type": "RemoveModifier",
"ModifierName": "Astra_ApplyIncincible_Talent_01",
"Target": "Self"
}
]
}
]
},
"Astra_Incincible_Talent_01": {
"Duration": 1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "PushInvincibleAction",
"Tag": "Astra_Talent01_Invincible",
"Target": "Self"
},
{
"$type": "FireEffect",
"AttachPointName": "MiddlePoint",
"EffectPattern": "Eff_Astra_Common_35_Aura",
"Target": "Self"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": true,
"Tag": "Astra_Talent01_Mat_01",
"Target": "Self",
"key": "Avatar_Female_Size03_Astra_MA_Attack_Common_01"
},
{
"$type": "ModifyMaterialPropertyAction",
"ApplyAllRenderers": true,
"Tag": "Astra_Talent01_Mat_02",
"Target": "Self",
"key": "Avatar_Female_Size03_Astra_MA_Attack_Common_02"
},
{
"$type": "TriggerSoundAction",
"Target": "Self",
"soundActionKey": "Play_SFX_Char_Skill_Astra_Talent01_Invincible"
}
],
"OnRemoved": [
{
"$type": "PopInvincibleAction",
"Tag": "Astra_Talent01_Invincible",
"Target": "Self"
}
]
},
"SmoothDecreaseCDModifier": {
"Duration": "%AS_RecoverFeverCD",
"ModifierMixins": [
{
"$type": "SmoothBlendAbilitySpecialMixin",
"AbilitySpecial": "AS_RecoverFeverCD_Real",
"BlendCurve": "Linear",
"BlendTime": "%AS_RecoverFeverCD_Cache",
"TargetValue": 0
}
],
"ModifierStacking": "Unique",
"OnThinkInterval": [
{
"$type": "RemoveModifier",
"ModifierName": "SmoothDecreaseCDModifier",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "LessEqual",
"Param": 0,
"ParamName": "AS_RecoverFeverCD_Real",
"ParamType": "Float"
}
],
"Target": "Self"
}
],
"ThinkInterval": 0.1
}
}
}