Ghost

Game resources

NotoriousDeadEndButcher TurnBased SkillManager

game_resourceIntrinsic/flexbuffers-json/NotoriousDeadEndButcher_TurnBased_SkillManager

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/NotoriousDeadEndButcher_TurnBased_SkillManager.json
data
{
  "Modifiers": {
    "NotoriousDeadEndButcher_TurnBased_ExtraUnit_Modifier": {
      "OnAdded": [
        {
          "$type": "TurnBasedAddEntityExtraUnit",
          "ExistingTurnNumber": 9999,
          "AllowAppendAfterExtraUnit": false
        }
      ],
      "Duration": -1,
      "IsUnique": true,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "NotoriousDeadEndButcher_TurnBased_SkillManager",
  "AbilityMixins": [
    {
      "$type": "ActwithStateFrameMixin",
      "ConfigList": [
        {
          "Frame": 0,
          "ActionList": [
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 0,
              "ParamName": "AS_ExtraUnit",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            }
          ],
          "AnimatorStateName": "P1_Attack_01",
          "ForceTriggerOnTransitionIn": true
        },
        {
          "Frame": 0,
          "ActionList": [
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_ExtraUnit",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            },
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_SkillIndex",
              "ParamType": "Integer",
              "ModifyFunction": "Add"
            }
          ],
          "AnimatorStateName": "P1_Attack_05_01",
          "ForceTriggerOnTransitionIn": true
        },
        {
          "Frame": 0,
          "ActionList": [
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_ExtraUnit",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            },
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 0,
              "ParamName": "AS_SkillIndex",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            }
          ],
          "AnimatorStateName": "P1_Evade",
          "ForceTriggerOnTransitionIn": true
        },
        {
          "Frame": 0,
          "ActionList": [
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_ExtraUnit",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            }
          ],
          "AnimatorStateName": "P1_Attack_07_01",
          "ForceTriggerOnTransitionIn": true
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_ExtraUnit": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_SkillIndex": {
      "Value": 2,
      "ValueType": "Integer"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAttackLanded": [
      {
        "$type": "ApplyAbilityAction",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByNot",
            "Predicates": [
              {
                "$type": "ByAnimEventIDs",
                "AnimEventIDs": [
                  "Monster_TurnBased_NotoriousDeadEndButcher_Special_Attackproperty"
                ]
              }
            ]
          }
        ],
        "AbilityName": "NotoriousDeadEndButcher_TurnBased_Debuff",
        "IsAutoTrigger": true
      }
    ],
    "OnUnitTurnStarted": [
      {
        "$type": "ApplyModifier",
        "ModifierName": "NotoriousDeadEndButcher_TurnBased_ExtraUnit_Modifier"
      }
    ]
  },
  "OnAbilityTrigger": [
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 1,
          "ParamName": "AS_ExtraUnit",
          "ParamType": "Integer",
          "CompareType": "GreaterEqual"
        }
      ],
      "FailureActions": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAbilityTargetCount",
              "CompareType": "GreaterEqual",
              "CompareValue": 1,
              "AbilityTargetKey": "Monster_TurnBased_NotoriousDeadEndButcher_MaxDebuff"
            }
          ],
          "FailureActions": [
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 2,
                  "ParamName": "AS_SkillIndex",
                  "ParamType": "Integer",
                  "CompareType": "GreaterEqual"
                }
              ],
              "FailureActions": [
                {
                  "$type": "WriteAIParamAction",
                  "ParamName": "SkillIndex",
                  "IntParamValue": 1,
                  "ModifyFunction": "Replace"
                }
              ],
              "SuccessActions": [
                {
                  "$type": "WriteAIParamAction",
                  "ParamName": "SkillIndex",
                  "IntParamValue": 2,
                  "ModifyFunction": "Replace"
                }
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "WriteAIParamAction",
              "ParamName": "SkillIndex",
              "IntParamValue": 3,
              "ModifyFunction": "Replace"
            },
            {
              "$type": "SetAttackTargetBySpecificTargetAction",
              "ForceOverride": true,
              "NewLockTarget": "Custom",
              "NewLockTargetCustomKey": "Monster_TurnBased_NotoriousDeadEndButcher_MaxDebuff",
              "IgnoreSetAttackTargetCD": true
            }
          ]
        }
      ],
      "SuccessActions": [
        {
          "$type": "WriteAIParamAction",
          "ParamName": "SkillIndex",
          "IntParamValue": 0,
          "ModifyFunction": "Replace"
        }
      ]
    }
  ]
}
format
json
displayName
NotoriousDeadEndButcher_TurnBased_SkillManager