[API] SetCustomAttributeDerivedStatValue( int nStatType, float flNewValue )

I found this API no longer works anymore. This API is used to set custom attribute bonus on Heroes such as HP per strength. Can anyone confirm this unavailable API or does anyone know if there is a substitution API can be used to set up? I really want the following effects: (1) Custom HP/HP regen/magical resist per Strength (2) Custom MP/MP regen/spell amp per Intelligence (3) Custom armor/attack speed/move speed per Agility

Thanks in advance!