mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Fixes delam hallucinations (#90465)
## About The Pull Request Fixes the delam hallucination proc to actually calculate based on distance from the supermatter. ## Why It's Good For The Game Fixes 2.5 year old bug. ## Changelog 🆑 LT3 fix: Supermatter delamination now applies hallucinations based on distance /🆑
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
continue
|
||||
|
||||
//Hilariously enough, running into a closet should make you get hit the hardest.
|
||||
var/hallucination_amount = max(100 SECONDS, min(600 SECONDS, DETONATION_HALLUCINATION * sqrt(1 / (get_dist(victim, src) + 1))))
|
||||
var/hallucination_amount = max(100 SECONDS, min(600 SECONDS, DETONATION_HALLUCINATION * sqrt(1 / (get_dist(victim, sm) + 1))))
|
||||
victim.adjust_hallucinations(hallucination_amount)
|
||||
|
||||
for(var/mob/victim as anything in GLOB.player_list)
|
||||
|
||||
Reference in New Issue
Block a user