#Flask and Clarity regen Modifiers changed

1 messages · Page 1 of 1 (latest)

wind moat
#

Just adding "modifier_flask_healing" and "modifier_clarity_potion" worked until very recently. Now, adding those modifiers doesn't do anything but show the buff icon. Any idea why, or how to fix it?

round talon
#

just make them custom. they would be very simple modifiers

#

if you insist on using them though, you could try passing the values in the modifier kv.
works with some things, doesnt with others, just depends on how valve coded them

#

just make the key match what the special value key is.
an example for clarity:

unit:AddNewModifier(unit, nil, "modifier_clarity_potion", {duration = 10, mana_regen = 6})
wind moat
#

Yeah, that's true. I guess I'm mostly nervous that other items and modifiers changed. Is there a way to find out what was changed, or is it just 'did it break?' in typical Valve fashion.

round talon
#

you can see every patch in #bot-announcements , though you arent going to see meaningful information in a lot of cases

left gust
#

Either try what Dankbud said or apply those modifiers with abilities that have Flask and Clarity kvs

snow walrus
#

Dota IMBA has both remade, it's very straightforward to do