Ghost

Game resources

Yanagi StateBuff

game_resourceIntrinsic/flexbuffers-json/Yanagi_StateBuff

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Yanagi_StateBuff.json
data
{
  "Modifiers": {
    "AtoBModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 1,
          "Target": "Self",
          "ParamName": "Int_Stance",
          "ParamType": 3
        },
        {
          "$type": "ModifyProperty",
          "Amount": 1,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "Int_Stance",
          "PropertyModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "StanceBBuffModifier"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    },
    "BtoAModifier": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 0,
          "Target": "Self",
          "ParamName": "Int_Stance",
          "ParamType": 3
        },
        {
          "$type": "ModifyProperty",
          "Amount": 0,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "Int_Stance",
          "PropertyModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "StanceABuffModifier"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    },
    "FreeStateAModifier": {
      "Duration": -1,
      "DelayHandlers": [
        {
          "DelayTime": "%AS_FreeStateDuration",
          "TimeUpActions": [
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "StanceBBuffModifier"
            }
          ]
        }
      ],
      "ModifierStacking": "Replace"
    },
    "FreeStateBModifier": {
      "Duration": -1,
      "DelayHandlers": [
        {
          "DelayTime": "%AS_FreeStateDuration",
          "TimeUpActions": [
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "StanceABuffModifier"
            }
          ]
        }
      ],
      "ModifierStacking": "Replace"
    },
    "StanceABuffModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "StanceAExtraModifier"
        },
        {
          "$type": "ModifyProperty",
          "Amount": 1,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "Int_A_StanceBuff",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "StanceAExtraModifier"
        },
        {
          "$type": "ModifyProperty",
          "Amount": 0,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "Int_A_StanceBuff",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "OnBeingHitPre": [
        {
          "Tag": "StanceARBLOffset",
          "$type": "SetRBLOffsetAction",
          "Target": "Self",
          "RBLOffset": 1,
          "Predicates": [
            {
              "Tags": [
                "NormalAttackActing"
              ],
              "$type": "ByIsInZoneTags",
              "Target": "Self"
            }
          ]
        }
      ],
      "ModifierStacking": "Unique",
      "OnBeingHitResolved": [
        {
          "Tag": "StanceARBLOffset",
          "$type": "UnsetRBLOffsetAction",
          "Target": "Self"
        }
      ]
    },
    "StanceBBuffModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "StanceBExtraModifier"
        },
        {
          "$type": "ModifyProperty",
          "Amount": 1,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "Int_B_StanceBuff",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "StanceBExtraModifier"
        },
        {
          "$type": "ModifyProperty",
          "Amount": 0,
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "CustomPropertyType": "Int_B_StanceBuff",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "OnHitOther": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Caster",
          "Predicates": [
            {
              "$type": "ByOr",
              "Predicates": [
                {
                  "$type": "ByAnimTagList",
                  "TagList": [
                    "AttackNormal",
                    "Normal"
                  ]
                },
                {
                  "$type": "ByAnimTagList",
                  "TagList": [
                    "AttackNormal",
                    "Rush"
                  ]
                }
              ]
            }
          ],
          "PropertyKey": "BreakLevel_Delta",
          "PropertyValue": 1
        }
      ],
      "ModifierStacking": "Unique"
    },
    "StanceAExtraModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_AddedDamageRatio_Elec": "%AS_AddedElecDamageRatio_StateBuff"
      },
      "ModifierStacking": "Unique"
    },
    "StanceBExtraModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_PenRatio": "%AS_AddedenRatio_StateBuff"
      },
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Yanagi_StateBuff",
  "AbilityMixins": [
    {
      "$type": "AttachZoneTagWithModifierMixin",
      "ConfigList": [
        {
          "ZoneTag": "YanagiStanceA",
          "ModifierNameList": [
            "BtoAModifier"
          ]
        },
        {
          "ZoneTag": "YanagiStanceB",
          "ModifierNameList": [
            "AtoBModifier"
          ]
        }
      ]
    },
    {
      "$type": "ActionsOnPropertyChangeMixin",
      "DoInitialCheck": false,
      "PropertyActions": [
        {
          "PropertyType": "Custom",
          "IsUsePercentage": false,
          "ValueRangeActions": [
            {
              "Val": 1,
              "LowToValueActions": [
                {
                  "$type": "RemoveModifier",
                  "Target": "Self",
                  "ModifierName": "FreeStateAModifier"
                },
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "ModifierName": "FreeStateBModifier"
                }
              ]
            },
            {
              "Val": 0,
              "HighToValueActions": [
                {
                  "$type": "RemoveModifier",
                  "Target": "Self",
                  "ModifierName": "FreeStateBModifier"
                },
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "ModifierName": "FreeStateAModifier"
                }
              ]
            }
          ],
          "CustomPropertyType": "Int_Stance",
          "ReferMaxPropertyType": "Custom",
          "CustomReferMaxPropertyType": "MaxInt_Stance"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_FreeStateDuration": {
      "Value": 8
    },
    "AS_AddedenRatio_StateBuff": {
      "Value": 0.1
    },
    "AS_AddedElecDamageRatio_StateBuff": {
      "Value": 0.2
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "StanceABuffModifier"
      }
    ]
  }
}
format
json
displayName
Yanagi_StateBuff