View Single Post
  #5  
Old 01-17-2008, 05:01 PM
bman654 bman654 is offline
Approved Member
 
Join Date: Jan 2008
Posts: 226
Default

Look in ApplyAttackToDetachment() at the variable randomisedCasualties. This appears to be the damage done to the unit. Note: damage is health and each unit has 15 little guys and each of those little guys has health. So "15" damage may only mean 1 little guy dies.

But anyway, there is a for() loop near the end of the function that goes from 0 to randomisedCasualties and applies the damage to the unit. Just before this for() loop, try multiplying randomisedCasualties by 5 and it should have the effect you want.
Reply With Quote