Spell required item must be given on level up #10 (#47)

This commit is contained in:
Antonio Faldetta
2024-06-20 21:55:15 +01:00
committed by GitHub
parent 723eca6c61
commit 0f83b9cc07

View File

@@ -16,6 +16,13 @@ public:
{
LearnSpellsForNewLevel(player, 1);
}
if (player->getClass() == CLASS_SHAMAN)
{
player->AddItem(5175, 1); // Earth Totem
player->AddItem(5176, 1); // Fire Totem
player->AddItem(5177, 1); // Water Totem
player->AddItem(5178, 1); // Air Totem
}
}
void OnLevelChanged(Player* player, uint8 oldLevel) override