From 82c68f7ac154bc1a247ec888ec63c9ae2302a41e Mon Sep 17 00:00:00 2001 From: SatinIsle Date: Mon, 8 Apr 2024 13:03:43 +0100 Subject: [PATCH] Update scrubble.dm --- .../living/simple_mob/subtypes/vore/scrubble.dm | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm b/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm index 79e7e6d9f60..799c674c10a 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/scrubble.dm @@ -37,6 +37,7 @@ vore_default_mode = DM_DIGEST vore_pounce_maxhealth = 1000 vore_bump_emote = "pounces on" + vore_pounce_falloff = 0 //Always eat someone at full health /mob/living/simple_mob/vore/scrubble/init_vore() ..() @@ -114,19 +115,6 @@ step_away(holder, target, 7) ai_log("flee_from_target() : Exiting.", AI_LOG_DEBUG) -/mob/living/simple_mob/vore/scrubble/CanPounceTarget(var/mob/living/M) //returns either FALSE or a %chance of success - if(!M.canmove || issilicon(M) || world.time < vore_pounce_cooldown) //eliminate situations where pouncing CANNOT happen - return FALSE - if(!prob(vore_pounce_chance) || !will_eat(M)) //mob doesn't want to pounce - return FALSE - if(vore_standing_too) //100% chance of hitting people we can eat on the spot - return 100 - var/TargetHealthPercent = (M.health/M.getMaxHealth())*100 //now we start looking at the target itself - if (TargetHealthPercent > vore_pounce_maxhealth) //target is too healthy to pounce - return FALSE - else - return 100 //Changed for scrubbles, they will pounce someone at full health. - /datum/ai_holder/simple_mob/hostile/scrubble/find_target(list/possible_targets, has_targets_list) if(!isanimal(holder)) //Only simplemobs have the vars we need return ..()