|
|
|
@ -174,6 +174,7 @@ bool Crawler::OnUserCreate(){ |
|
|
|
|
Inventory::AddItem("Blue Slime Remains",22); |
|
|
|
|
|
|
|
|
|
LoadLevel(LEVEL_NAMES["starting_map"_S]); |
|
|
|
|
Inventory::AddItem("Blue Slime Remains",10); |
|
|
|
|
ChangePlayerClass(WARRIOR); |
|
|
|
|
|
|
|
|
|
GameState::Initialize(); |
|
|
|
@ -1303,6 +1304,8 @@ void Crawler::LoadLevel(MapName map){ |
|
|
|
|
totalDamageDealt=0; |
|
|
|
|
encounterStarted=false; |
|
|
|
|
totalBossEncounterMobs=0; |
|
|
|
|
Inventory::Clear("Monster Loot"); |
|
|
|
|
Inventory::Clear("Stage Loot"); |
|
|
|
|
|
|
|
|
|
#pragma region Monster Spawn Data Setup |
|
|
|
|
for(auto key:MAP_DATA[map].SpawnerData){ |
|
|
|
|