C# here
StatisticsValue is a struct of values (floats)
class Spell is defining some values that StaticsValue holds, the spell may have 1 or more values but not all of the values StatisticsValue holds.
StatisticsValue statEffect = spell.TargetEffectValue;
how do I multiply each of the values in the Spell by this value?
float ARCmodifier
something like
i = 0;
int total = spell.TargetEffectValue.count;
for (i = 1; i < total; i++)
{
statEffect * ARCmodifier;
}
I am doing it wrong - should I use a foreach??
I am still learning
