GetWeaponArmorPenetration

From Dragon Age Toolset Wiki
Jump to: navigation, search

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