Quote:
Originally Posted by Jobe00
foreach pick in hero from BaseWep where "Helper.Finesse"
eachpick.field[manDisarm].field[manCMD].value += field[abValue].value
eachpick.field[manSunder].field[manCMD].value += field[abValue].value
nexteach[/code]
|
Ah ok. manDisarm is a Total Level Thing. Sorry best I can think of to describe it. There is not a specific manDisarm for Each Weapon. Also you can never have a field of a field. You can have a field of a child but never a field of a field.
So it goes
Hero_Character.Child_Thing.Child_Field.Value_of_ field Hope that makes sense.
So you have a Disarm Value on your Character or Hero not on each weapon.
So what you want is simply:
Code:
hero.child[manDisarm].field[manCMD].value += field[abValue].value
hero.child[manSunder].field[manCMD].value += field[abValue].value
And totally remove the whole "
ForEach" loop you have around them. As there is never more than one
manDisarm on a hero.
Hope that helps.