Makes the mesmerize ability functionally consistent with its description. (#1404)

This commit is contained in:
QuiteLiterallyAnything
2025-04-13 15:07:40 -07:00
committed by GitHub
parent f5b33f12e1
commit 7be12d3c85

View File

@@ -40,7 +40,7 @@
to_chat(user, span_warning("You have no eyes with which to mesmerize."))
return FALSE
// Check: Eyes covered?
if(istype(user) && (user.is_eyes_covered() && level_current <= 3) || !isturf(user.loc))
if(istype(user) && (user.is_eyes_covered() && level_current < 3) || !isturf(user.loc))
user.balloon_alert(user, "your eyes are concealed from sight.")
return FALSE
return TRUE
@@ -81,7 +81,7 @@
owner.balloon_alert(owner, "you must be facing [current_target].")
return FALSE
// Target facing me? (On the floor, they're facing everyone)
if(((current_target.mobility_flags & MOBILITY_STAND) && !is_source_facing_target(current_target, owner) && level_current <= 5))
if(((current_target.mobility_flags & MOBILITY_STAND) && !is_source_facing_target(current_target, owner) && level_current < 5))
owner.balloon_alert(owner, "[current_target] must be facing you.")
return FALSE