Screenshot, readme with image, fixed Method call

This commit is contained in:
WebLuke
2025-09-09 13:07:49 -06:00
parent ed83f72fe0
commit 58bc609fe6
3 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,8 @@
#### Features:
- Changes player size on initial creation, then changes their size as they level up through the first 15 levels to full size. Created for Azerothcore
# ![screenshot](grownup.png)
### This module currently requires:
- AzerothCore vX.X.X+

BIN
grownup.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

View File

@@ -24,7 +24,7 @@ public:
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Grown Up |rmodule.");
if (sConfigMgr->GetOption<bool>("GrownUp.Enable", true) && sConfigMgr->GetOption<bool>("GrownUp.LoginCheck", true))
{
uint8 level = player->getLevel();
uint8 level = player->GetLevel();
float newScale = 1.0f;
if (level < 5)
@@ -53,7 +53,7 @@ public:
{
if (sConfigMgr->GetOption<bool>("GrownUp.Enable", true))
{
uint8 newLevel = player->getLevel();
uint8 newLevel = player->GetLevel();
float newScale = 1.0f; // default full size
if (newLevel < 5)