Way to make aura stick on unit for duration

Is there a way to make aura effect still be applied on the unit after it leaves aura AOE? Think like Omni Degen Aura that continues to slow for some time after unit moves away

Comments

  • Posts: 1,670

    Omni Degen Aura uses the default 0.5 sec aura stickiness I believe. Just use the datadriven modifier keyvalues:

    "Modifiers"
    {
        "modifier_name"
        {
            "Passive"           "1"
            "Aura"              "modifier_name_aura_effect"
            "Aura_Radius"       "%radius"
            "Aura_Teams"        "DOTA_UNIT_TARGET_TEAM_FRIENDLY"
            "Aura_Types"        "DOTA_UNIT_TARGET_HERO | DOTA_UNIT_TARGET_BASIC"
            "Aura_Flags"        "DOTA_UNIT_TARGET_FLAG_NONE"
            "Aura_ApplyToCaster" "1"
        }
        "modifier_name_aura_effect"
        {
            //Effect here
        }
    }
    

    The concept of Modding Community doesn't go well together with Competitive Business
    My Project Page || My GitHub Profile ||

  • Posts: 8

    Slow actually lingers for extra 2 seconds.
    So is there a way to do such?
    Now thinking on constantly checking if unit has aura modifier and reapply it for extra duration is it good?

  • Posts: 1,670

    Yeah just constantly apply a modifier with 2 second duration

    The concept of Modding Community doesn't go well together with Competitive Business
    My Project Page || My GitHub Profile ||