your goddamn ass isn't a constant expression

This commit is contained in:
kevinz000
2020-05-30 02:12:49 -07:00
parent 3251338d31
commit 9d4d6e6b6f
+10 -4
View File
@@ -308,10 +308,6 @@
block_stamina_efficiency = 2
// slowdown
block_slowdown = 1
// more efficient vs projectiles
block_stamina_efficiency_override = list(
"[ATTACK_TYPE_PROJECTILE]" = 4
)
// no attacking while blocking
block_lock_attacking = TRUE
@@ -333,6 +329,16 @@
parry_failed_clickcd_duration = CLICK_CD_MELEE
parry_cooldown = 3 SECONDS
// KEV, WHY AREN'T YOU JUST PUTTING IT IN THE DEFINITION?!?!?!?!
// I'LL TELL YOU WHY, BECAUSE BYOND DOESN'T CONSIDER "[(1<<0)]" A "CONSTANT EXPRESSION"
// WHAT EVEN IS MORE CONSTANT THAN 1 BITSHIFTED TO THE LEFT BY 0 PLACES AS A STRING?
/datum/block_parry_data/dual_esword/New()
// more efficient vs projectiles
block_stamina_efficiency_override = list(
"[ATTACK_TYPE_PROJECTILE]" = 4
)
return ..()
/obj/item/twohanded/dualsaber/suicide_act(mob/living/carbon/user)
if(wielded)
user.visible_message("<span class='suicide'>[user] begins spinning way too fast! It looks like [user.p_theyre()] trying to commit suicide!</span>")