v2.5.1: fixed censer shop delay not working properly

This commit is contained in:
Evan Debenham
2024-09-12 13:47:08 -04:00
parent 168230b1ef
commit ece3e68f4b

View File

@@ -109,8 +109,8 @@ public class ChaoticCenser extends Trinket {
if (safeAreaDelay >= 0) {
for (Char ch : Actor.chars()) {
if (ch instanceof Shopkeeper
&& Dungeon.level.distance(target.pos, ch.pos) <= 5
&& new Ballistica(target.pos, ch.pos, Ballistica.STOP_SOLID).collisionPos == ch.pos) {
&& Dungeon.level.distance(target.pos, ch.pos) <= 6
&& new Ballistica(target.pos, ch.pos, Ballistica.PROJECTILE).collisionPos == ch.pos) {
int delay = Random.NormalIntRange(2, 8);
spend(delay);
safeAreaDelay -= delay;