diff options
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r-- | src/game/Creature.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h index d19ee3635a1..57f7968e58d 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -82,8 +82,8 @@ struct CreatureInfo char* SubName; char* IconName; uint32 GossipMenuId; - uint32 minlevel; - uint32 maxlevel; + uint8 minlevel; + uint8 maxlevel; uint32 expansion; uint32 faction_A; uint32 faction_H; @@ -172,7 +172,7 @@ struct CreatureInfo // Defines base stats for creatures (used to calculate HP/mana/armor). struct CreatureBaseStats { - uint32 Level; + uint8 Level; uint8 Class; uint32 BaseHealth[MAX_CREATURE_BASE_HP]; uint32 BaseMana; @@ -199,7 +199,7 @@ struct CreatureBaseStats return uint32((BaseArmor * info->ModArmor) + 0.5f); } - static CreatureBaseStats const* GetBaseStats(uint32 level, uint8 unitClass); + static CreatureBaseStats const* GetBaseStats(uint8 level, uint8 unitClass); }; typedef std::vector<CreatureBaseStats> CreatureBaseStatsList; |