{ "AbilityName": "Activity_BangbooDream_Weapon_Gun_BulletSelector", "AbilitySpecials": { "AS_Player1_Valid": { "Value": 0, "ValueType": "Integer" }, "AS_Player2_Valid": { "Value": 0, "ValueType": "Integer" }, "AS_Player3_Valid": { "Value": 0, "ValueType": "Integer" } }, "AbilityStacking": "Unique", "Modifiers": { "IndexCheckModifier": { "Duration": 5, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "ApplyModifier", "ModifierName": "Player1Modifier", "Predicates": [ { "$type": "ByAvatarTeamIndex", "Target": "Self", "TeamIndex": 1 }, { "$type": "ByAliveState", "AliveState": "Alive", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_Player1_Valid", "ParamType": "Integer", "Predicates": [ { "$type": "ByAvatarTeamIndex", "Target": "Self", "TeamIndex": 1 }, { "$type": "ByAliveState", "AliveState": "Alive", "Target": "Self" } ] }, { "$type": "ApplyModifier", "ModifierName": "Player2Modifier", "Predicates": [ { "$type": "ByAvatarTeamIndex", "Target": "Self", "TeamIndex": 2 }, { "$type": "ByAliveState", "AliveState": "Alive", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_Player2_Valid", "ParamType": "Integer", "Predicates": [ { "$type": "ByAvatarTeamIndex", "Target": "Self", "TeamIndex": 2 }, { "$type": "ByAliveState", "AliveState": "Alive", "Target": "Self" } ] }, { "$type": "ApplyModifier", "ModifierName": "Player3Modifier", "Predicates": [ { "$type": "ByAvatarTeamIndex", "Target": "Self", "TeamIndex": 3 }, { "$type": "ByAliveState", "AliveState": "Alive", "Target": "Self" } ], "Target": "Self" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_Player3_Valid", "ParamType": "Integer", "Predicates": [ { "$type": "ByAvatarTeamIndex", "Target": "Self", "TeamIndex": 3 }, { "$type": "ByAliveState", "AliveState": "Alive", "Target": "Self" } ] } ] }, "Player1Modifier": { "Duration": -1, "ModifierStacking": "Refresh", "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "IceGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 202 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "PhysicsGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 200 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "FireGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 201 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "ElecGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 203 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "EtherGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 205 } ], "Target": "Caster" } ] }, "Player2Modifier": { "Duration": -1, "ModifierStacking": "Refresh", "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "IceGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 202 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "PhysicsGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 200 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "FireGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 201 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "ElecGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 203 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "EtherGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 205 } ], "Target": "Caster" } ] }, "Player3Modifier": { "Duration": -1, "ModifierStacking": "Refresh", "OnRemoved": [ { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "IceGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 202 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "PhysicsGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 200 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "FireGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 201 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "ElecGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 203 } ], "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "EtherGun" ], "IsAdd": true, "Predicates": [ { "$type": "ByAvatarElementType", "ElementType": 205 } ], "Target": "Caster" } ] }, "SelectorModifier": { "Duration": 5, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "RandomWeightAction", "ActionList": [ { "Actions": [ { "$type": "RemoveModifier", "ModifierName": "Player1Modifier", "Target": "TeamAvatars" } ], "Weight": "%AS_Player1_Valid" }, { "Actions": [ { "$type": "RemoveModifier", "ModifierName": "Player2Modifier", "Target": "TeamAvatars" } ], "Weight": "%AS_Player2_Valid" }, { "Actions": [ { "$type": "RemoveModifier", "ModifierName": "Player3Modifier", "Target": "TeamAvatars" } ], "Weight": "%AS_Player3_Valid" } ] } ] } }, "OnAbilityTrigger": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_Player1_Valid", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_Player2_Valid", "ParamType": "Integer" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_Player3_Valid", "ParamType": "Integer" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "IceGun" ], "IsAdd": false, "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "PhysicsGun" ], "IsAdd": false, "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "FireGun" ], "IsAdd": false, "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "ElecGun" ], "IsAdd": false, "Target": "Caster" }, { "$type": "HandleAnimatorZoneTagsAction", "AnimatorStateTags": [ "EtherGun" ], "IsAdd": false, "Target": "Caster" }, { "$type": "ApplyModifier", "ModifierName": "IndexCheckModifier", "Target": "TeamAvatars" }, { "$type": "ApplyModifier", "ModifierName": "SelectorModifier" } ] }