Fix equipment upgrade tests, left them in by accident. Added kill amount achievements. Release Build 8530.

This commit is contained in:
2024-03-29 06:00:03 -05:00
parent 68e4934355
commit 21e0cd5b65
11 changed files with 85 additions and 15 deletions
+3
View File
@@ -47,6 +47,7 @@ All rights reserved.
#include "MonsterAttribute.h"
#include "ItemDrop.h"
#include "SoundEffect.h"
#include "Unlock.h"
INCLUDE_ANIMATION_DATA
INCLUDE_MONSTER_DATA
@@ -723,6 +724,8 @@ void Monster::OnDeath(){
}
}
Unlock::IncreaseKillCount();
if(hasStrategyDeathFunction){
GameEvent::AddEvent(std::make_unique<MonsterStrategyGameEvent>(strategyDeathFunc,*this,MONSTER_DATA[name].GetAIStrategy()));
}