All basic sound effects implemented.

This commit is contained in:
2024-01-09 06:42:09 -06:00
parent 8a1d8868c9
commit 3f4c714c42
17 changed files with 70 additions and 31 deletions
+2
View File
@@ -40,6 +40,7 @@ All rights reserved.
#include "AdventuresInLestoria.h"
#include "util.h"
#include "safemap.h"
#include "SoundEffect.h"
INCLUDE_game
INCLUDE_ANIMATION_DATA
@@ -69,6 +70,7 @@ bool PulsatingFire::Update(float fElapsedTime){
if(lastDamageTimer<=0){
lastDamageTimer="Wizard.Ability 3.FireRingDamageFreq"_F-0.01f;
game->HurtEnemies(pos,"Wizard.Ability 3.MeteorRadius"_F/100*24,int(game->GetPlayer()->GetAttack()*"Wizard.Ability 3.FireRingDamageMult"_F),OnUpperLevel(),0);
SoundEffect::PlaySFX("Wizard Meteor Flames",pos);
}
return Effect::Update(fElapsedTime);
}