Difference between revisions of "Attribute Factor (CEffectDamage)"

From HIVE
Jump to navigation Jump to search
(Created page with "{{Documentation Template| name=Attribute Factor| fname=CEffectDamage.AttributeFactor[]| type=fixed array| desc=The bonus factor applied to the amount of damage dealt based on the...")
 
(added to doc category)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''''Attribute Factor''''' is a member array of [[Damage|CEffectDamage]].
 +
 +
==Documentation==
 
{{Documentation Template|
 
{{Documentation Template|
 
name=Attribute Factor|
 
name=Attribute Factor|
 
fname=CEffectDamage.AttributeFactor[]|
 
fname=CEffectDamage.AttributeFactor[]|
 
type=fixed array|
 
type=fixed array|
desc=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 description on the ''Total'' field in the [[Damage#Effect Tab|Effect tab]]. Damage modification from attribute bonuses are applied before armor reduction is considered.
+
desc=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 (CEffectDamage)|''Total'' field]]. Damage modification from attribute bonuses are applied before armor reduction is considered.
 +
}}
  
 
==Indices==
 
==Indices==
Line 16: 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