V0.2.1 : Corrected errors in new Stench blob.

This commit is contained in:
Evan Debenham 2014-10-09 00:16:42 -04:00
parent 41707f3db7
commit 3d19573f66
2 changed files with 7 additions and 3 deletions

View File

@ -37,5 +37,4 @@ public class StenchGas extends Blob {
public String tileDesc() {
return "A cloud of fetid stench is swirling here.";
}
} {
}

View File

@ -101,7 +101,7 @@ public class Speck extends Image {
case TOXIC:
case PARALYSIS:
case DUST:
case STINK:
case STENCH:
frame( film.get( STEAM ) );
break;
default:
@ -283,7 +283,7 @@ public class Speck extends Image {
break;
case STENCH:
hardlight( 0x383825 );
hardlight( 0x002200 );
angularSpeed = -30;
angle = Random.Float( 360 );
lifespan = Random.Float( 1f, 3f );
@ -394,6 +394,11 @@ public class Speck extends Image {
scale.set( 1 + p * 2 );
break;
case STENCH:
am = (p < 0.5f ? p : 1 - p) * 2;
scale.set( 1 + p * 2 );
break;
case JET:
am = (p < 0.5f ? p : 1 - p) * 2;
scale.set( p * 1.5f );