Applying modifier to units
Well, I have a custom ability: sorry for bad formatting
My custom cvar command calls ToggleAbility method.
Toggling ability ON/OFF.
So ability applies to my hero only. Does ApplyDataDrivenModifier(caster, unit, modifier, nil) method seem like incorrect, or there i need more behaviors and targettypes for ability?