mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
fix some bad mobvore checks (#17528)
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
return FALSE
|
||||
if(is_incorporeal())
|
||||
return FALSE
|
||||
if(!target.allowmobvore && isanimal(src) && !ckey)
|
||||
return FALSE
|
||||
if(world.time <= target.slip_protect)
|
||||
return FALSE
|
||||
if(!(src.can_be_drop_pred && target.devourable && target.can_be_drop_prey)) //Make sure both of their prefs align with what we're gonna do.
|
||||
@@ -27,6 +29,8 @@
|
||||
return FALSE
|
||||
if(is_incorporeal())
|
||||
return FALSE
|
||||
if(!allowmobvore && isanimal(target) && !target.ckey)
|
||||
return FALSE
|
||||
if(world.time <= target.slip_protect)
|
||||
return FALSE
|
||||
if(!(target.can_be_drop_pred && src.devourable && src.can_be_drop_prey)) //Make sure both of their prefs align with what we're gonna do.
|
||||
|
||||
Reference in New Issue
Block a user