If we're going PvE, we need this

This commit is contained in:
Dahlular
2022-11-15 02:03:57 -07:00
committed by GitHub
parent f53014e031
commit 74338c9b71
+3 -3
View File
@@ -206,9 +206,9 @@
if(attack_type == UNARMED_ATTACK)
final_block_chance = 100 //How easy is it to block a hand?
if(attack_type == PROJECTILE_ATTACK)
final_block_chance = 80 //With the suit it helps against bullets
final_block_chance = 95 //With the suit it helps against bullets
if(attack_type == THROWN_PROJECTILE_ATTACK)
final_block_chance = 50 //Sometimes you may be off guard
final_block_chance = 100 //Sometimes you may be off guard
if(attack_type == LEAP_ATTACK)
final_block_chance = 100 //BRACE
return ..()
@@ -218,4 +218,4 @@
"<span class='userdanger'>You accidentally hit yourself with [src]!</span>")
SEND_SIGNAL(user, COMSIG_LIVING_MINOR_SHOCK)
user.Knockdown(stunforce*3)
playsound(get_turf(src), 'sound/effects/woodhit.ogg', 75, 1, -1)
playsound(get_turf(src), 'sound/effects/woodhit.ogg', 75, 1, -1)