mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 17:15:25 +01:00
earlyport cleave exploit fix
if ya can't poke them ya don't get to slash either
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
continue
|
||||
if(!SM.Adjacent(user) || !SM.Adjacent(target)) // Cleaving only hits mobs near the target mob and user.
|
||||
continue
|
||||
if(!attack_can_reach(user, SM, 1))
|
||||
continue
|
||||
if(resolve_attackby(SM, user, attack_modifier = 0.5)) // Hit them with the weapon. This won't cause recursive cleaving due to the cleaving variable being set to true.
|
||||
hit_mobs++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user