mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Port of mob glowing mechanic
This commit is contained in:
@@ -205,6 +205,9 @@
|
||||
set_light(min(round(fire_stacks), 3), round(fire_stacks), l_color = "#FF9933")
|
||||
return TRUE
|
||||
|
||||
else if(glow_toggle)
|
||||
set_light(2, l_color = glow_color) //2 is PDA brightness, so neutral in terms of balance
|
||||
|
||||
else
|
||||
set_light(0)
|
||||
return FALSE
|
||||
|
||||
@@ -47,3 +47,6 @@
|
||||
|
||||
var/evasion = 0 // Makes attacks harder to land. Each number equals 15% more likely to miss. Negative numbers increase hit chance.
|
||||
var/force_max_speed = 0 // If 1, the mob runs extremely fast and cannot be slowed.
|
||||
|
||||
var/glow_toggle = 0 // If they're glowing!
|
||||
var/glow_color = "#FFFFFF" // The color they're glowing!
|
||||
|
||||
Reference in New Issue
Block a user