mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
test suite: mob attack chain (#28440)
* test suite: mob attack chain * 100% random zone probability in tests
This commit is contained in:
@@ -211,7 +211,9 @@
|
||||
// Do not use this if someone is intentionally trying to hit a specific body part.
|
||||
// Use get_zone_with_miss_chance() for that.
|
||||
/proc/ran_zone(zone, probability = 80)
|
||||
|
||||
#ifdef GAME_TESTS
|
||||
probability = 100
|
||||
#endif
|
||||
zone = check_zone(zone)
|
||||
|
||||
if(prob(probability))
|
||||
|
||||
Reference in New Issue
Block a user