Ghost

Game resources

PinballCar Shield

game_resourceIntrinsic/flexbuffers-json/PinballCar_Shield

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/PinballCar_Shield.json
data
{
  "Modifiers": {
    "Mod_Shield": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialsByPropertyAction",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "AS_ShieldHPCost",
          "Percentage": "%AS_ShieldHPCostPercent",
          "Predicates": [
            {
              "$type": "ByAIParam",
              "Target": "Self",
              "ParamName": "Int_IsElite",
              "CompareType": "Equal",
              "FloatParamValue": 0
            }
          ],
          "PropertyType": "MaxHP",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialsByPropertyAction",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "AS_ShieldHPCost",
          "Percentage": "%AS_ShieldHPCostPercent_Elite",
          "Predicates": [
            {
              "$type": "ByAIParam",
              "Target": "Self",
              "ParamName": "Int_IsElite",
              "CompareType": "NotEqual",
              "FloatParamValue": 0
            }
          ],
          "PropertyType": "MaxHP",
          "ModifyFunction": "Replace"
        },
        {
          "Tag": "PinballCar_ShieldVFX",
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectScale": {
            "x": 1,
            "y": 1,
            "z": 1
          },
          "EffectPattern": "Eff_Pinball_Activity_31_Shield",
          "AttachEffectPosRot": {
            "Offset": {
              "PositionOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              }
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "OffsetReferTarget": "Self"
            }
          }
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "Tag": "PinballCar_ShieldVFX",
          "$type": "RemoveEffectByTagAndOwner",
          "Target": "Self",
          "KillImmediately": false
        }
      ],
      "OnBeingHitPre": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByRelativeCampType",
              "Target": "Other",
              "Relationship": "Enemy"
            }
          ],
          "PropertyKey": "Actor_DamageTakeRatio",
          "PropertyValue": "%AS_ShieldTakeDamageRatio"
        },
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByRelativeCampType",
              "Target": "Other",
              "Relationship": "Enemy"
            }
          ],
          "PropertyKey": "Actor_MuteShowDamageText",
          "PropertyValue": 1
        }
      ],
      "ModifierMixins": [
        {
          "Tag": "PinballCar_Shield",
          "$type": "HpShieldMixin",
          "Duration": -1,
          "Priority": 0,
          "AddedActions": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "PinBall_RBL_Modifier"
            }
          ],
          "EmptyActions": [
            {
              "$type": "FireEffect",
              "Target": "Self",
              "EffectScale": {
                "OverrideScaleX": 1,
                "OverrideScaleY": 1,
                "OverrideScaleZ": 1
              },
              "EffectPattern": "Eff_Pinball_Activity_06_Broken",
              "FireEffectPosRot": {
                "Offset": {
                  "PositionOffset": {
                    "x": 0,
                    "y": 0,
                    "z": 0
                  }
                },
                "CoordsOption": "ReferTarget",
                "TargetOption": {
                  "$type": "ConfigPosRotReferTarget",
                  "OffsetReferTarget": "Self"
                }
              }
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "Mod_ShieldRespawn"
            },
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "Mod_Shield"
            },
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "PinBall_RBL_Modifier"
            }
          ],
          "TotalValueConfig": {
            "Amount": 0,
            "Percentage": 1,
            "PropertyType": "MaxHP"
          },
          "IfTakeRestDamageWhenEmpty": true
        }
      ],
      "ModifierStacking": "Unique",
      "OnBeingHitResolved": [
        {
          "Tag": "PinballCar_Shield",
          "$type": "ModifyHpShieldAction",
          "Predicates": [
            {
              "$type": "ByRelativeCampType",
              "Target": "Other",
              "Relationship": "Enemy"
            }
          ],
          "CurValueDelta": "%AS_ShieldHPCost"
        }
      ]
    },
    "Mod_ShieldRespawn": {
      "OnAdded": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": true,
          "Target": "Self",
          "AnimatorStateTags": [
            "IsStun"
          ]
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_IsInStun",
          "ParamType": 2
        },
        {
          "Tag": "PinballCar_StunVFX",
          "$type": "AttachEffect",
          "Target": "Self",
          "EffectScale": {
            "x": 2.8,
            "y": 2.8,
            "z": 2.8
          },
          "EffectPattern": "Eff_Pinball_Activity_76_Star",
          "AttachEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 180,
                "y": 90,
                "z": 90
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": 0.8,
                "z": 0
              },
              "IsUseRotationXZ": true
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "AttachPoint": "EffPoint",
              "OffsetReferTarget": "Self",
              "IsUseAttachPointPos": true,
              "IsUseAttachPointRotation": true
            }
          }
        }
      ],
      "Duration": "%AS_ShieldRespawnDelay",
      "OnRemoved": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Self",
          "AnimatorStateTags": [
            "IsStun"
          ]
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "Mod_Shield"
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_IsInStun",
          "ParamType": 2
        },
        {
          "Tag": "PinballCar_StunVFX",
          "$type": "RemoveEffectByTagAndOwner",
          "Target": "Self",
          "KillImmediately": false
        }
      ],
      "ModifierStacking": "Unique"
    },
    "PinBall_RBL_Modifier": {
      "OnAdded": [
        {
          "RBL": 99,
          "Tag": "PinBall_RBL",
          "$type": "SetRBLAction",
          "Target": "Self"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "Tag": "PinBall_RBL",
          "$type": "UnsetRBLAction",
          "Target": "Self"
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "PinballCar_Shield",
  "AbilitySpecials": {
    "AS_ShieldHPCost": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_ShieldRespawnDelay": {
      "Value": 5,
      "ValueType": "Float"
    },
    "AS_ShieldHPCostPercent": {
      "Value": -0.34,
      "ValueType": "Float"
    },
    "AS_ShieldTakeDamageRatio": {
      "Value": -0.999,
      "ValueType": "Float"
    },
    "AS_ShieldHPCostPercent_Elite": {
      "Value": -0.34,
      "ValueType": "Float"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "Mod_Shield"
      }
    ],
    "Duration": -1,
    "ModifierStacking": "Unique"
  }
}
format
json
displayName
PinballCar_Shield