Fix equipment upgrade tests, left them in by accident. Added kill amount achievements. Release Build 8530.
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user