Given this "AbilitySpecial" block in the ability:
There are 2 functions to connect these with:
GetLevelSpecialValueFor. Both are applied over an ability.
The first one will get the value for the current level of the ability.
The second one will get the value for the specified level of the ability
The first one is the most common and should be used every time, unless you need the value for a specific level.
Note the use of
(ability:GetLevel() - 1) as the second parameter (which tells the script which level to take). This is needed because ability levels are 1-indexed but
GetLevelSpecialValueFor is 0-indexed.