mirror of
https://github.com/webluke/mod-grownup.git
synced 2026-01-13 01:08:39 +00:00
Screenshot, readme with image, fixed Method call
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
#### Features:
|
#### 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
|
- 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
|
||||||
|
|
||||||
|
# 
|
||||||
|
|
||||||
### This module currently requires:
|
### This module currently requires:
|
||||||
- AzerothCore vX.X.X+
|
- AzerothCore vX.X.X+
|
||||||
|
|
||||||
|
|||||||
BIN
grownup.png
Normal file
BIN
grownup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 610 KiB |
@@ -24,7 +24,7 @@ public:
|
|||||||
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Grown Up |rmodule.");
|
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))
|
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;
|
float newScale = 1.0f;
|
||||||
|
|
||||||
if (level < 5)
|
if (level < 5)
|
||||||
@@ -53,7 +53,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (sConfigMgr->GetOption<bool>("GrownUp.Enable", true))
|
if (sConfigMgr->GetOption<bool>("GrownUp.Enable", true))
|
||||||
{
|
{
|
||||||
uint8 newLevel = player->getLevel();
|
uint8 newLevel = player->GetLevel();
|
||||||
float newScale = 1.0f; // default full size
|
float newScale = 1.0f; // default full size
|
||||||
|
|
||||||
if (newLevel < 5)
|
if (newLevel < 5)
|
||||||
|
|||||||
Reference in New Issue
Block a user