Various improvements to sounds
- Added several new sounds, mostly for ice spells - Added automatic registering of sound events - Finally fixed the frost ray and wall of frost sounds - Removed a few unused sound files
This commit is contained in:
@@ -27,6 +27,7 @@ public class FireBreath extends SpellRay {
|
||||
this.particleJitter(0.3);
|
||||
this.particleSpacing(0.25);
|
||||
addProperties(DAMAGE, BURN_DURATION);
|
||||
this.soundValues(3f, 1, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -25,7 +25,7 @@ public class FlameRay extends SpellRay {
|
||||
this.particleVelocity(1);
|
||||
this.particleSpacing(0.5);
|
||||
addProperties(DAMAGE, BURN_DURATION);
|
||||
this.soundValues(1.5f, 1, 0);
|
||||
this.soundValues(2.5f, 1, 0);
|
||||
}
|
||||
|
||||
// The following three methods serve as a good example of how to implement continuous spell sounds (hint: it's easy)
|
||||
|
||||
@@ -23,7 +23,7 @@ public class IceAge extends Spell {
|
||||
|
||||
public IceAge(){
|
||||
super("ice_age", SpellActions.POINT_DOWN, false);
|
||||
this.soundValues(0.7f, 1.0f, 0);
|
||||
this.soundValues(1.5f, 1.0f, 0);
|
||||
addProperties(EFFECT_RADIUS, EFFECT_DURATION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user