Ghost

Game resources

Alice MathSkill

game_resourceIntrinsic/flexbuffers-json/Alice_MathSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Alice_MathSkill.json
data
{
  "Modifiers": {
    "DisorderListenModifier": {
      "Duration": -1,
      "ModifierStacking": "Unique",
      "OnBuffAddToOther": [
        {
          "$type": "ModifyProperty",
          "Amount": "%AS_RecoverSabre_Disorder",
          "Target": "Custom",
          "CustomKey": "AbilityTarget_Alice",
          "Predicates": [
            {
              "$type": "ByHandlingBuffGroup",
              "BuffGroupList": [
                "Disorder"
              ]
            }
          ],
          "PropertyType": "Custom",
          "CustomPropertyType": "SabreCounts",
          "PropertyModifyFunction": "Add"
        }
      ]
    },
    "SmoothDecreaseCDModifier": {
      "Duration": "%AS_RecoverSabreCD",
      "ThinkInterval": 0.1,
      "ModifierMixins": [
        {
          "$type": "SmoothBlendAbilitySpecialMixin",
          "BlendTime": "%AS_RecoverSabreCD_Cache",
          "BlendCurve": "Linear",
          "TargetValue": 0,
          "AbilitySpecial": "AS_RecoverSabreCD_Real"
        }
      ],
      "OnThinkInterval": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 0,
              "ParamName": "AS_RecoverSabreCD_Real",
              "ParamType": "Float",
              "CompareType": "LessEqual"
            }
          ],
          "ModifierName": "SmoothDecreaseCDModifier"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "ElementMysteryDeltaModifier": {
      "Properties": {
        "Actor_ElementMysteryDelta": "%AS_ElementMysteryDeltaFinal"
      },
      "ModifierMixins": [
        {
          "$type": "ActionsOnPropertyChangeMixin",
          "DoInitialCheck": true,
          "PropertyActions": [
            {
              "PropertyType": "ElementAbnormalPower_Battle",
              "PropertyChangeActions": [
                {
                  "$type": "BranchOperator",
                  "Conditions": [
                    {
                      "Val1": "%AS_ElementAbnormalPowerRequire",
                      "$type": "ByPlayerPropertyValue",
                      "Numerator": "ElementAbnormalPower_Battle",
                      "CompareType": "GreaterEqual",
                      "IsUsePercent": false
                    }
                  ],
                  "FailureActions": [
                    {
                      "$type": "SetAbilitySpecialAction",
                      "Param": 0,
                      "DoRefresh": true,
                      "ParamName": "AS_ElementMysteryDeltaFinal",
                      "ParamType": "Float",
                      "ModifyFunction": "Replace"
                    }
                  ],
                  "SuccessActions": [
                    {
                      "$type": "SetAbilitySpecialByExpression",
                      "DoRefresh": true,
                      "ParamName": "AS_ElementMysteryDeltaFinal",
                      "Expression": "(property(ElementAbnormalPower_Battle)-specials(AS_ElementAbnormalPowerRequire))*specials(AS_ElementMysteryDeltaBase)"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  },
  "AbilityName": "Alice_MathSkill",
  "AbilityMixins": [
    {
      "$type": "WatchEntityMixin",
      "EntityTypes": [
        "Avatar"
      ],
      "Relationships": [
        "Allied"
      ],
      "OnEntityAwaked": [
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "DisorderListenModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "Predicates": [
            {
              "$type": "ByMathSkillSuccess"
            }
          ],
          "ModifierName": "DisorderListenModifier"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_RecoverSabreCD": {
      "Value": 180,
      "ValueType": "Float"
    },
    "AS_RecoverSabreCD_Real": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_RecoverSabreCD_Cache": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_RecoverSabre_OnAdded": {
      "Value": 300
    },
    "AS_RecoverSabre_Disorder": {
      "Value": 100
    },
    "AS_ElementMysteryDeltaBase": {
      "Value": 5
    },
    "AS_ElementMysteryDeltaFinal": {
      "Value": 0
    },
    "AS_ElementAbnormalPowerRequire": {
      "Value": 100
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "ParamName": "AS_ElementMysteryDeltaFinal",
        "Expression": "(property(ElementAbnormalPower_Battle)-specials(AS_ElementAbnormalPowerRequire))*specials(AS_ElementMysteryDeltaBase)",
        "Predicates": [
          {
            "Val1": "%AS_ElementAbnormalPowerRequire",
            "$type": "ByPlayerPropertyValue",
            "Numerator": "ElementAbnormalPower_Battle",
            "CompareType": "GreaterEqual",
            "IsUsePercent": false
          }
        ]
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "ModifierName": "ElementMysteryDeltaModifier"
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByGameContextType",
            "GameType": "StreamingGame",
            "SubGameType": "All"
          }
        ],
        "FailureActions": [
          {
            "$type": "SetAbilitySpecialAction",
            "Param": 0,
            "ParamName": "AS_RecoverSabreCD_Real",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "ParamName": "AS_RecoverSabreCD_Real",
            "ValueType": "Float",
            "Expression": "scenevar(AS_RecoverSabreCD_Real)"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": "%AS_RecoverSabreCD_Real",
            "ParamName": "AS_RecoverSabreCD_Cache",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 0,
            "ParamName": "AS_RecoverSabreCD_Real",
            "ParamType": "Float",
            "CompareType": "LessEqual"
          },
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "FailureActions": [
          {
            "$type": "ApplyModifier",
            "Target": "Self",
            "ModifierName": "SmoothDecreaseCDModifier"
          }
        ],
        "SuccessActions": [
          {
            "$type": "ModifyProperty",
            "Amount": "%AS_RecoverSabre_OnAdded",
            "PropertyType": "Custom",
            "CustomPropertyType": "SabreCounts",
            "PropertyModifyFunction": "Add"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": "%AS_RecoverSabreCD",
            "ParamName": "AS_RecoverSabreCD_Real",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": "%AS_RecoverSabreCD",
            "ParamName": "AS_RecoverSabreCD_Cache",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          },
          {
            "$type": "ApplyModifier",
            "Target": "Self",
            "ModifierName": "SmoothDecreaseCDModifier"
          }
        ]
      }
    ],
    "OnTeamAvatarConstructed": [
      {
        "$type": "RemoveModifier",
        "Target": "TeamAvatars",
        "ModifierName": "DisorderListenModifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "ModifierName": "DisorderListenModifier"
      }
    ]
  }
}
format
json
displayName
Alice_MathSkill