Game resources
Ben ShieldManager
Properties
Source evidence
- Path
Intrinsic/flexbuffers-json/Ben_ShieldManager.json
- data
{ "Modifiers": { "HPShieldModifier": { "Duration": -1, "ModifierMixins": [ { "Tag": "Ben_Block_HpShield", "$type": "HpShieldMixin", "Duration": -1, "Priority": 0, "AddedActions": [ { "Tag": "Avatar_Male_Size03_Ben_MA_BlockState_Mat01_OverrideRimGlow_01", "key": "Avatar_Male_Size03_Ben_MA_BlockState_Mat01_OverrideRimGlow_01", "$type": "ModifyMaterialPropertyAction", "Target": "Self", "Predicates": [ { "$type": "ByAbilitySpecial", "Param": 0, "ParamName": "AS_HpShieldRatioCur", "ParamType": "Float", "CompareType": "Greater" } ] } ], "EmptyActions": [ { "Tag": "Avatar_Male_Size03_Ben_MA_BlockState_Mat01_OverrideRimGlow_01", "$type": "InterruptMaterialPropertyAction", "Target": "Self" } ], "RecoverAmount": "%AS_HpShieldComsumeAmount", "RemovedActions": [ { "Tag": "Avatar_Male_Size03_Ben_MA_BlockState_Mat01_OverrideRimGlow_01", "$type": "InterruptMaterialPropertyAction", "Target": "Self" } ], "TotalValueConfig": { "Amount": 0, "Percentage": "%AS_HpShieldRatioCur", "PropertyType": "MaxHP" }, "RecoverPercentage": 0 } ], "ModifierStacking": "Unique" }, "HpShieldModifier_Recover": { "Duration": -1, "ModifierMixins": [ { "$type": "SmoothChangePropertyMixin", "PropertyItems": [ { "Amount": 0, "Percentage": "%AS_HpShieldRecoverPercentage", "PropertyType": "Custom", "CustomPropertyType": "HpShieldRatioCur", "PropertyModifyFunction": "Add" } ] } ], "ModifierStacking": "Unique" }, "HPShieldModifier_Controller": { "OnAdded": [ { "$type": "ModifyProperty", "Amount": 0, "Percentage": 1, "Predicates": [ { "$type": "ByAnimatorStateNormalizedTime", "IsLoop": false, "LayerIndex": 0, "FrameCountLow": 0, "FrameCountHigh": 0, "MaxFrameCountLow": false, "AnimatorStateName": "Attack_Branch_02_Start", "MaxFrameCountHigh": true } ], "PropertyType": "Custom", "IsUsePercentage": false, "CustomPropertyType": "HpShieldRatioCur", "PropertyModifyFunction": "Replace" }, { "$type": "SetAbilitySpecialsByPropertyAction", "Target": "Self", "ParamName": "AS_HpShieldRatioCur", "Percentage": 1, "PropertyType": "Custom", "ModifyFunction": "Replace", "CustomPropertyType": "HpShieldRatioCur" }, { "$type": "SetAbilitySpecialByExpression", "Target": "Self", "DoRefresh": true, "ParamName": "AS_HpShieldComsumeAmount", "ValueType": "Float", "Expression": "property(MaxHP)*property(HpShieldRatioMax)*specials(AS_HpShieldComsumePercentage)*(-1)" }, { "$type": "ApplyModifier", "Target": "Self", "ModifierName": "HPShieldModifier" }, { "$type": "RemoveModifier", "Target": "Self", "ModifierName": "HpShieldModifier_Recover" } ], "Duration": -1, "OnRemoved": [ { "Tag": "Ben_Block_HpShield", "$type": "SetAbilitySpecialsByHpShiledValueAction", "Target": "Self", "ParamName": "AS_HpShieldRemainAmount", "ParamType": "Float", "ValueType": "CurValue", "ModifyFunction": "Replace" }, { "$type": "SetAbilitySpecialByExpression", "Target": "Self", "DoRefresh": true, "ParamName": "AS_HpShieldRemainPercentage", "ValueType": "Float", "Expression": "specials(AS_HpShieldRemainAmount)/property(MaxHP)" }, { "$type": "ModifyProperty", "Amount": "%AS_HpShieldRemainPercentage", "Percentage": 0, "PropertyType": "Custom", "IsUsePercentage": false, "CustomPropertyType": "HpShieldRatioCur", "PropertyModifyFunction": "Replace" }, { "$type": "RemoveModifier", "Target": "Self", "ModifierName": "HPShieldModifier" }, { "$type": "ModifyProperty", "Amount": 0, "Percentage": 0.008, "PropertyType": "Custom", "IsUsePercentage": true, "CustomPropertyType": "HpShieldRatioCur", "PropertyModifyFunction": "Add" }, { "$type": "ApplyModifier", "Target": "Self", "ModifierName": "HpShieldModifier_Recover" } ], "ModifierStacking": "Unique" } }, "AbilityName": "Ben_ShieldManager", "AbilityMixins": [ { "$type": "AttachStateWithModifierMixin", "ConfigList": [ { "IsLoop": false, "LayerIndex": 0, "FrameCountLow": 0, "FrameCountHigh": 0, "MaxFrameCountLow": false, "ModifierNameList": [ "HPShieldModifier_Controller" ], "AnimatorStateName": "Attack_Branch_01_Start", "MaxFrameCountHigh": true }, { "IsLoop": true, "LayerIndex": 0, "FrameCountLow": 0, "FrameCountHigh": 0, "MaxFrameCountLow": false, "ModifierNameList": [ "HPShieldModifier_Controller" ], "AnimatorStateName": "Attack_Branch_01_Loop", "MaxFrameCountHigh": true }, { "IsLoop": false, "LayerIndex": 0, "FrameCountLow": 0, "FrameCountHigh": 0, "MaxFrameCountLow": false, "ModifierNameList": [ "HPShieldModifier_Controller" ], "AnimatorStateName": "Attack_Branch_02_Start", "MaxFrameCountHigh": true }, { "IsLoop": true, "LayerIndex": 0, "FrameCountLow": 0, "FrameCountHigh": 0, "MaxFrameCountLow": false, "ModifierNameList": [ "HPShieldModifier_Controller" ], "AnimatorStateName": "Attack_Branch_02_Loop", "MaxFrameCountHigh": true } ] } ], "AbilitySpecials": { "AS_HpShieldRatioCur": { "Value": 0 }, "AS_HpShieldRatioMax": { "Value": 0.5 }, "AS_HpShieldRemainAmount": { "Value": 0 }, "AS_HpShieldComsumeAmount": { "Value": 0.1 }, "AS_HpShieldRemainPercentage": { "Value": 0 }, "AS_HpShieldComsumePercentage": { "Value": 0.1 }, "AS_HpShieldRecoverPercentage": { "Value": 0.1 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ModifyProperty", "Amount": "%AS_HpShieldRatioMax", "Percentage": 0, "PropertyType": "Custom", "IsUsePercentage": false, "CustomPropertyType": "HpShieldRatioCur", "PropertyModifyFunction": "Replace" }, { "$type": "ModifyProperty", "Amount": "%AS_HpShieldRatioMax", "Percentage": 0, "PropertyType": "Custom", "IsUsePercentage": false, "CustomPropertyType": "HpShieldRatioMax", "PropertyModifyFunction": "Replace" }, { "$type": "ModifyProperty", "Amount": 0, "Percentage": 0.008, "PropertyType": "Custom", "IsUsePercentage": true, "CustomPropertyType": "HpShieldRatioCur", "PropertyModifyFunction": "Add" }, { "$type": "ApplyModifier", "Target": "Self", "ModifierName": "HpShieldModifier_Recover" } ] } }- format
json
- displayName
Ben_ShieldManager