mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
Bot Rework
This commit is contained in:
@@ -812,7 +812,7 @@ int32 Client::CalcSTR()
|
||||
|
||||
int32 Client::CalcSTA()
|
||||
{
|
||||
int32 val = m_pp.STA + itembonuses.STA + spellbonuses.STA + CalcAlcoholPhysicalEffect();;
|
||||
int32 val = m_pp.STA + itembonuses.STA + spellbonuses.STA + CalcAlcoholPhysicalEffect();
|
||||
int32 mod = aabonuses.STA;
|
||||
STA = val + mod;
|
||||
if (STA < 1) {
|
||||
@@ -827,7 +827,7 @@ int32 Client::CalcSTA()
|
||||
|
||||
int32 Client::CalcAGI()
|
||||
{
|
||||
int32 val = m_pp.AGI + itembonuses.AGI + spellbonuses.AGI - CalcAlcoholPhysicalEffect();;
|
||||
int32 val = m_pp.AGI + itembonuses.AGI + spellbonuses.AGI - CalcAlcoholPhysicalEffect();
|
||||
int32 mod = aabonuses.AGI;
|
||||
int32 str = GetSTR();
|
||||
//Encumbered penalty
|
||||
@@ -852,7 +852,7 @@ int32 Client::CalcAGI()
|
||||
|
||||
int32 Client::CalcDEX()
|
||||
{
|
||||
int32 val = m_pp.DEX + itembonuses.DEX + spellbonuses.DEX - CalcAlcoholPhysicalEffect();;
|
||||
int32 val = m_pp.DEX + itembonuses.DEX + spellbonuses.DEX - CalcAlcoholPhysicalEffect();
|
||||
int32 mod = aabonuses.DEX;
|
||||
DEX = val + mod;
|
||||
if (DEX < 1) {
|
||||
|
||||
Reference in New Issue
Block a user