mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Fixes target prioritization not working consistently due to not all mining mobs having ai_retaliate (#96655)
target prioritization makes use of retaliation, but not all mobs had it, now they do (should) 🆑 CabinetOnFire fix: All mining mobs now remember who hit them, so target prioritization works as intended /🆑
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
. = ..()
|
||||
|
||||
add_traits(list(TRAIT_SPACEWALK, TRAIT_SWIMMER, TRAIT_FENCE_CLIMBER, TRAIT_SNOWSTORM_IMMUNE), INNATE_TRAIT)
|
||||
AddElement(/datum/element/ai_retaliate)
|
||||
AddElement(/datum/element/swabable, CELL_LINE_TABLE_BEAR, CELL_VIRUS_TABLE_GENERIC_MOB, 1, 5)
|
||||
AddElement(/datum/element/change_force_on_death, move_force = MOVE_FORCE_DEFAULT, move_resist = MOVE_RESIST_DEFAULT, pull_force = PULL_FORCE_DEFAULT)
|
||||
AddElement(/datum/element/footstep, footstep_type = FOOTSTEP_MOB_CLAW)
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
ADD_TRAIT(src, TRAIT_WOUND_LICKER, INNATE_TRAIT)
|
||||
AddElement(/datum/element/footstep, FOOTSTEP_MOB_CLAW)
|
||||
AddElement(/datum/element/ai_flee_while_injured)
|
||||
AddElement(/datum/element/ai_retaliate)
|
||||
|
||||
if(can_tame)
|
||||
make_tameable()
|
||||
|
||||
Reference in New Issue
Block a user