Phase fixes (#7484)

This commit is contained in:
Guti
2024-01-01 02:13:13 +01:00
committed by GitHub
parent a79e1ba798
commit f32a21f36b
20 changed files with 54 additions and 17 deletions

View File

@@ -17,7 +17,7 @@
user.face_atom(A)
if(ismob(A) && user.aiming)
user.aiming.aim_at(A, src)
if(!isliving(A))
if(!isliving(A) || A.is_incorporeal()) // CHOMPEdit - Phase out can't be targetted when phased
return 0
return 1
return 0
return 0