v0.3.0c: refactored plants to match the structure of new traps.
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
package com.shatteredpixel.shatteredpixeldungeon.plants;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.Char;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Fire;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.blobs.Freezing;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.potions.PotionOfFrost;
|
||||
@@ -39,8 +38,7 @@ public class Icecap extends Plant {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void activate( Char ch ) {
|
||||
super.activate( ch );
|
||||
public void activate() {
|
||||
|
||||
PathFinder.buildDistanceMap( pos, BArray.not( Level.losBlocking, null ), 1 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user