mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Laser pointers no longer make felinids phase through diagonal gaps (#29265)
* Laser pointers no longer make felinids phase through diagonal gaps * Update laserpointer.dm --------- Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com>
This commit is contained in:
@@ -277,7 +277,7 @@
|
||||
target_felinid.setDir(get_dir(target_felinid, targloc)) // kitty always looks at the light
|
||||
if(prob(effectchance * diode.rating))
|
||||
target_felinid.visible_message(span_warning("[target_felinid] makes a grab for the light!"), span_userdanger("LIGHT!"))
|
||||
target_felinid.Move(targloc, get_dir(target_felinid, targloc)) // SKYRAT EDIT: Fixes the felinid phazing bug. Remove this comment once fixed upstream
|
||||
target_felinid.Move(targloc, get_dir(target_felinid, targloc))
|
||||
log_combat(user, target_felinid, "moved with a laser pointer", src)
|
||||
else
|
||||
target_felinid.visible_message(span_notice("[target_felinid] looks briefly distracted by the light."), span_warning("You're briefly tempted by the shiny light..."))
|
||||
|
||||
Reference in New Issue
Block a user