Fixed ashdrakes being pushed (#63373)

Megafauna and such animals are not pushable if their move resist is greater than someone's move force. Them being shovable is an oversight.
This commit is contained in:
Watermelon914
2021-12-21 00:59:09 -08:00
committed by GitHub
parent f34a30a57a
commit 17677c6af4
2 changed files with 4 additions and 0 deletions
@@ -4,6 +4,8 @@
return TRUE
if(LAZYACCESS(modifiers, RIGHT_CLICK))
if(user.move_force < move_resist)
return
user.do_attack_animation(src, ATTACK_EFFECT_DISARM)
playsound(src, 'sound/weapons/thudswoosh.ogg', 50, TRUE, -1)
var/shove_dir = get_dir(user, src)