Dota 2 Wiki

Automatic generation of the "restricted by roots" table[]

The table regarding "restricted by leash" abilities is currently automatically generated using the following parameters:

"| where = rootdisables IS NOT NULL AND game IS NULL"

This currently fetches mobility/teleportation abilities which are fully castable & usable despite being leashed (such as Abyssal Blade, Hawk’s Dive Bomb & Aghs Echo Stomp), which it should not.

It should only fetch spells which are either fully prevented by leash and those which are castable but use an altered behaviour while leashed (Pangolier’s Shield Crash, Puck’s Wanning Rift & Ursa’s Earthshock).

It should instead search for abilities that use rootdisables "yes" or "partially" (currently not asignable to roots, only yes/no/NULL are accepted).

Those special spells (Pangolier, Ursa, Puck) should use "partially" instead of "no" regarding the leash restriction, similar to how spells have a partial spell immunity flag.TheZett (talk) 23:31, 25 March 2021 (UTC)


I’ve updated the table generation parameters to only search for "yes" and "partially" (currently unused, should be used for Ursa, Puck, Pangolier).

This removes abilities from the table which are definitely castable while rooted/leashed (such as Abyssal, Roll Up, Dive Bomb).TheZett (talk) 23:43, 25 March 2021 (UTC)


I’ve updated the acceptable parameters for "rootdisables" to accept "partially" as well and added a proper symbol.

The "disabled by roots" table should now only list spells which are either fully ("yes") or partially restricted by leash.TheZett (talk) 00:32, 26 March 2021 (UTC)