mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 04:08:55 +01:00
[MIRROR] Reduce the stub toe chance from unlucky (#12316)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
99f0bd6e1d
commit
38bd5c079f
@@ -279,6 +279,8 @@
|
||||
for(var/obj/structure/table/evil_table in the_turf)
|
||||
if(!evil_table.material) //We only want tables, not just table frames.
|
||||
continue
|
||||
if(!prob(10)) //Reduce the chance further, due to the number of tables that are passed in normal play.
|
||||
continue
|
||||
living_guy.visible_message(span_danger("[living_guy] stubs [living_guy.p_their()] toe on [evil_table]!"), span_bolddanger("You stub your toe on [evil_table]!"))
|
||||
living_guy.apply_damage(2 * damage_mod, BRUTE, pick(BP_L_FOOT, BP_R_FOOT), used_weapon = "blunt force trauma")
|
||||
living_guy.adjustHalLoss(25) //It REALLY hurts.
|
||||
|
||||
Reference in New Issue
Block a user