v3.0.0: fixed hallowed ground placing grass on plants
This commit is contained in:
@@ -160,7 +160,7 @@ public class HallowedGround extends TargetedClericSpell {
|
||||
}
|
||||
|
||||
int c = Dungeon.level.map[cell];
|
||||
if (c == Terrain.GRASS) {
|
||||
if (c == Terrain.GRASS && Dungeon.level.plants.get(c) == null) {
|
||||
if (Random.Int(chance) == 0) {
|
||||
if (!Regeneration.regenOn()
|
||||
|| (Dungeon.hero.buff(HallowedFurrowTracker.class) != null && Dungeon.hero.buff(HallowedFurrowTracker.class).count() > 5)){
|
||||
|
||||
Reference in New Issue
Block a user