woo
This commit is contained in:
@@ -231,7 +231,7 @@
|
||||
if(!islist(determined))
|
||||
return BLOCK_NONE
|
||||
var/datum/block_parry_data/data = return_block_parry_datum(determined[2])
|
||||
if(!data.parry_automatic_enabled || (last_autoparry > (world.time + data.autoparry_cooldown_absolute)))
|
||||
if(!data.parry_automatic_enabled || (last_autoparry > (world.time - data.autoparry_cooldown_absolute)))
|
||||
return BLOCK_NONE
|
||||
if(attack_type && !(attack_type & data.parry_attack_types))
|
||||
return BLOCK_NONE
|
||||
|
||||
@@ -199,7 +199,7 @@ GLOBAL_LIST_EMPTY(block_parry_data)
|
||||
// Clickdelay/cooldown settings not included, as well as whether or not to lock attack/sprinting/etc. They will be pulled from the above.
|
||||
|
||||
/// ADVANCED - Autoparry requirement for time since last moused over for a specific object
|
||||
var/autoparry_mouse_delay_maximum = 0.5 SECONDS
|
||||
var/autoparry_mouse_delay_maximum = 0.35 SECONDS
|
||||
|
||||
/**
|
||||
* Quirky proc to get average of flags in list that are in attack_type because why is attack_type a flag.
|
||||
|
||||
Reference in New Issue
Block a user