Re: How do I??
Code:
StatisticsValue statEffect = spell.TargetEffectValue;
You cannot assign one float value to a whole structure. Do it like this
Code:
StatisticsValue statEffect = new StatisticsValue();
statEffect.SomeVariable = spell.TargetEffectValue;
If you want to multiply every float in a class with a value, try this
Code:
foreach(float f in spell)
f = (f * ARCmodifier);
Last edited by dahwan; September 12th, 2008 at 06:12 PM.
Please vote the posts you find usefull.
---
I'm back
Bigger and badder
Better and bolder
Explaining stuff -
With an improved vocabulary!