V0.2.1 : Corrected errors in new Stench blob.
This commit is contained in:
parent
41707f3db7
commit
3d19573f66
|
@ -37,5 +37,4 @@ public class StenchGas extends Blob {
|
|||
public String tileDesc() {
|
||||
return "A cloud of fetid stench is swirling here.";
|
||||
}
|
||||
} {
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue
Block a user