Ghost

Game resources

Claret CardS3 Base MathBuff

game_resourceIntrinsic/flexbuffers-json/Claret_CardS3_Base_MathBuff

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Claret_CardS3_Base_MathBuff.json
data
{
  "Modifiers": {
    "Claret_CardS3_AtkToDefModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_DefenceDelta": "%AS_DefDelta_Final"
      },
      "ModifierStacking": "Replace"
    }
  },
  "AbilityName": "Claret_CardS3_Base_MathBuff",
  "AbilityMixins": [
    {
      "$type": "ActionsOnPropertyChangeMixin",
      "PropertyActions": [
        {
          "PropertyType": "Atk_Battle",
          "PropertyChangeActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_DefDelta_Final",
              "ValueType": "Float",
              "Expression": "max(0, (property(Atk_Battle)-specials(AS_AtkToDefThreshold))*specials(AS_AtkToDefRatio))"
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "Claret_CardS3_AtkToDefModifier"
            }
          ]
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_AtkToDefRatio": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_DefDelta_Final": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_AtkToDefThreshold": {
      "Value": 0,
      "ValueType": "Float"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "AS_DefDelta_Final",
        "ValueType": "Float",
        "Expression": "max(0, (property(Atk_Battle)-specials(AS_AtkToDefThreshold))*specials(AS_AtkToDefRatio))"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "Claret_CardS3_AtkToDefModifier"
      }
    ],
    "OnRemoved": [
      {
        "$type": "RemoveModifier",
        "Target": "Self",
        "ModifierName": "Claret_CardS3_AtkToDefModifier"
      }
    ]
  }
}
format
json
displayName
Claret_CardS3_Base_MathBuff