This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Talk:Statistics"

From Project 1999 Wiki
Jump to: navigation, search
(Created page with "Classic Agi bonus from Torven of TAKP // note: modern EQ does this here: GetAGI() > 40 ? (GetAGI() - 40) * 8000 / 36000 : 0; // old clients had a different calculation. This...")
 
 
(14 intermediate revisions by one user not shown)
Line 1: Line 1:
Classic Agi bonus from Torven of TAKP
+
Removed this from DEX:
// note: modern EQ does this here: GetAGI() > 40 ? (GetAGI() - 40) * 8000 / 36000 : 0;
+
// old clients had a different calculation.  This is the precise output, based on a decompile done by Secrets
+
int agiAvoidance = 0;
+
if (GetAGI() < 40)
+
{
+
agiAvoidance = (25 * (GetAGI() - 40)) / 40;
+
}
+
else if (GetAGI() >= 60 && GetAGI() <= 74)
+
{
+
agiAvoidance = (2 * (28 - ((200 - GetAGI()) / 5))) / 3;
+
}
+
else if (GetAGI() >= 75)
+
{
+
int bonusAdj = 80;
+
  
if (GetLevel() < 7)
+
Affects: Concentration (resistance to spell interrupts),
{
+
bonusAdj = 35;
+
}
+
else if (GetLevel() < 20)
+
{
+
bonusAdj = 55;
+
}
+
else if (GetLevel() < 40)
+
{
+
bonusAdj = 70;
+
}
+
  
if (GetAGI() < 200)
+
There is no documentation anywhere that proves DEX affects Channeling.
{
+
agiAvoidance = (2 * (bonusAdj - ((200 - GetAGI()) / 5))) / 3;
+
}
+
else
+
{
+
agiAvoidance = 2 * bonusAdj / 3;
+
}
+

Latest revision as of 15:46, 4 October 2019

Removed this from DEX:

Affects: Concentration (resistance to spell interrupts),

There is no documentation anywhere that proves DEX affects Channeling.