Ability data 2da

From Dragon Age Toolset Wiki
Jump to: navigation, search

The ability_data 2da defines [Undocumented].

The 2da is defined as an m2da in the M2DA_base 2da and has an ID of 189. It can be extended by m2da fragments which have names starting with ability_data. It can also be referenced in scripting using the TABLE_ABILITY_DATA constant defined in 2da_constants_h.

Structure

Column Type Description
ID int A number that uniquely identifies the entry (unless creating an M2DA override). ID numbers are listed from smallest to highest within a given file but do not need to be consecutive.
Label comment [Undocumented]
bHostileint int [Undocumented]
effectImpact int [Undocumented]
effectResisted int [Undocumented]
effectDuration float
  • 0.0 - instant
  • positive - temporary
  • negative - permanent
dmg_function int [Undocumented]
dmg_param0 float [Undocumented]
dmg_param1 int [Undocumented]
dmg_type int See the damagetypes 2da and the DAMAGE_TYPE_* constants:
  • 0 - invalid
  • 1 - physical
  • 2 - fire
  • 3 - cold
  • 4 - electricity
  • 5 - poison
  • 6 - lethal
  • 7 - TBD
dmg_flags int See the DAMAGE_EFFECT_FLAG_* constants:
  • 0x00000000 - none
  • 0x00000001 - critical hit
  • 0x00000002 - death blow
  • 0x00000004 - update gore on attacker
  • 0x00000008 - leech 50% health back to attacker
  • 0x00000010 - leech 75% health back to attacker
  • 0x00000020 - leech 100% health back to attacker
  • 0x00000040 - leech mana instead of health