Support for three color lands

This commit is contained in:
Alessandro Coli
2019-03-30 15:59:44 +01:00
parent a9124743ef
commit 0a709a6cf4

View File

@@ -239,7 +239,7 @@ public class EventVisualizer extends IGameEventVisitor.Base<SoundEffectType> imp
if(resultSound == null && fullManaColorsLength >= 2) {
// three color land without sounds installed, or two color land
// lets try with two colored lands' sounds
// lets try
fullManaColors = fullManaColors.substring(0,2);
if (fullManaColors.contains("W") && (fullManaColors.contains("U")) && SoundSystem.instance.hasResource(SoundEffectType.WhiteBlueLand)) {
resultSound = SoundEffectType.WhiteBlueLand;