fix
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
/mob/living/carbon/check_unarmed_parry_activation_special()
|
||||
return ..() && length(get_empty_held_indexes())
|
||||
@@ -34,7 +34,7 @@
|
||||
data = mind.martial_art.block_parry_data
|
||||
method = MARTIAL_PARRY
|
||||
tool = mind.martial_art
|
||||
else if(combat_flags & COMBAT_FLAG_UNARMED_PARRY)
|
||||
else if((combat_flags & COMBAT_FLAG_UNARMED_PARRY) && check_unarmed_parry_activation_special())
|
||||
data = block_parry_data
|
||||
method = UNARMED_PARRY
|
||||
tool = src
|
||||
@@ -93,6 +93,12 @@
|
||||
if(I.can_active_parry())
|
||||
return I
|
||||
|
||||
/**
|
||||
* Check if we can unarmed parry
|
||||
*/
|
||||
/mob/living/proc/check_unarmed_parry_activation_special()
|
||||
return TRUE
|
||||
|
||||
/**
|
||||
* Called via timer when the parry sequence ends.
|
||||
*/
|
||||
|
||||
@@ -2392,6 +2392,7 @@
|
||||
#include "code\modules\mob\living\brain\say.dm"
|
||||
#include "code\modules\mob\living\brain\status_procs.dm"
|
||||
#include "code\modules\mob\living\carbon\carbon.dm"
|
||||
#include "code\modules\mob\living\carbon\carbon_active_parry.dm"
|
||||
#include "code\modules\mob\living\carbon\carbon_defense.dm"
|
||||
#include "code\modules\mob\living\carbon\carbon_defines.dm"
|
||||
#include "code\modules\mob\living\carbon\carbon_movement.dm"
|
||||
|
||||
Reference in New Issue
Block a user