Difference between revisions of "GetWeaponArmorPenetration"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
 
m (looks okay, removing tag)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetWeaponArmorPenetration
 
|name=GetWeaponArmorPenetration
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=object
 
|param2type=object
 
|param2name=oTarget
 
|param2name=oTarget
 
|param2desc=the target of the attack
 
|param2desc=the target of the attack
 +
|param2default=
 
|param3type=int
 
|param3type=int
 
|param3name=nRightHandWeapon
 
|param3name=nRightHandWeapon
 
|param3desc=TRUE by default, set to FALSE to return the left hand weapon value
 
|param3desc=TRUE by default, set to FALSE to return the left hand weapon value
 +
|param3default=TRUE
 
|returntype=float
 
|returntype=float
 
|returndesc=Returns the Weapon Armor Penetration from the combat interaction data of oAttacker
 
|returndesc=Returns the Weapon Armor Penetration from the combat interaction data of oAttacker
Line 28: Line 30:
 
<!-- 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. -->
[[GetWeaponArmorPenetration]]
+
 
 
[[Category: Spells and combat functions]]
 
[[Category: Spells and combat functions]]

Latest revision as of 19:07, 24 February 2010

This function gets the Weapon Armor Penetration from the Combat Interaction data on oAttacker

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

Returns the Weapon Armor Penetration from the combat interaction data of oAttacker

Source:

script.ldf

Description

This function gets the Weapon Armor Penetration from the Combat Interaction data on oAttacker