mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #13317 from Very-Soft/kob
Makes AI not flee while in a tummy
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
if(can_flee)
|
||||
if(special_flee_check())
|
||||
return TRUE
|
||||
if(isbelly(holder.loc)) //VOREStation Add - Don't flee while you're in a tummy, silly
|
||||
return FALSE //VOREStation Add
|
||||
if(!hostile && !retaliate)
|
||||
return TRUE // We're not hostile and someone attacked us first.
|
||||
if(flee_when_dying && (holder.health / holder.getMaxHealth()) <= dying_threshold)
|
||||
|
||||
Reference in New Issue
Block a user