implementations

This commit is contained in:
kevinz000
2020-05-24 14:56:01 -07:00
parent 9c08df761f
commit 95c6c7345c
10 changed files with 73 additions and 42 deletions
+3 -1
View File
@@ -125,8 +125,10 @@
if(!CHECK_MOBILITY(user, MOBILITY_STAND))
totitemdamage *= 0.5
//CIT CHANGES END HERE
if((user != src) && run_block(I, totitemdamage, "the [I.name]", ATTACK_TYPE_MELEE, I.armour_penetration, user) & BLOCK_SUCCESS)
var/list/block_return = list()
if((user != src) && run_block(I, totitemdamage, "the [I.name]", ATTACK_TYPE_MELEE, I.armour_penetration, user, return_list = block_return) & BLOCK_SUCCESS)
return FALSE
totitemdamage = block_calculate_resultant_damage(totitemdamage, block_return)
send_item_attack_message(I, user)
I.do_stagger_action(src, user)
if(I.force)