Ghost

Game resources

AbyssS2ThirdLoop Norano PartnerSkill

game_resourceIntrinsic/flexbuffers-json/AbyssS2ThirdLoop_Norano_PartnerSkill

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/AbyssS2ThirdLoop_Norano_PartnerSkill.json
data
{
  "Modifiers": {
    "ResetModifier": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarTeamIndex",
              "Target": "Self",
              "TeamIndex": 1
            },
            {
              "$type": "ByAliveState",
              "Target": "Self",
              "AliveState": "Alive"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_Player1_ResetHP",
              "ValueType": "Float",
              "Expression": "specials(AS_ResetToHPPercentage)-specials(AS_Player1_HPPercentage)"
            },
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 0,
                  "Target": "Self",
                  "ParamName": "AS_Player1_ResetHP",
                  "ParamType": "Float",
                  "CompareType": "GreaterEqual"
                }
              ],
              "FailureActions": [
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "DoRefresh": true,
                  "ParamName": "AS_Player1_ResetHP",
                  "ValueType": "Float",
                  "Expression": "specials(AS_Player1_ResetHP)*(-1)"
                },
                {
                  "$type": "DecreaseHPAction",
                  "Percentage": "%AS_Player1_ResetHP",
                  "IgnoreInvincible": true
                }
              ],
              "SuccessActions": [
                {
                  "$type": "RecoverHPAction",
                  "Percentage": "%AS_Player1_ResetHP"
                }
              ]
            }
          ]
        },
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarTeamIndex",
              "Target": "Self",
              "TeamIndex": 2
            },
            {
              "$type": "ByAliveState",
              "Target": "Self",
              "AliveState": "Alive"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_Player2_ResetHP",
              "ValueType": "Float",
              "Expression": "specials(AS_ResetToHPPercentage)-specials(AS_Player2_HPPercentage)"
            },
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 0,
                  "Target": "Self",
                  "ParamName": "AS_Player2_ResetHP",
                  "ParamType": "Float",
                  "CompareType": "GreaterEqual"
                }
              ],
              "FailureActions": [
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "DoRefresh": true,
                  "ParamName": "AS_Player2_ResetHP",
                  "ValueType": "Float",
                  "Expression": "specials(AS_Player2_ResetHP)*(-1)"
                },
                {
                  "$type": "DecreaseHPAction",
                  "Percentage": "%AS_Player2_ResetHP",
                  "IgnoreInvincible": true
                }
              ],
              "SuccessActions": [
                {
                  "$type": "RecoverHPAction",
                  "Percentage": "%AS_Player2_ResetHP",
                  "ExcludeRecoverStats": true
                }
              ]
            }
          ]
        },
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarTeamIndex",
              "Target": "Self",
              "TeamIndex": 3
            },
            {
              "$type": "ByAliveState",
              "Target": "Self",
              "AliveState": "Alive"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_Player3_ResetHP",
              "ValueType": "Float",
              "Expression": "specials(AS_ResetToHPPercentage)-specials(AS_Player3_HPPercentage)"
            },
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 0,
                  "Target": "Self",
                  "ParamName": "AS_Player3_ResetHP",
                  "ParamType": "Float",
                  "CompareType": "GreaterEqual"
                }
              ],
              "FailureActions": [
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "DoRefresh": true,
                  "ParamName": "AS_Player3_ResetHP",
                  "ValueType": "Float",
                  "Expression": "specials(AS_Player3_ResetHP)*(-1)"
                },
                {
                  "$type": "DecreaseHPAction",
                  "Percentage": "%AS_Player3_ResetHP",
                  "IgnoreInvincible": true
                }
              ],
              "SuccessActions": [
                {
                  "$type": "RecoverHPAction",
                  "Percentage": "%AS_Player3_ResetHP",
                  "ExcludeRecoverStats": true
                }
              ]
            }
          ]
        }
      ],
      "Duration": 3,
      "ModifierStacking": "Replace"
    },
    "IndexCheckModifier": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarTeamIndex",
              "Target": "Self",
              "TeamIndex": 1
            },
            {
              "$type": "ByAliveState",
              "Target": "Self",
              "AliveState": "Alive"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_Player1_HPPercentage",
              "ValueType": "Float",
              "Expression": "property(CurHP)/property(MaxHP)"
            },
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_TeamHPPercentage",
              "ValueType": "Float",
              "Expression": "specials(AS_TeamHPPercentage)+specials(AS_Player1_HPPercentage)"
            },
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_Player1_Valid",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            }
          ]
        },
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarTeamIndex",
              "Target": "Self",
              "TeamIndex": 2
            },
            {
              "$type": "ByAliveState",
              "Target": "Self",
              "AliveState": "Alive"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_Player2_HPPercentage",
              "ValueType": "Float",
              "Expression": "property(CurHP)/property(MaxHP)"
            },
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_TeamHPPercentage",
              "ValueType": "Float",
              "Expression": "specials(AS_TeamHPPercentage)+specials(AS_Player2_HPPercentage)"
            },
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_Player2_Valid",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            }
          ]
        },
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAvatarTeamIndex",
              "Target": "Self",
              "TeamIndex": 3
            },
            {
              "$type": "ByAliveState",
              "Target": "Self",
              "AliveState": "Alive"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_Player3_HPPercentage",
              "ValueType": "Float",
              "Expression": "property(CurHP)/property(MaxHP)"
            },
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Self",
              "DoRefresh": true,
              "ParamName": "AS_TeamHPPercentage",
              "ValueType": "Float",
              "Expression": "specials(AS_TeamHPPercentage)+specials(AS_Player3_HPPercentage)"
            },
            {
              "$type": "SetAbilitySpecialAction",
              "Param": 1,
              "ParamName": "AS_Player3_Valid",
              "ParamType": "Integer",
              "ModifyFunction": "Replace"
            }
          ]
        }
      ],
      "Duration": 5,
      "ModifierStacking": "Replace"
    },
    "Listen_TeamAvatar_HP": {
      "Duration": -1,
      "ThinkInterval": 1,
      "OnThinkInterval": [
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "Energy_UP_Ratio",
          "ValueType": "Float",
          "Expression": "(1-(property(CurHP)/property(MaxHP)))*specials(AS_HPToEnergy)",
          "Predicates": [
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Self",
              "IsLocalAvatar": true
            }
          ]
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "Energy_Recover_Amount_Final",
          "Expression": "specials(AS_Energy_Recover_Bytime)*(1+specials(Energy_UP_Ratio))",
          "Predicates": [
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Self",
              "IsLocalAvatar": true
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    },
    "PartnerSkillEnergy_Rcover": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "SmoothChangePropertyMixin",
          "PropertyItems": [
            {
              "Amount": "%Energy_Recover_Amount_Final",
              "PropertyType": "Custom",
              "CustomPropertyType": "Abyss_PartnerSkillEnergy",
              "PropertyModifyFunction": "Add"
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    },
    "CritDMGModifier_Norano_PartnerSkill": {
      "Duration": "%Duration",
      "OnRemoved": [
        {
          "$type": "TriggerAbilityAction",
          "Target": "PartnerAvatars",
          "AbilityName": "AbyssS2ThirdLoop_Norano_PartnerSkill_Level2"
        },
        {
          "$type": "TriggerAbilityAction",
          "Target": "PartnerAvatars",
          "AbilityName": "AbyssS2ThirdLoop_Norano_PartnerSkill_Level4"
        }
      ],
      "Properties": {
        "Actor_CriticalDamageRatioDelta": "%AS_CritDamageRatioDelta"
      },
      "ModifierStacking": "Refresh"
    }
  },
  "AbilityName": "AbyssS2ThirdLoop_Norano_PartnerSkill",
  "AbilitySpecials": {
    "Duration": {
      "Value": 30
    },
    "AS_HPToEnergy": {
      "Value": 1
    },
    "Energy_UP_Ratio": {
      "Value": 0.1
    },
    "AS_Player1_Valid": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_Player2_Valid": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_Player3_Valid": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_RecoverHPTotal": {
      "Value": 0.25
    },
    "AS_Player1_ResetHP": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_Player2_ResetHP": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_Player3_ResetHP": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_TeamHPPercentage": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_ResetToHPPercentage": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_CritDamageRatioDelta": {
      "Value": 0.5
    },
    "AS_Player1_HPPercentage": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_Player2_HPPercentage": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_Player3_HPPercentage": {
      "Value": 0,
      "ValueType": "Float"
    },
    "AS_Energy_Recover_Bytime": {
      "Value": 2.5
    },
    "AS_Energy_Recover_Initial": {
      "Value": 75
    },
    "Energy_Recover_Amount_Final": {
      "Value": 4
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ModifyProperty",
        "Amount": "%AS_Energy_Recover_Initial",
        "Target": "PartnerAvatars",
        "Percentage": 0,
        "Predicates": [
          {
            "$type": "ByEntityTemplateID",
            "Target": "PartnerAvatars",
            "EntityType": "Avatar",
            "TemplateID": 1441
          }
        ],
        "PropertyType": "Custom",
        "IsUsePercentage": false,
        "CustomPropertyType": "Abyss_PartnerSkillEnergy",
        "PropertyModifyFunction": "Add"
      }
    ],
    "OnBattleExit": [
      {
        "$type": "RemoveModifier",
        "Target": "Self",
        "ModifierName": "PartnerSkillEnergy_Rcover"
      },
      {
        "$type": "RemoveModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Listen_TeamAvatar_HP"
      }
    ],
    "OnBattleEnter": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "PartnerSkillEnergy_Rcover"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "Listen_TeamAvatar_HP"
      }
    ],
    "OnAbyssThirdLoopPartnerStart": [
      {
        "$type": "SetAbilitySpecialAction",
        "Param": 0,
        "ParamName": "AS_Player1_Valid",
        "ParamType": "Integer",
        "ModifyFunction": "Replace"
      },
      {
        "$type": "SetAbilitySpecialAction",
        "Param": 0,
        "ParamName": "AS_Player2_Valid",
        "ParamType": "Integer",
        "ModifyFunction": "Replace"
      },
      {
        "$type": "SetAbilitySpecialAction",
        "Param": 0,
        "ParamName": "AS_Player3_Valid",
        "ParamType": "Integer",
        "ModifyFunction": "Replace"
      },
      {
        "$type": "SetAbilitySpecialAction",
        "Param": 0,
        "ParamName": "AS_TeamHPPercentage",
        "ParamType": "Integer",
        "ModifyFunction": "Replace"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "IndexCheckModifier"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "AS_ResetToHPPercentage",
        "ValueType": "Float",
        "Expression": "specials(AS_TeamHPPercentage)/(specials(AS_Player1_Valid)+specials(AS_Player2_Valid)+specials(AS_Player3_Valid))"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "MpExecMode": "NotExecuted",
        "ModifierName": "ResetModifier"
      },
      {
        "$type": "RecoverHPAction",
        "Target": "TeamAvatars",
        "Percentage": "%AS_RecoverHPTotal"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "CritDMGModifier_Norano_PartnerSkill"
      }
    ]
  }
}
format
json
displayName
AbyssS2ThirdLoop_Norano_PartnerSkill