Ghost

Game resources

Device EtherGather DamageControl

game_resourceIntrinsic/flexbuffers-json/Device_EtherGather_DamageControl

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Device_EtherGather_DamageControl.json
data
{
  "Modifiers": {
    "DamageControlModifier": {
      "Duration": -1,
      "OnHitOther": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "PropertyKey": "Actor_EnableLastKill",
          "PropertyValue": 1
        },
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Target",
          "PropertyKey": "Actor_AddedDamageReplace",
          "PropertyValue": "%DamageValue"
        }
      ],
      "OnHitOtherPre": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Target",
              "IsLocalAvatar": true
            }
          ],
          "FailureActions": [
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByEntityType",
                  "Target": "Target",
                  "EntityType": "Monster"
                }
              ],
              "FailureActions": [
                {
                  "$type": "SetAbilitySpecialAction",
                  "Param": 100,
                  "ParamName": "DamageValue",
                  "ParamType": "Float",
                  "ModifyFunction": "Replace"
                }
              ],
              "SuccessActions": [
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Target",
                  "DoRefresh": true,
                  "ParamName": "DamageValue",
                  "ValueType": "Float",
                  "Expression": "specials(NormalPercentage)*property(MaxHP)",
                  "Predicates": [
                    {
                      "$type": "ByMonsterStrengthType",
                      "Target": "Target",
                      "CompareType": "Equal",
                      "StrengthType": "Normal"
                    }
                  ]
                },
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Target",
                  "DoRefresh": true,
                  "ParamName": "DamageValue",
                  "ValueType": "Float",
                  "Expression": "specials(ElitePercentage)*property(MaxHP)",
                  "Predicates": [
                    {
                      "$type": "ByMonsterStrengthType",
                      "Target": "Target",
                      "CompareType": "Equal",
                      "StrengthType": "Elite"
                    }
                  ]
                },
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Target",
                  "DoRefresh": true,
                  "ParamName": "DamageValue",
                  "ValueType": "Float",
                  "Expression": "specials(BossPercentage)*property(MaxHP)",
                  "Predicates": [
                    {
                      "$type": "ByMonsterStrengthType",
                      "Target": "Target",
                      "CompareType": "Equal",
                      "StrengthType": "Boss"
                    }
                  ]
                }
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "Target": "Target",
              "DoRefresh": true,
              "ParamName": "DamageValue",
              "ValueType": "Float",
              "Expression": "specials(PlayerPercentage)*property(MaxHP)"
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Device_EtherGather_DamageControl",
  "AbilitySpecials": {
    "DamageValue": {
      "Value": 0
    },
    "BossPercentage": {
      "Value": 0.01
    },
    "ElitePercentage": {
      "Value": 0.05
    },
    "NormalPercentage": {
      "Value": 0.2
    },
    "PlayerPercentage": {
      "Value": 0.1
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "DamageControlModifier"
      }
    ]
  }
}
format
json
displayName
Device_EtherGather_DamageControl