Dragon Age Wiki
Dragon Age Wiki
Line 1: Line 1:
 
==Source: melee distance mandatory; +3.5% crit chance per each enemy above 2==
 
==Source: melee distance mandatory; +3.5% crit chance per each enemy above 2==
The relevant script is:
+
The relevant script in Combat_h.nss is:
 
if (HasAbility(oAttacker, ABILITY_TALENT_BRAVERY))
 
if (HasAbility(oAttacker, ABILITY_TALENT_BRAVERY))
 
{
 
{

Revision as of 07:34, 25 March 2010

Source: melee distance mandatory; +3.5% crit chance per each enemy above 2

The relevant script in Combat_h.nss is:

if (HasAbility(oAttacker, ABILITY_TALENT_BRAVERY))
   {

       int nEnemies = Max(0,GetArraySize(GetCreaturesInMeleeRing(oAttacker,0.0, 359.99f,TRUE,0))-2);
       fCriticalHitModifier +=  nEnemies * 3.5f;

IN 07:31, March 25, 2010 (UTC)