Skip to content

Commit

Permalink
Creature: Add proper mage str formula
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Apr 28, 2024
1 parent 2614198 commit 14cc30e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/Entities/StatSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,9 @@ void Creature::UpdateAttackPowerAndDamage(bool ranged)
{
switch (getClass())
{
case CLASS_MAGE:
val2 = GetStat(STAT_STRENGTH) - 10.0f;
break;
case CLASS_ROGUE:
val2 = (GetStat(STAT_STRENGTH) - 10.0f) + GetStat(STAT_AGILITY);
break;
Expand Down

0 comments on commit 14cc30e

Please sign in to comment.