Added SFX for Dark Wizard (#467)

-Adds block sound and attack sound for wizards
This commit is contained in:
Olivier
2020-12-30 19:02:09 -08:00
committed by GitHub
parent 108af403d8
commit 6bbf8f1b09
@@ -57,6 +57,10 @@ public class CombatSounds {
|| npc.contains("monk") || npc.contains("thief")) { || npc.contains("monk") || npc.contains("thief")) {
return 417; return 417;
} }
if (npc.contains("wizard"))
{
return 1002;
}
if (npc.contains("guard") || npc.contains("farmer")) if (npc.contains("guard") || npc.contains("farmer"))
return 403; return 403;
return Misc.random(6) > 3 ? 398 : 394; return Misc.random(6) > 3 ? 398 : 394;
@@ -105,7 +109,7 @@ public class CombatSounds {
if (npc.contains("man") && !npc.contains("woman")) { if (npc.contains("man") && !npc.contains("woman")) {
return 816; return 816;
} }
if (npc.contains("monk") || npc.contains("guard") || npc.contains("farmer") || npc.contains("thief") || npc.contains("druid")){ if (npc.contains("monk") || npc.contains("guard") || npc.contains("farmer") || npc.contains("thief") || npc.contains("druid") || npc.contains("wizard")){
return 816; return 816;
} }
if (!npc.contains("man") && npc.contains("woman")) { if (!npc.contains("man") && npc.contains("woman")) {