Just a quick tidbit. My syntax is incorrect for this, but idk what's wrong xD
Also, I need advice for efficiency. Statboost[0] needs to be a real because it varies from .1 to .3. However, Statboost[1] is converted to an integer anyways when it is added to a heroes stat. So should I just use an integer variable for Statboost[1]? Converting a real to an integer for statboost[0] would just be:
R2I(udg_StatBoost[0]) right?
set udg_StatBoost[1] = (GetHeroStr(udg_Hero[2], true) * (udg_StatBoost[0])
Also, I need advice for efficiency. Statboost[0] needs to be a real because it varies from .1 to .3. However, Statboost[1] is converted to an integer anyways when it is added to a heroes stat. So should I just use an integer variable for Statboost[1]? Converting a real to an integer for statboost[0] would just be:
R2I(udg_StatBoost[0]) right?
set udg_StatBoost[1] = (GetHeroStr(udg_Hero[2], true) * (udg_StatBoost[0])