v3.0.0: fixed hallowed ground placing grass on plants

This commit is contained in:
Evan Debenham
2025-01-15 14:19:13 -05:00
parent 86cf0ad29b
commit 034f7897c8

View File

@@ -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)){