v0.9.3: Yog's fists are now immune to sleep
This commit is contained in:
parent
d4bbaaf688
commit
1559aab6d9
|
@ -35,6 +35,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Cripple;
|
|||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Light;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Ooze;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Roots;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Sleep;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.LeafParticle;
|
||||
|
@ -150,6 +151,10 @@ public abstract class YogFist extends Mob {
|
|||
return Random.NormalIntRange(0, 15);
|
||||
}
|
||||
|
||||
{
|
||||
immunities.add( Sleep.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String description() {
|
||||
return Messages.get(YogFist.class, "desc") + "\n\n" + Messages.get(this, "desc");
|
||||
|
|
Loading…
Reference in New Issue
Block a user