Ghost

Game resources

Pheony AutoRebirth

game_resourceIntrinsic/flexbuffers-json/Pheony_AutoRebirth

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Pheony_AutoRebirth.json
data
{
  "Modifiers": {
    "Modifier_LockLife": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "LockLifePropertyMixin",
          "Priority": 0,
          "LockLifeTag": "Pheony_AutoRebirth",
          "DeltaLockList": [
            {
              "LockType": "Total",
              "LockValue": 1
            }
          ],
          "PerformBeHitEffect": true,
          "OnLifeLockedActions": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "Predicates": [
                {
                  "Tags": [
                    "Pheony_AutoRebirth"
                  ],
                  "$type": "ByLifeLockedTriggerTag",
                  "Target": "Self"
                }
              ],
              "ModifierName": "Modifier_AutoRebirthCheck"
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Modifier_RebirthCD": {
      "OnAdded": [
        {
          "$type": "ModifyProperty",
          "Amount": 0,
          "Target": "Self",
          "PropertyType": "Custom",
          "CustomPropertyType": "RebirthCount",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "Duration": "%AS_RebirthCD",
      "OnRemoved": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "Modifier_LockLife"
        },
        {
          "$type": "ModifyProperty",
          "Amount": 1,
          "Target": "Self",
          "PropertyType": "Custom",
          "CustomPropertyType": "RebirthCount",
          "PropertyModifyFunction": "Replace"
        }
      ],
      "ThinkInterval": 0.1,
      "ModifierMixins": [
        {
          "$type": "SmoothBlendAbilitySpecialMixin",
          "BlendTime": "%AS_RebirthCD_Cache",
          "BlendCurve": "Linear",
          "TargetValue": 0,
          "AbilitySpecial": "AS_RebirthCD_Real"
        }
      ],
      "OnThinkInterval": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 0,
              "ParamName": "AS_RebirthCD_Real",
              "ParamType": "Float",
              "CompareType": "LessEqual"
            }
          ],
          "ModifierName": "Modifier_RebirthCD"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Modifier_AutoRebirth": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_AutoRebirth_Dying",
          "ParamType": 2
        },
        {
          "$type": "RecoverHPAction",
          "Amount": 0,
          "Target": "Self",
          "Percentage": "%AS_ReviveHPRatio"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 0,
          "Target": "Self",
          "ParamName": "AS_AutoRebirthPending",
          "ParamType": "Integer",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": false,
          "Target": "Self",
          "ParamName": "AS_AutoRebirthSingle",
          "ParamType": "Boolean",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RebirthCD",
          "Target": "Self",
          "ParamName": "AS_RebirthCD_Real",
          "ParamType": "Float",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RebirthCD",
          "Target": "Self",
          "ParamName": "AS_RebirthCD_Cache",
          "ParamType": "Float",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "ModifierName": "Modifier_RebirthCD"
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_AutoRebirth_Dying",
          "ParamType": 2
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": false,
          "ParamName": "Bool_AutoRebirthSingle",
          "ParamType": 2
        }
      ],
      "Duration": 0.1,
      "ModifierStacking": "Replace"
    },
    "Modifier_AutoRebirthCheck": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByHasModifier",
              "Target": "Self",
              "OperatorType": "Not",
              "ModifierNameList": [
                "Modifier_RebirthCD"
              ]
            },
            {
              "$type": "ByAbilitySpecial",
              "Param": 0,
              "ParamName": "AS_AutoRebirthPending",
              "ParamType": "Integer",
              "CompareType": "Equal"
            }
          ],
          "FailureActions": [],
          "SuccessActions": [
            {
              "$type": "SetAnimCtrlerParamAction",
              "Target": "Self",
              "ParamName": "Trigger_FakeDying",
              "ParamType": 1
            },
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "Target": "Self",
              "ParamName": "AS_AutoRebirthPending",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            },
            {
              "$type": "SetAnimCtrlerParamAction",
              "Target": "Self",
              "BoolVal": true,
              "ParamName": "Bool_AutoRebirth_Dying",
              "ParamType": 2
            },
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByAliveAvatarCount",
                  "Count": 1,
                  "CompareType": "Equal"
                }
              ],
              "FailureActions": [
                {
                  "$type": "SetAbilitySpecialAction",
                  "Param": false,
                  "Target": "Self",
                  "ParamName": "AS_AutoRebirthSingle",
                  "ParamType": "Boolean",
                  "ModifyFunction": "Replace"
                },
                {
                  "$type": "SetAnimCtrlerParamAction",
                  "Target": "Self",
                  "BoolVal": false,
                  "ParamName": "Bool_AutoRebirthSingle",
                  "ParamType": 2
                }
              ],
              "SuccessActions": [
                {
                  "$type": "SetAbilitySpecialAction",
                  "Param": true,
                  "Target": "Self",
                  "ParamName": "AS_AutoRebirthSingle",
                  "ParamType": "Boolean",
                  "ModifyFunction": "Replace"
                },
                {
                  "$type": "SetAnimCtrlerParamAction",
                  "Target": "Self",
                  "BoolVal": true,
                  "ParamName": "Bool_AutoRebirthSingle",
                  "ParamType": 2
                }
              ]
            }
          ]
        }
      ],
      "Duration": 0.1,
      "ModifierStacking": "Replace"
    },
    "Modifier_FakeDying_Ethereal": {
      "OnAdded": [
        {
          "Tag": "Pheony_ExQTE_Ethereal",
          "$type": "PushEtherealAction",
          "Target": "Self"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "Tag": "Pheony_ExQTE_Ethereal",
          "$type": "PopEtherealAction",
          "Target": "Self"
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Pheony_AutoRebirth",
  "AbilityMixins": [
    {
      "$type": "AttachStateWithModifierMixin",
      "ConfigList": [
        {
          "IsLoop": false,
          "LayerIndex": 0,
          "FrameCountLow": 0,
          "FrameCountHigh": 0,
          "MaxFrameCountLow": false,
          "ModifierNameList": [
            "Modifier_FakeDying_Ethereal",
            "Modifier_LockLife"
          ],
          "AnimatorStateName": "FakeDying",
          "MaxFrameCountHigh": true
        }
      ]
    },
    {
      "$type": "ActwithStateFrameMixin",
      "ConfigList": [
        {
          "Frame": 0,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByIsLocalAvatar",
                  "Target": "Self",
                  "IsLocalAvatar": true
                },
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 1,
                  "ParamName": "AS_AutoRebirthPending",
                  "ParamType": "Integer",
                  "CompareType": "Equal"
                }
              ],
              "ModifierName": "Modifier_AutoRebirth"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "AutoRebirth",
          "ForceTriggerOnTransitionIn": true,
          "ForceTriggerOnTransitionOut": false
        },
        {
          "Frame": 0,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByIsLocalAvatar",
                  "Target": "Self",
                  "IsLocalAvatar": true
                },
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 1,
                  "ParamName": "AS_AutoRebirthPending",
                  "ParamType": "Integer",
                  "CompareType": "Equal"
                }
              ],
              "ModifierName": "Modifier_AutoRebirth"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "Idle",
          "ForceTriggerOnTransitionIn": true,
          "ForceTriggerOnTransitionOut": false
        },
        {
          "Frame": 0,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByIsLocalAvatar",
                  "Target": "Self",
                  "IsLocalAvatar": true
                },
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 1,
                  "ParamName": "AS_AutoRebirthPending",
                  "ParamType": "Integer",
                  "CompareType": "Equal"
                }
              ],
              "ModifierName": "Modifier_AutoRebirth"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "SwitchIn_Attack",
          "ForceTriggerOnTransitionIn": true,
          "ForceTriggerOnTransitionOut": false
        },
        {
          "Frame": 0,
          "IsLoop": false,
          "ActionList": [
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "Predicates": [
                {
                  "$type": "ByIsLocalAvatar",
                  "Target": "Self",
                  "IsLocalAvatar": true
                },
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 1,
                  "ParamName": "AS_AutoRebirthPending",
                  "ParamType": "Integer",
                  "CompareType": "Equal"
                }
              ],
              "ModifierName": "Modifier_AutoRebirth"
            }
          ],
          "LayerIndex": 0,
          "AnimatorStateName": "SwitchIn_Attack_Ex",
          "ForceTriggerOnTransitionIn": true,
          "ForceTriggerOnTransitionOut": false
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_RebirthCD": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_ReviveHPRatio": {
      "Value": 0.3,
      "ValueType": "Float"
    },
    "AS_RebirthCD_Real": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_RebirthCD_Cache": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_AutoRebirthSingle": {
      "Value": false,
      "ValueType": "Boolean"
    },
    "AS_AutoRebirthPending": {
      "Value": 0,
      "ValueType": "Integer"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByGameContextType",
            "GameType": "StreamingGame",
            "SubGameType": "All"
          }
        ],
        "FailureActions": [
          {
            "$type": "SetAbilitySpecialAction",
            "Param": 0,
            "ParamName": "AS_RebirthCD_Real",
            "ParamType": "Float",
            "ModifyFunction": "Replace"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": 0,
            "Target": "Self",
            "ParamName": "AS_AutoRebirthPending",
            "ParamType": "Integer",
            "ModifyFunction": "Replace"
          },
          {
            "$type": "ModifyProperty",
            "Amount": 1,
            "Target": "Self",
            "PropertyType": "Custom",
            "CustomPropertyType": "RebirthCount",
            "PropertyModifyFunction": "Replace"
          },
          {
            "$type": "SetAnimCtrlerParamAction",
            "Target": "Self",
            "BoolVal": false,
            "ParamName": "Bool_AutoRebirth_Dying",
            "ParamType": 2
          },
          {
            "$type": "ApplyModifier",
            "Target": "Self",
            "ModifierName": "Modifier_LockLife"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "ParamName": "AS_AutoRebirthPending",
            "ValueType": "Integer",
            "Expression": "scenevar(AS_AutoRebirthPending)"
          },
          {
            "$type": "SetAbilitySpecialByExpression",
            "Target": "Self",
            "ParamName": "AS_RebirthCD_Real",
            "ValueType": "Float",
            "Expression": "scenevar(AS_RebirthCD_Real)"
          },
          {
            "$type": "BranchOperator",
            "Conditions": [
              {
                "$type": "ByAbilitySpecial",
                "Param": 1,
                "ParamName": "AS_AutoRebirthPending",
                "ParamType": "Integer",
                "CompareType": "Equal"
              }
            ],
            "FailureActions": [
              {
                "$type": "BranchOperator",
                "Conditions": [
                  {
                    "$type": "ByAbilitySpecial",
                    "Param": 0,
                    "ParamName": "AS_RebirthCD_Real",
                    "ParamType": "Float",
                    "CompareType": "LessEqual"
                  }
                ],
                "FailureActions": [
                  {
                    "$type": "ModifyProperty",
                    "Amount": 0,
                    "Target": "Self",
                    "PropertyType": "Custom",
                    "CustomPropertyType": "RebirthCount",
                    "PropertyModifyFunction": "Replace"
                  },
                  {
                    "$type": "SetAbilitySpecialAction",
                    "Param": "%AS_RebirthCD_Real",
                    "ParamName": "AS_RebirthCD_Cache",
                    "ParamType": "Float",
                    "ModifyFunction": "Replace"
                  },
                  {
                    "$type": "ApplyModifier",
                    "Target": "Self",
                    "ModifierName": "Modifier_RebirthCD"
                  }
                ],
                "SuccessActions": [
                  {
                    "$type": "ApplyModifier",
                    "Target": "Self",
                    "ModifierName": "Modifier_LockLife"
                  },
                  {
                    "$type": "ModifyProperty",
                    "Amount": 1,
                    "Target": "Self",
                    "PropertyType": "Custom",
                    "CustomPropertyType": "RebirthCount",
                    "PropertyModifyFunction": "Replace"
                  }
                ]
              }
            ],
            "SuccessActions": [
              {
                "$type": "ApplyModifier",
                "Target": "Self",
                "Predicates": [
                  {
                    "$type": "ByIsLocalAvatar",
                    "Target": "Self",
                    "IsLocalAvatar": true
                  }
                ],
                "ModifierName": "Modifier_AutoRebirth"
              },
              {
                "$type": "SetAnimCtrlerParamAction",
                "Target": "Self",
                "BoolVal": true,
                "ParamName": "Bool_AutoRebirth_Dying",
                "ParamType": 2,
                "Predicates": [
                  {
                    "$type": "ByIsLocalAvatar",
                    "Target": "Self",
                    "IsLocalAvatar": false
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}
format
json
displayName
Pheony_AutoRebirth