Add sound effect for Mark Target ability. Release Build 10303.

mac-build
sigonasr2 4 months ago
parent 47319a99f8
commit 8903410848
  1. 5
      Adventures in Lestoria/Monster.cpp
  2. 2
      Adventures in Lestoria/Trapper.cpp
  3. 2
      Adventures in Lestoria/Version.h
  4. 12
      Adventures in Lestoria/assets/config/audio/events.txt
  5. BIN
      Adventures in Lestoria/assets/sounds/lockon.ogg
  6. BIN
      x64/Release/Adventures in Lestoria.exe

@ -1256,7 +1256,10 @@ void Monster::ApplyMark(float time,uint8_t stackCount){
break; break;
} }
} }
}else AddBuff(BuffType::TRAPPER_MARK,time,stackCount); }else{
AddBuff(BuffType::TRAPPER_MARK,time,stackCount);
SoundEffect::PlaySFX("Lock On",GetPos());
}
markApplicationTimer=0.5f; markApplicationTimer=0.5f;
} }

@ -84,7 +84,7 @@ void Trapper::InitializeClassAbilities(){
#pragma region Trapper Right-click Ability (Sprint) #pragma region Trapper Right-click Ability (Sprint)
Trapper::rightClickAbility.action= Trapper::rightClickAbility.action=
[](Player*p,vf2d pos={}){ [](Player*p,vf2d pos={}){
SoundEffect::PlaySFX("Adrenaline Rush",SoundEffect::CENTERED); SoundEffect::PlaySFX("Sprint",SoundEffect::CENTERED);
p->AddBuff(BuffType::SPEEDBOOST,"Trapper.Right Click Ability.Movement Speed Buff"_f[1],"Trapper.Right Click Ability.Movement Speed Buff"_f[0]/100.f); p->AddBuff(BuffType::SPEEDBOOST,"Trapper.Right Click Ability.Movement Speed Buff"_f[1],"Trapper.Right Click Ability.Movement Speed Buff"_f[0]/100.f);
for(int i:std::ranges::iota_view(0,50)){ for(int i:std::ranges::iota_view(0,50)){
float size{util::random_range(0.4f,0.8f)}; float size{util::random_range(0.4f,0.8f)};

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 2 #define VERSION_MINOR 2
#define VERSION_PATCH 3 #define VERSION_PATCH 3
#define VERSION_BUILD 10302 #define VERSION_BUILD 10303
#define stringify(a) stringify_(a) #define stringify(a) stringify_(a)
#define stringify_(a) #a #define stringify_(a) #a

@ -156,6 +156,12 @@ Events
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%) # Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
File[0] = levelup.ogg, 100% File[0] = levelup.ogg, 100%
} }
Lock On
{
CombatSound = True
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
File[0] = lockon.ogg, 100%
}
Menu Navigate Menu Navigate
{ {
# Muted for now. # Muted for now.
@ -300,6 +306,12 @@ Events
File[1] = slime_walk2.ogg, 10% File[1] = slime_walk2.ogg, 10%
File[2] = slime_walk3.ogg, 10% File[2] = slime_walk3.ogg, 10%
} }
Sprint
{
CombatSound = True
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
File[0] = adrenaline_rush.ogg, 60%, 110%, 130%
}
Stone Land Stone Land
{ {
CombatSound = True CombatSound = True

Loading…
Cancel
Save