Commit 796213d2 authored by AL's avatar AL

blur final??

parent b14c340c
......@@ -144,7 +144,7 @@ int CombatManager::ProcessInput(Keyboard::Event in_event) //why does it return
}
//if (in_event.GetCode() == 'T') //for testing
//{
// CM::PendScenario(CM::Scenario::GhoulRage);
// CM::PendScenario(CM::Scenario::Strike);
//}
//if (in_event.GetCode() == 'Y') //for testing
//{
......@@ -498,6 +498,7 @@ void CombatManager::HandleEvent(SkillEvent ev)
CM::PendScenario(CM::Scenario::GhoulAttack);
else
CM::PendScenario(CM::Scenario::GhoulAttackBlock);
BlurManager::AddBlur(0.5f);
}
else
{
......
......@@ -7,6 +7,7 @@
#include "AchievementManager.h"
#include "SceneLight.h"
#include "CameraManager.h"
#include "BlurManager.h"
class Ghoul_Bite : public Skill
{
......@@ -76,6 +77,7 @@ public:
dynamic_cast<EnemyCombat*>(owner)->SetState(EnemyCombat::State::GhoulRage);
SL::PendDistortion(SL::LightDistortionType::RednessBoost);
CM::PendScenario(CM::Scenario::GhoulRage);
BlurManager::AddBlur(1.4f);
}
};
class Ghoul_Tear : public Skill
......
#include "Skills0.h"
#include "CameraManager.h"
#include "SceneLight.h"
#include "BlurManager.h"
DustThrow::DustThrow(CombatEntity* owner) : Skill(owner)
{
......@@ -49,6 +50,7 @@ void SandsOfTime::Activate()
{
SPI::Play(Sounds::SandsOfTime, 1.0f, 0.4f);
owner->AddEvent(SkillEvent(EventType::Player_AddSpeed, valLow, valHigh));
BlurManager::AddBlur(0.2f);
}
void SandsOfTime::Upgrade()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment