{ "AbilityName": "Monster_TurnBased_Common", "AbilitySpecials": { "AS_AddDamageResist": { "Value": 0.2, "ValueType": "Float" }, "AS_ReduceDamageResist": { "Value": -0.5, "ValueType": "Float" } }, "AbilityStacking": "Unique", "DefaultModifier": { "DelayHandlers": [ { "DelayTime": 0.1, "TimeUpActions": [ { "$type": "TriggerBehaviorTreeAction", "Enable": true } ] } ], "OnHitOther": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Ether" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Mech" ], "Target": "Target" } ], "Target": "Target" }, { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Bios" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Ether" ], "Target": "Target" } ], "Target": "Target" }, { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Mech" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Bios" ], "Target": "Target" } ], "Target": "Target" } ], "Target": "Target" } ], "SuccessActions": [ { "$type": "ModifyAttackDataAction", "PropertyKey": "Actor_OverrideDamageElementResistType", "PropertyValue": 2 }, { "$type": "ModifyAttackDataAction", "PropertyKey": "Actor_AllDamageResist", "PropertyValue": "%AS_ReduceDamageResist" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Ether" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Bios" ], "Target": "Target" } ], "Target": "Target" }, { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Bios" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Mech" ], "Target": "Target" } ], "Target": "Target" }, { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInZoneTags", "Tags": [ "Mech" ], "Target": "Self" }, { "$type": "ByIsInZoneTags", "Tags": [ "Ether" ], "Target": "Target" } ], "Target": "Target" } ], "Target": "Target" } ], "SuccessActions": [ { "$type": "ModifyAttackDataAction", "PropertyKey": "Actor_OverrideDamageElementResistType", "PropertyValue": 3 }, { "$type": "ModifyAttackDataAction", "PropertyKey": "Actor_AllDamageResist", "PropertyValue": "%AS_AddDamageResist" } ] } ], "OnUnitTurnStarted": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByCampType", "Camp": "TeamEvil" } ], "SuccessActions": [ { "$type": "SetAttackTargetBySpecificTargetAction", "ForceOverride": true, "IgnoreSetAttackTargetCD": true, "NewLockTarget": "Custom", "NewLockTargetCustomKey": "Monster_TurnBased_Near" } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByCampType", "Camp": "TeamGood" } ], "SuccessActions": [ ] } ], "Properties": { "Actor_EnableLastKill": 1, "Actor_SPBlinkShow": 0 } }, "OnAdded": [ { "$type": "SetUIArrowAction", "IsVisible": false }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "TurnBased_Unit" ], "IsAdd": true }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "TurnBased_Unit_TeamGood" ], "IsAdd": true, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamGood" } ] }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "TurnBased_Unit_TeamEvil" ], "IsAdd": true, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamEvil" } ] }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_Common_DefensiveActionEvent", "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_Common_DefensiveActionEffect", "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_Common_AI_Manager", "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_Common_TurnOver_Manager", "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_Common_WindField", "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityID": 22000001, "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityID": 22000002, "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityID": 22000003, "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityID": 22000004, "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityID": 22000005, "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_CommonBuff_Invincible", "IsAutoTrigger": false }, { "$type": "ApplyAbilityAction", "AbilityName": "Monster_TurnBased_Common_SoundManager", "IsAutoTrigger": false }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByCharacterSize", "CharacterSize": "Tiny" }, { "$type": "ByCharacterSize", "CharacterSize": "Small" } ] }, { "$type": "ByNot", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41101 } ] }, { "$type": "ByNot", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41102 } ] } ], "SuccessActions": [ { "$type": "FireEffect", "EffectPattern": "Eff_MonsterFantasy_OurSide_01_Ring", "EffectScale": { "OverrideScaleX": 1.2, "OverrideScaleY": 1.2, "OverrideScaleZ": 1.2 }, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamGood" } ] }, { "$type": "FireEffect", "EffectPattern": "Eff_MonsterFantasy_Baddie_01_Ring", "EffectScale": { "OverrideScaleX": 1.2, "OverrideScaleY": 1.2, "OverrideScaleZ": 1.2 }, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamEvil" } ] } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByCharacterSize", "CharacterSize": "Middle" }, { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41101 }, { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41102 } ] }, { "$type": "ByNot", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41111 } ] }, { "$type": "ByNot", "Predicates": [ { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41112 } ] } ], "SuccessActions": [ { "$type": "FireEffect", "EffectPattern": "Eff_MonsterFantasy_OurSide_01_Ring", "EffectScale": { "OverrideScaleX": 1.8, "OverrideScaleY": 1.8, "OverrideScaleZ": 1.8 }, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamGood" } ] }, { "$type": "FireEffect", "EffectPattern": "Eff_MonsterFantasy_Baddie_01_Ring", "EffectScale": { "OverrideScaleX": 1.8, "OverrideScaleY": 1.8, "OverrideScaleZ": 1.8 }, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamEvil" } ] } ] }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByCharacterSize", "CharacterSize": "Large" }, { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41111 }, { "$type": "ByEntityTemplateID", "EntityType": "Monster", "TemplateID": 41112 } ] } ], "SuccessActions": [ { "$type": "FireEffect", "EffectPattern": "Eff_MonsterFantasy_OurSide_01_Ring", "EffectScale": { "OverrideScaleX": 3, "OverrideScaleY": 3, "OverrideScaleZ": 3 }, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamGood" } ] }, { "$type": "FireEffect", "EffectPattern": "Eff_MonsterFantasy_Baddie_01_Ring", "EffectScale": { "OverrideScaleX": 3, "OverrideScaleY": 3, "OverrideScaleZ": 3 }, "Predicates": [ { "$type": "ByCampType", "Camp": "TeamEvil" } ] } ] } ] }