#Custom talents don't update the skill value (visual bug)
1 messages · Page 1 of 1 (latest)
Mine works fine (+3 duration talent)
You can start with posting your kv files at least. Without that you question is like "guys, i have bug. How to fix it?"
it doesn't work if you havem ultiple talents/facets attached to the same value
so for example if oyu have 2 duration increasing talents, neither will update
this mostly happens if you override default dota abilities, add a talent where there is none and valve later adds a talent for that kv
if this isn't the case check your kv, make sure its valid
that's how i have now(because of lua using an older method to read the value , but that can updated) , but it was written in many forms to test if it works
like :
"crit_chance" { "value" "2 2 3 4 5" "special_bonus_custom_pa_coup_de_grace_crit_chance" "5" }
and the talent too (empty with no value)
and "special_bonus_base" instead of "special_bonus_undefined" i think i changed them in almost all combinations
but idk about facet , but this is consistent , multiple custom skills with talents work but no visual update (im guessing is not facet because of multiple skills on same hero have same problem not only ones that might share name with facet)
is that a lua skill ?
btw this is the additional map i tested (after i could not fix on mine) and seem to have same problem (on different heroes , their talent do not update skill value visually but works )
yes it is
i have them both(skill and talent) written in npc_abilities_custom , is the same for you ? idk what is the difference
I only have talent ability in hero override, I didn't made lua and ability for talents
moved them both in npc_abilities_override , and tried different ways and still no result
so is not a custom lua ability ? like
"BaseClass" "ability_lua"
Talents - not
the vanila talents are fine for me too (even those skills that are modified)
you send old format of talents now you might use
"special_bonus_unique_<name>"
{
"BaseClass" "special_bonus_base"
"AbilityType" "DOTA_ABILITY_TYPE_BASIC"
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_PASSIVE | DOTA_ABILITY_BEHAVIOR_HIDDEN"
}
and then modify value or overwrite it with =
"crit_chance"
{
"value" "2 2 3 4 5"
"special_bonus_unique_<name>" "+5"
}
it HAS to be named special_bonus_unique
for talents at least
thats how dota knows to go look
yeah i was about to say that was the only thing i din't had
"special_bonus_unique" , i will rename and see
it being named special_bonus_custom instead is def the issue
if this is being applied to a vanilla skill tho, it still might not work