View Single Post
Provos
Senior Member
 
Join Date: Mar 2011
Location: USA
Posts: 383

Old September 23rd, 2011, 11:13 PM
Me again.
I am having trouble with adding in some new materials for weapons and armor. I can adjust damage and weight with no problems but I cannot get the item costs to change. Here is my eval script
Code:
Phase First Priority 10000 index 1
~ Divide our weight by 2
    container.parent.field[gWeight].value /= 2


~ Reduce our damage by 1.
      container.parent.field[wDamBonus].value -= 1


~ Set our 'general cost' field to the items cost times 0.5
  container.child[gCustMagic].field[gCustCost].value *= 0.5
As always any help is appreciated
Provos is offline   #1 Reply With Quote