Difference between revisions of "GetWeaponBaseDamage"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) m (remove self-link) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
{{dafunction | {{dafunction | ||
|name=GetWeaponBaseDamage | |name=GetWeaponBaseDamage | ||
| Line 6: | Line 5: | ||
|param1name=oAttacker | |param1name=oAttacker | ||
|param1desc=the creature whose combat interaction data we are querying | |param1desc=the creature whose combat interaction data we are querying | ||
| + | |param1default= | ||
|param2type=int | |param2type=int | ||
|param2name=nRightHandWeapon | |param2name=nRightHandWeapon | ||
|param2desc=TRUE by default, set to FALSE to return the left hand weapon value | |param2desc=TRUE by default, set to FALSE to return the left hand weapon value | ||
| + | |param2default=TRUE | ||
|returntype=int | |returntype=int | ||
|returndesc=Returns the Weapon Base Damage from the combat interaction data of oAttacker | |returndesc=Returns the Weapon Base Damage from the combat interaction data of oAttacker | ||
| Line 25: | 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. --> | ||
| − | + | ||
[[Category: Spells and combat functions]] | [[Category: Spells and combat functions]] | ||
Latest revision as of 17:44, 2 March 2010
This function gets the Weapon Base Damage from the Combat Interaction data on oAttacker
- 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