Bot Rework

This commit is contained in:
nytmyr
2024-04-26 22:38:56 -05:00
parent b92eafd21b
commit 32e37660d8
95 changed files with 15921 additions and 3953 deletions
+3 -3
View File
@@ -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) {