mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Apex predator & predator senses locker fixes (#25797)
* Replica syndicate space suit sprites
* Revert "Replica syndicate space suit sprites"
This reverts commit 1fb5cf68ac.
* Apex predator now checks turf Z level
* Same fixes for predator senses
* Minor fixes
* More brackets
---------
Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
/datum/action/changeling/apex_predator/sting_action(mob/user)
|
||||
var/list/target_by_name = list()
|
||||
for(var/mob/living/carbon/human/possible_target as anything in GLOB.human_list)
|
||||
if(!possible_target.mind || possible_target.z != user.z)
|
||||
var/turf/target_turf = get_turf(possible_target)
|
||||
var/turf/user_turf = get_turf(user)
|
||||
if(!possible_target.mind || (target_turf.z != user_turf.z))
|
||||
continue
|
||||
target_by_name[possible_target.real_name] = possible_target
|
||||
|
||||
|
||||
@@ -280,7 +280,9 @@
|
||||
return A
|
||||
|
||||
/datum/spell/vampire/predator_senses/valid_target(mob/target, mob/user)
|
||||
return target.z == user.z && target.mind
|
||||
var/turf/target_turf = get_turf(target)
|
||||
var/turf/user_turf = get_turf(user)
|
||||
return target.mind && (target_turf.z == user_turf.z)
|
||||
|
||||
/datum/spell/vampire/predator_senses/cast(list/targets, mob/user)
|
||||
var/targets_by_name = list()
|
||||
|
||||
Reference in New Issue
Block a user