In Same Room

Added in v2.0.0.

Description

True when the target is in the same room as the caster. If the caster was spawned by the dungeon, the check uses the room that spawned it. Takes no arguments. The instance is resolved from the first player present in the caster's world, so this condition returns false in a dungeon world that currently holds no players, and it can resolve the wrong instance under One World Dungeons where several instances share a world.

Procedural only.

Examples

SameRoomPulse:
  Skills:
  - skill{s=SameRoomDamage} @EntitiesInRadius{r=10} ~onTimer:20
SameRoomDamage:
  TargetConditions:
  - insameroom{} true
  Skills:
  - damage{amount=5}

Damages only nearby entities that share the caster's room.

Aliases

  • sameroom
  • isr
Updated Aug 19, 2026