Ghost

Game resources

XiaoZhao MathSkill

game_resourceIntrinsic/flexbuffers-json/XiaoZhao_MathSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/XiaoZhao_MathSkill.json
data
{
  "Modifiers": {
    "ControlModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "Predicates": [
            {
              "$type": "ByMathSkillSuccess"
            }
          ],
          "ModifierName": "EnhanceModifier"
        }
      ],
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "EnhanceModifier"
        }
      ],
      "ModifierMixins": [
        {
          "$type": "WatchEntityMixin",
          "EntityTypes": [
            "Avatar"
          ],
          "Relationships": [
            "Allied"
          ],
          "OnEntityAwaked": [
            {
              "$type": "ApplyModifier",
              "Target": "TeamAvatars",
              "Predicates": [
                {
                  "$type": "ByMathSkillSuccess"
                }
              ],
              "ModifierName": "EnhanceModifier"
            }
          ]
        }
      ]
    },
    "EnhanceModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_AddedDamageRatio": "%AS_AddedDamageFinal"
      },
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "XiaoZhao_MathSkill",
  "AbilitySpecials": {
    "AS_HpMaxRequire": {
      "Value": 0.2
    },
    "AS_HpMaxInterval": {
      "Value": 100
    },
    "AS_AddedDamageCal": {
      "Value": 0
    },
    "AS_AddedDamageMax": {
      "Value": 0.2
    },
    "AS_AddedDamageBase": {
      "Value": 0.05
    },
    "AS_AdddamageHpRatio": {
      "Value": 12
    },
    "AS_AddedDamageFinal": {
      "Value": 0
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "Val1": "%AS_HpMaxRequire",
            "$type": "ByPlayerPropertyValue",
            "Numerator": "HpMax_Base",
            "CompareType": "GreaterEqual"
          }
        ],
        "FailureActions": [
          {
            "$type": "SetAbilitySpecialByExpression",
            "DoRefresh": true,
            "ParamName": "AS_AddedDamageCal",
            "Expression": "specials(AS_AddedDamageBase)"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SetAbilitySpecialByExpression",
            "DoRefresh": true,
            "ParamName": "AS_AddedDamageCal",
            "Expression": "specials(AS_AddedDamageBase)+(property(HpMax_Base)-specials(AS_HpMaxRequire))*specials(AS_AdddamageHpRatio)/specials(AS_HpMaxInterval)"
          }
        ]
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "ParamName": "AS_AddedDamageFinal",
        "Expression": "min(specials(AS_AddedDamageCal),specials(AS_AddedDamageMax))"
      }
    ],
    "ModifierMixins": [
      {
        "$type": "AttachZoneTagWithModifierMixin",
        "ConfigList": [
          {
            "ZoneTag": "ThemeSpace",
            "ModifierNameList": [
              "ControlModifier"
            ]
          }
        ]
      }
    ]
  }
}
format
json
displayName
XiaoZhao_MathSkill