Skip to content

Commit

Permalink
fix: change mana shield limit (wrong uint16 to uint32) (opentibiabr#2952
Browse files Browse the repository at this point in the history
)
  • Loading branch information
LeoPetryx authored Oct 9, 2024
1 parent 6fbf533 commit da92674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/creatures/creature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,8 @@ class Creature : virtual public Thing, public SharedObject {
int32_t health = 1000;
int32_t healthMax = 1000;

uint16_t manaShield = 0;
uint16_t maxManaShield = 0;
uint32_t manaShield = 0;
uint32_t maxManaShield = 0;
int32_t varBuffs[BUFF_LAST + 1] = { 100, 100, 100 };

std::array<int32_t, COMBAT_COUNT> reflectPercent = { 0 };
Expand Down

0 comments on commit da92674

Please sign in to comment.