@@ -37,11 +37,10 @@ Striking a noncultist, however, will tear their flesh."}
37
37
38
38
AddComponent (/ datum / component/ cult_ritual_item, span_cult(examine_text))
39
39
40
- / obj / item/ melee/ cultblade/ dagger/ get_block_chance( mob / living/ carbon/ human/ wielder, atom/movable / hitby, damage, attack_type, armor_penetration)
41
- if (IS_CULTIST (wielder) && attack_type != PROJECTILE_ATTACK )
42
- return .. ()
43
-
44
- return FALSE
40
+ / obj / item/ melee/ cultblade/ dagger/ can_block_attack( mob / living/ carbon/ human/ wielder, atom/movable / hitby, attack_type)
41
+ if (attack_type == PROJECTILE_ATTACK )
42
+ return FALSE
43
+ return .. ()
45
44
46
45
/ obj / item/ melee/ cultblade/ dagger/ block_feedback( mob / living/ carbon/ human/ wielder, attack_text, attack_type, do_message = TRUE , do_sound = TRUE )
47
46
if (do_message)
@@ -78,7 +77,7 @@ Striking a noncultist, however, will tear their flesh."}
78
77
. = .. ()
79
78
AddComponent (/ datum / component/ butchering, 40 , 100 )
80
79
81
- / obj / item/ melee/ cultblade/ get_block_chance ( mob / living/ carbon/ human/ wielder, atom/movable / hitby, damage, attack_type, armor_penetration )
80
+ / obj / item/ melee/ cultblade/ can_block_attack ( mob / living/ carbon/ human/ wielder, atom/movable / hitby, attack_type)
82
81
if (IS_CULTIST (wielder))
83
82
return .. ()
84
83
@@ -278,13 +277,15 @@ Striking a noncultist, however, will tear their flesh."}
278
277
holder. apply_status_effect(/ datum / status_effect/ sword_spin)
279
278
sword. spinning = TRUE
280
279
sword. block_chance = 100
280
+ sword. block_angle = 180
281
281
sword. slowdown += 1.5
282
282
addtimer (CALLBACK (src , PROC_REF (stop_spinning)), 50 )
283
283
holder?. update_mob_action_buttons()
284
284
285
285
/ datum / action/ innate/ cult/ spin2win/ proc / stop_spinning()
286
286
sword. spinning = FALSE
287
287
sword. block_chance = 50
288
+ sword. block_angle = 45
288
289
sword. slowdown -= 1.5
289
290
sleep (sword. spin_cooldown)
290
291
holder?. update_mob_action_buttons()
@@ -775,8 +776,6 @@ Striking a noncultist, however, will tear their flesh."}
775
776
qdel (src )
776
777
777
778
/ obj / item/ melee/ cultblade/ halberd/ get_block_chance( mob / living/ carbon/ human/ wielder, atom/movable / hitby, damage, attack_type, armor_penetration)
778
- if (! IS_CULTIST (wielder))
779
- return FALSE
780
779
. = .. ()
781
780
if (wielded)
782
781
. *= 2
0 commit comments