mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Tidies up setup.dm, moves a bunch of vars to global.dm, changes the case of a couple.
This commit is contained in:
@@ -724,15 +724,15 @@ steam.start() -- spawns the effect
|
||||
var/light = -1
|
||||
var/flash = -1
|
||||
|
||||
// Clamp all values to MAX_EXPLOSION_RANGE
|
||||
// Clamp all values to max_explosion_range
|
||||
if (round(amount/12) > 0)
|
||||
devastation = min (MAX_EXPLOSION_RANGE, devastation + round(amount/12))
|
||||
devastation = min (max_explosion_range, devastation + round(amount/12))
|
||||
|
||||
if (round(amount/6) > 0)
|
||||
heavy = min (MAX_EXPLOSION_RANGE, heavy + round(amount/6))
|
||||
heavy = min (max_explosion_range, heavy + round(amount/6))
|
||||
|
||||
if (round(amount/3) > 0)
|
||||
light = min (MAX_EXPLOSION_RANGE, light + round(amount/3))
|
||||
light = min (max_explosion_range, light + round(amount/3))
|
||||
|
||||
if (flash && flashing_factor)
|
||||
flash += (round(amount/4) * flashing_factor)
|
||||
|
||||
Reference in New Issue
Block a user