MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE_STACKING troubles

is this works? when I use MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE all is ok but STACKING don't work here's item:

  "item_custom_focusing_lens"
  {
    "ID"           "2021"
    "BaseClass"    "item_datadriven"
    "AbilityTextureName" "focusing_lens"
    "Model"        "models/props_gameplay/red_box.vmdl"
    "Effect"       "particles/generic_gameplay/dropped_item.vpcf"
    "ItemQuality"  "epic"
    "AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE"

    "ItemCost"     "2000"
    "ItemKillable" "1"
    "ItemSellable" "1"
    "ItemPurchasable" "1"
    "ItemDroppable" "1"
    "ItemShareability" "ITEM_NOT_SHAREABLE"

    "ItemStackable" "0"
    "ItemDisassembleRule" "DOTA_ITEM_DISASSEMBLE_NEVER"


    "AbilitySpecial"
    {
      "01"
      {
          "var_type"  "FIELD_FLOAT"
          "cooldown" "10"
      }
    }
    "Modifiers"
    {
      "focusing_lens_custom_modifier"
      {
        "IsBuff"  "1"
        "IsHidden"  "1"
        "Passive" "1"
        "Attributes" "MODIFIER_ATTRIBUTE_MULTIPLE" //This makes duplicate items stack their properties
        "Properties"
        {
          "MODIFIER_PROPERTY_COOLDOWN_PERCENTAGE_STACKING"  "%cooldown"
        }
      }
    }
  }

Comments

  • Heya, did you ever find a solution to this? Running into the same problem.