mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 22:56:37 +00:00
[Bug Fix] Fix issue with overflow on min/max hit dmg in npc scaling calculations (#3052)
* [Cleanup] Cleanup npc.cpp and npc scaling * fix issue with min/max damage overflows * formatting
This commit is contained in:
+2
-2
@@ -422,8 +422,8 @@ public:
|
||||
void SetAvoidanceRating(int32 d) { avoidance_rating = d;}
|
||||
int32 GetRawAC() const { return AC; }
|
||||
|
||||
float GetNPCStat(std::string stat);
|
||||
void ModifyNPCStat(std::string stat, std::string value);
|
||||
float GetNPCStat(const std::string& stat);
|
||||
void ModifyNPCStat(const std::string& stat, const std::string& value);
|
||||
virtual void SetLevel(uint8 in_level, bool command = false);
|
||||
|
||||
bool IsLDoNTrapped() const { return ldon_trapped; }
|
||||
|
||||
Reference in New Issue
Block a user