diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm index 5c762e2dc1..2bbb4570c9 100644 --- a/code/modules/projectiles/projectile.dm +++ b/code/modules/projectiles/projectile.dm @@ -1,7 +1,7 @@ //Some debug variables. Toggle them to 1 in order to see the related debug messages. Helpful when testing out formulas. -#define DEBUG_HIT_CHANCE 0 -#define DEBUG_HUMAN_DEFENSE 0 -#define DEBUG_XENO_DEFENSE 0 +#define DEBUG_HIT_CHANCE 1 +#define DEBUG_HUMAN_DEFENSE 1 +#define DEBUG_XENO_DEFENSE 1 //The actual bullet objects. /obj/projectile @@ -1045,6 +1045,9 @@ emote("scream") to_chat(src, SPAN_HIGHDANGER("You scream in pain as the impact sends shrapnel into the wound!")) SEND_SIGNAL(P, COMSIG_POST_BULLET_ACT_HUMAN, src, damage, damage_result) + #if DEBUG_HUMAN_DEFENSE + to_world(SPAN_DEBUG("([P]) Damage: [damage] | damage_result: [damage_result]")) + #endif //Deal with xeno bullets. /mob/living/carbon/xenomorph/bullet_act(obj/projectile/P) @@ -1126,6 +1129,9 @@ updatehealth() SEND_SIGNAL(P, COMSIG_BULLET_ACT_XENO, src, damage, damage_result) + #if DEBUG_XENO_DEFENSE + to_world(SPAN_DEBUG("([P]) Damage: [damage] | damage_result: [damage_result]")) + #endif return TRUE