mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
This commit is contained in:
@@ -290,9 +290,8 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
creature->SetMaxHealth(100 + 30*lvl);
|
||||
creature->SetHealth(100 + 30*lvl);
|
||||
creature->SetLevel(lvl);
|
||||
creature->UpdateLevelDependantStats();
|
||||
creature->SaveToDB();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user