#ability update plus hide

1 messages · Page 1 of 1 (latest)

mint venture
#

how i can hide this plus button to upgrade ability?

formal wedge
#

You mean you don't want the ability to be leveled up by the player but still have levels?

#

get any ability you want and set up them in the file "npc_abilities_custom", the only kv you need to change is AbilityBehavior and add this in addition to any other behavior it already have: DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE

#

Another way that is a bit safer is instead of changing the behavior, you just set up the kv RequiredLevel to 99. So the ability will not be leveled up until the hero get to level 99, you can set this level to any number.

This is safer in case you haven't code your own ability but is modifing a default ability. If a dota update ever change the ability behavior, your file will override it and it could break the ability.