Ghost

Game resources

Pryce MathSkill

game_resourceIntrinsic/flexbuffers-json/Pryce_MathSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Pryce_MathSkill.json
data
{
  "Modifiers": {
    "Pryce_MathSkill_StunDelayModifier": {
      "OnAdded": [
        {
          "Tag": "Pryce_MathSkill_StunDestroyRecoverStop",
          "$type": "PushStunDestroyRecoverStopAction",
          "StopAmount": "%AS_StunDelayDuration",
          "Immediately": true
        }
      ],
      "Duration": "%AS_StunDelayDuration",
      "OnRemoved": [
        {
          "Tag": "Pryce_MathSkill_StunDestroyRecoverStop",
          "$type": "PopStunDestroyRecoverStopAction"
        }
      ],
      "ModifierStacking": "Replace"
    },
    "Pryce_MathSkill_CritDamageModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_AddedDamageRatio": "%AS_AddedDamageRatio_Math"
      },
      "ModifierStacking": "Unique"
    },
    "Pryce_MathSkill_SelfAnomalyModifier": {
      "Duration": "%AS_ExSPBuffDuration",
      "Properties": {
        "Actor_AddedElementAccumulationRatio": "%AS_AddedElementAccumulationRatio"
      },
      "ModifierStacking": "Refresh"
    },
    "Pryce_MathSkill_TeammateHitDispatcher": {
      "Duration": -1,
      "OnHitOther": [
        {
          "$type": "ApplyModifier",
          "Target": "Other",
          "ModifierName": "Pryce_MathSkill_EnemyStunDelayModifier"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Pryce_MathSkill_EnemyStunDelayModifier": {
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_StunDamageTakeModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_StunDelayModifier"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "GlobalUnique",
      "OnStunCreateActions": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_StunDamageTakeModifier"
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_StunDelayModifier_Control"
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_StunDelayModifier"
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_EnemyStunDelayModifier"
        }
      ],
      "OnStunDestroyActionsPre": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "Pryce_MathSkill_StunDelayModifier_Control"
        }
      ]
    },
    "Pryce_MathSkill_StunDamageTakeModifier": {
      "Duration": -1,
      "IsUnique": true,
      "Properties": {
        "Actor_StunDamageTakeRatio": "%AS_StunDamageTakeRatio_Real"
      },
      "ModifierStacking": "Unique"
    },
    "Pryce_MathSkill_SmoothDecreaseCDModifier": {
      "Duration": "%AS_RecoverSPCD",
      "ThinkInterval": 0.1,
      "ModifierMixins": [
        {
          "$type": "SmoothBlendAbilitySpecialMixin",
          "BlendTime": "%AS_RecoverSPCD_Cache",
          "BlendCurve": "Linear",
          "TargetValue": 0,
          "AbilitySpecial": "AS_RecoverSPCD_Real"
        }
      ],
      "OnThinkInterval": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 0,
              "ParamName": "AS_RecoverSPCD_Real",
              "ParamType": "Float",
              "CompareType": "LessEqual"
            }
          ],
          "ModifierName": "Pryce_MathSkill_SmoothDecreaseCDModifier"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Pryce_MathSkill_WindBuffDurationModifier": {
      "Duration": -1,
      "BuffRevises": [
        {
          "Params": [
            {
              "Name": "Duration",
              "Delta": "%AS_BuffAddDuration"
            }
          ],
          "GroupName": "Wind",
          "FilterType": "ByBuffGroup"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Pryce_MathSkill_StunDelayModifier_Control": {
      "Duration": 5,
      "DelayHandlers": [
        {
          "DelayTime": 1,
          "TimeUpActions": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "Pryce_MathSkill_StunDelayModifier"
            }
          ]
        }
      ],
      "ModifierStacking": "Replace"
    },
    "Pryce_MathSkill_WindConversionListenerModifier": {
      "Duration": -1,
      "ModifierStacking": "Unique",
      "OnBuffAddToOther": [
        {
          "$type": "ApplyModifier",
          "Target": "Other",
          "Predicates": [
            {
              "$type": "ByHandlingBuffGroup",
              "BuffGroupList": [
                "Wind"
              ]
            }
          ],
          "ModifierName": "Pryce_MathSkill_WindConversionDamageTakeModifier"
        }
      ],
      "OnBuffRemoveFromOther": [
        {
          "$type": "RemoveModifier",
          "Target": "Other",
          "Predicates": [
            {
              "$type": "ByHandlingBuffGroup",
              "BuffGroupList": [
                "Wind"
              ]
            }
          ],
          "ModifierName": "Pryce_MathSkill_WindConversionDamageTakeModifier"
        }
      ]
    },
    "Pryce_MathSkill_WindConversionDamageTakeModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_WindDirectDamageTakeRatio": "%AS_WindConversionRatioAdd"
      },
      "ModifierStacking": "GlobalUnique"
    }
  },
  "AbilityName": "Pryce_MathSkill",
  "AbilityMixins": [
    {
      "$type": "WatchEntityMixin",
      "EntityTypes": [
        "Avatar"
      ],
      "Relationships": [
        "Allied"
      ],
      "OnEntityAwaked": [
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "Pryce_MathSkill_WindConversionListenerModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "Predicates": [
            {
              "$type": "ByMathSkillSuccess"
            }
          ],
          "ModifierName": "Pryce_MathSkill_WindConversionListenerModifier"
        },
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "Pryce_MathSkill_TeammateHitDispatcher"
        },
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "Predicates": [
            {
              "$type": "ByMathSkillSuccess"
            }
          ],
          "ModifierName": "Pryce_MathSkill_TeammateHitDispatcher"
        },
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "Pryce_MathSkill_WindBuffDurationModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "Predicates": [
            {
              "$type": "ByMathSkillSuccess"
            }
          ],
          "ModifierName": "Pryce_MathSkill_WindBuffDurationModifier"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_RecoverSPCD": {
      "Value": 180,
      "ValueType": "Float"
    },
    "AS_BuffAddDuration": {
      "Value": 5,
      "ValueType": "Float"
    },
    "AS_RecoverSPAmount": {
      "Value": 60,
      "ValueType": "Float"
    },
    "AS_ExSPBuffDuration": {
      "Value": 10,
      "ValueType": "Float"
    },
    "AS_RecoverSPCD_Real": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_RecoverSPCD_Cache": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_StunDelayDuration": {
      "Value": 2,
      "ValueType": "Float"
    },
    "AS_StunDamageTakeRatio": {
      "Value": 0.3,
      "ValueType": "Float"
    },
    "AS_AddedDamageRatio_Math": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_WindConversionRatioAdd": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_StunDamageTakeRatio_Real": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_AddedDamageRatio_Math_Max": {
      "Value": 9999,
      "ValueType": "Float"
    },
    "AS_StunDamageTakeRatio_Extra": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_AddedDamageRatio_Math_Base": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_AddedElementAccumulationRatio": {
      "Value": 0.1,
      "ValueType": "Float"
    },
    "AS_AddedDamageRatio_Math_PerLevel": {
      "Value": 0,
      "ValueType": "Float"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByGameContextType",
            "GameType": "StreamingGame",
            "SubGameType": "All"
          }
        ],
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "FailureActions": [
          {
            "$type": "SetAbilitySpecialAction",
            "Param": 0,
            "ParamName": "AS_RecoverSPCD_Real",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "ParamName": "AS_RecoverSPCD_Real",
            "ValueType": "Float",
            "Expression": "scenevar(AS_RecoverSPCD_Real)"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": "%AS_RecoverSPCD_Real",
            "ParamName": "AS_RecoverSPCD_Cache",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 0,
            "ParamName": "AS_RecoverSPCD_Real",
            "ParamType": "Float",
            "CompareType": "LessEqual"
          }
        ],
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "FailureActions": [
          {
            "$type": "ApplyModifier",
            "Target": "Self",
            "ModifierName": "Pryce_MathSkill_SmoothDecreaseCDModifier"
          }
        ],
        "SuccessActions": [
          {
            "$type": "RecoverSPAction",
            "Amount": "%AS_RecoverSPAmount",
            "Target": "Caster"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": "%AS_RecoverSPCD",
            "ParamName": "AS_RecoverSPCD_Real",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": "%AS_RecoverSPCD",
            "ParamName": "AS_RecoverSPCD_Cache",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          },
          {
            "$type": "ApplyModifier",
            "Target": "Self",
            "ModifierName": "Pryce_MathSkill_SmoothDecreaseCDModifier"
          }
        ]
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": false,
        "ParamName": "AS_AddedDamageRatio_Math",
        "Expression": "min(specials(AS_AddedDamageRatio_Math_Max),specials(AS_AddedDamageRatio_Math_Base)+property(Level)*specials(AS_AddedDamageRatio_Math_PerLevel))"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "ModifierName": "Pryce_MathSkill_CritDamageModifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "ModifierName": "Pryce_MathSkill_WindConversionListenerModifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "ModifierName": "Pryce_MathSkill_WindBuffDurationModifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Pryce_MathSkill_TeammateHitDispatcher"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          }
        ],
        "ModifierName": "Pryce_MathSkill_TeammateHitDispatcher"
      },
      {
        "$type": "SendCustomEvent",
        "Target": "Self",
        "EventKey": "Pryce_RefreshStunDamageTakeRatio",
        "IsInstant": true
      }
    ],
    "OnRemoved": [
      {
        "$type": "RemoveModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Pryce_MathSkill_WindConversionListenerModifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Pryce_MathSkill_WindBuffDurationModifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Pryce_MathSkill_TeammateHitDispatcher"
      },
      {
        "$type": "RemoveModifier",
        "Target": "EnemyAlliedNoNeedEnterBattle",
        "ModifierName": "Pryce_MathSkill_WindConversionDamageTakeModifier",
        "ModifierTargetType": "GlobalAbility"
      },
      {
        "$type": "RemoveModifier",
        "Target": "EnemyAlliedNoNeedEnterBattle",
        "ModifierName": "Pryce_MathSkill_EnemyStunDelayModifier",
        "ModifierTargetType": "GlobalAbility"
      },
      {
        "$type": "RemoveModifier",
        "Target": "EnemyAlliedNoNeedEnterBattle",
        "ModifierName": "Pryce_MathSkill_StunDelayModifier_Control",
        "ModifierTargetType": "GlobalAbility"
      },
      {
        "$type": "RemoveModifier",
        "Target": "EnemyAlliedNoNeedEnterBattle",
        "ModifierName": "Pryce_MathSkill_StunDelayModifier",
        "ModifierTargetType": "GlobalAbility"
      },
      {
        "$type": "RemoveModifier",
        "Target": "EnemyAlliedNoNeedEnterBattle",
        "ModifierName": "Pryce_MathSkill_StunDamageTakeModifier",
        "ModifierTargetType": "GlobalAbility"
      }
    ],
    "OnSkillStart": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByMathSkillSuccess"
          },
          {
            "$type": "ByFromSkillType",
            "Target": "Self",
            "SkillType": "ExSp"
          }
        ],
        "ModifierName": "Pryce_MathSkill_SelfAnomalyModifier"
      }
    ],
    "OnCustomEventReceived": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": true,
        "ParamName": "AS_StunDamageTakeRatio_Real",
        "ValueType": "Float",
        "Expression": "specials(AS_StunDamageTakeRatio)+specials(AS_StunDamageTakeRatio_Extra)",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "Pryce_RefreshStunDamageTakeRatio"
          }
        ]
      }
    ]
  }
}
format
json
displayName
Pryce_MathSkill