Difference between revisions of "GetWeaponBaseDamage"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(looks okay, removing tag)
m (remove self-link)
 
Line 26: Line 26:
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
  
== See also ==
+
<!-- == See also == -->
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
[[GetWeaponBaseDamage]]
+
 
 
[[Category: Spells and combat functions]]
 
[[Category: Spells and combat functions]]

Latest revision as of 18:44, 2 March 2010

This function gets the Weapon Base Damage from the Combat Interaction data on oAttacker

int GetWeaponBaseDamage(
object oAttacker,
int nRightHandWeapon = TRUE
);
Parameters:
oAttacker
the creature whose combat interaction data we are querying
nRightHandWeapon
TRUE by default, set to FALSE to return the left hand weapon value
Returns:

Returns the Weapon Base Damage from the combat interaction data of oAttacker

Source:

script.ldf

Description

This function gets the Weapon Base Damage from the Combat Interaction data on oAttacker