Difference between revisions of "Attribute Factor (CEffectDamage)"

From HIVE
Jump to navigation Jump to search
(added to doc category)
 
(One intermediate revision by one other user not shown)
Line 20: Line 20:
 
*''Robotic''
 
*''Robotic''
 
*''Structure''
 
*''Structure''
 +
 +
[[Category:StarCraft II]]
 +
[[Category:Data Editor]]
 +
[[Category:Reference]]
 +
[[Category:Documentation]]

Latest revision as of 19:19, 30 November 2010

Attribute Factor is a member array of CEffectDamage.

Documentation

Name
Attribute Factor
Fully-Qualified Name
CEffectDamage.AttributeFactor[]
Type
fixed array
Description
The bonus factor applied to the amount of damage dealt based on the target's attribute flags. Each attribute flag has its own independently-set factor. These bonuses are normalized such that a reported factor of 0 corresponds to an actual factor of 1. So for example, a bonus of 0.25 would increase damage by 25% (or equivalently, multiply the damage by 1.25), and a bonus of -25% would decrease damage by 25% (or equivalently, multiply the damage by 0.75). For information on how multiple bonuses are applied when the target meets the conditions for more than one bonus, see the documentation on the Total field. Damage modification from attribute bonuses are applied before armor reduction is considered.

Indices

  • Armored
  • Biological
  • Heroic
  • Hover
  • Light
  • Massive
  • Mechanical
  • Psionic
  • Robotic
  • Structure