EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Idea for some aa skills (https://www.eqemulator.org/forums/showthread.php?t=3074)

thoane 09-17-2002 10:40 AM

Idea for some aa skills
 
Some ideas for AA skills.

Combat fury !!

Code:

function callcritic($percentage)
{
// calculate the normal damage
$normaldamage = dealdamage();

// base is 2% chances to make a critic we add some more chance if aaxp
if( rand < (0.02 + (0.02 * ($percentage/100))) )
{
// critic do 2x damages
$damage = $normaldamage * 2
}

}



// main loop
if (class == 'warrior' && character.level >= '12') {
 // warriors got innate critics so 0% more chances
callcritic(0);
} elseif(aaxp.combatfury > 0) {
// call critic if char got aapts
/* skill at 1 : 5% more chances
skill at 2 : 10% more chances
skill at 3 : 15% more chances */
callcritic(aaxp.combatfury * 5)
}

I am lame at coding but maybe it can help someone ? ;)

Trumpcard 09-17-2002 11:40 AM

Are criticals not in yet?

Minuss 09-17-2002 05:24 PM

Yeah, criticals are in, but I don't think that aa rampage or criticals are working yet...


All times are GMT -4. The time now is 01:29 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.