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 ]

Talk:Statistics

From Project 1999 Wiki
Revision as of 09:21, 29 January 2019 by Caiu (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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) { bonusAdj = 35; } else if (GetLevel() < 20) { bonusAdj = 55; } else if (GetLevel() < 40) { bonusAdj = 70; }

if (GetAGI() < 200) { agiAvoidance = (2 * (bonusAdj - ((200 - GetAGI()) / 5))) / 3; } else { agiAvoidance = 2 * bonusAdj / 3; }