Ghost

Game resources

Ability Card AForcedDodge

game_resourceIntrinsic/flexbuffers-json/Ability_Card_AForcedDodge

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Ability_Card_AForcedDodge.json
data
{
  "Modifiers": {
    "HitHModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByHasModifier",
                  "Target": "Self",
                  "ModifierNameList": [
                    "ForcedDodgeActionsModifier"
                  ]
                }
              ]
            }
          ],
          "ModifierName": "AllowForcedDodgeModifier"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "AllowForcedDodgeModifier"
        }
      ],
      "IgnoreTimeScale": true,
      "ModifierStacking": "Unique"
    },
    "HitLModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByHasModifier",
                  "Target": "Self",
                  "ModifierNameList": [
                    "ForcedDodgeActionsModifier"
                  ]
                }
              ]
            }
          ],
          "ModifierName": "AllowForcedDodgeModifier"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "AllowForcedDodgeModifier"
        }
      ],
      "IgnoreTimeScale": true,
      "ModifierStacking": "Unique"
    },
    "HitFlyModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByHasModifier",
                  "Target": "Self",
                  "ModifierNameList": [
                    "ForcedDodgeActionsModifier"
                  ]
                }
              ]
            }
          ],
          "ModifierName": "AllowForcedDodgeModifier"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "AllowForcedDodgeModifier"
        }
      ],
      "IgnoreTimeScale": true,
      "ModifierStacking": "Unique"
    },
    "DodgeEffectModifier": {
      "Duration": 0.1,
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    },
    "AllowForcedDodgeModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_ForcedDodge",
          "ParamType": 2
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_ForcedDodge",
          "ParamType": 2
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "DodgeEffectModifier"
        }
      ],
      "IgnoreTimeScale": true,
      "ModifierStacking": "Unique"
    },
    "ForcedDodgeActionsModifier": {
      "OnAdded": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "DodgeEffectModifier"
        },
        {
          "$type": "FireEffect",
          "Target": "Self",
          "EffectPattern": "Eff_PerfectEvade_AForcedDodge_01_Cube"
        },
        {
          "Tag": "ForcedDodge_Outline",
          "key": "Eff_PerfectEvade_AForcedDodge_OutLine_01",
          "$type": "ModifyMaterialPropertyAction",
          "Target": "Self"
        },
        {
          "$type": "SetAbilitySpecialsByPropertyAction",
          "Target": "Self",
          "ParamName": "AS_AfterDamageHp",
          "Percentage": 1,
          "PropertyType": "CurHP",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "DoRefresh": true,
          "ParamName": "AS_LostHP",
          "ValueType": "Float",
          "Expression": "specials(AS_BeforeDamageHp)-specials(AS_AfterDamageHp)"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "DoRefresh": true,
          "ParamName": "AS_RecoverHP",
          "ValueType": "Float",
          "Expression": "specials(AS_LostHP)*0.5"
        },
        {
          "$type": "RecoverHPAction",
          "Amount": "%AS_RecoverHP",
          "Target": "Self",
          "Percentage": 0
        }
      ],
      "Duration": "%AS_ForcedDodgeCD",
      "OnRemoved": [
        {
          "Tag": "ForcedDodge_Outline",
          "$type": "InterruptMaterialPropertyAction",
          "Target": "Self"
        }
      ],
      "IgnoreTimeScale": false,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Ability_Card_AForcedDodge",
  "AbilityMixins": [
    {
      "$type": "AttachStateWithModifierMixin",
      "ConfigList": [
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 6,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "HitLModifier"
          ],
          "AnimatorStateName": "Hit_L_F",
          "MaxFrameCountHigh": false
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 6,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "HitLModifier"
          ],
          "AnimatorStateName": "Hit_L_B",
          "MaxFrameCountHigh": false
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 8,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "HitHModifier"
          ],
          "AnimatorStateName": "Hit_H_F",
          "MaxFrameCountHigh": false
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 8,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "HitHModifier"
          ],
          "AnimatorStateName": "Hit_H_B",
          "MaxFrameCountHigh": false
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 12,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "HitFlyModifier"
          ],
          "AnimatorStateName": "HitFly_F",
          "MaxFrameCountHigh": false
        },
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 12,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "HitFlyModifier"
          ],
          "AnimatorStateName": "HitFly_B",
          "MaxFrameCountHigh": false
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_LostHP": {
      "Value": 0
    },
    "AS_RecoverHP": {
      "Value": 0
    },
    "AS_AfterDamageHp": {
      "Value": 0
    },
    "AS_ForcedDodgeCD": {
      "Value": 0.8
    },
    "AS_BeforeDamageHp": {
      "Value": 0
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnBeingHit": [
      {
        "$type": "SetAbilitySpecialsByPropertyAction",
        "Target": "Self",
        "ParamName": "AS_BeforeDamageHp",
        "Percentage": 1,
        "PropertyType": "CurHP",
        "ModifyFunction": "Replace"
      }
    ],
    "OnSkillStart": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByFromSkillType",
            "Target": "Self",
            "SkillType": "Evade"
          },
          {
            "$type": "ByHasModifier",
            "Target": "Self",
            "ModifierNameList": [
              "DodgeEffectModifier"
            ]
          }
        ],
        "ModifierName": "ForcedDodgeActionsModifier"
      }
    ]
  }
}
format
json
displayName
Ability_Card_AForcedDodge