mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes meteor event
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
/datum/event/meteor_wave/tick()
|
/datum/event/meteor_wave/tick()
|
||||||
if(IsMultiple(activeFor, 3))
|
if(IsMultiple(activeFor, 3))
|
||||||
spawn_meteors(rand(2,5))
|
meteor_wave(rand(2,5))
|
||||||
|
|
||||||
/datum/event/meteor_wave/end()
|
/datum/event/meteor_wave/end()
|
||||||
command_announcement.Announce("The station has cleared the meteor storm.", "Meteor Alert")
|
command_announcement.Announce("The station has cleared the meteor storm.", "Meteor Alert")
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
//meteor showers are lighter and more common,
|
//meteor showers are lighter and more common,
|
||||||
/datum/event/meteor_shower/tick()
|
/datum/event/meteor_shower/tick()
|
||||||
if(activeFor >= next_meteor)
|
if(activeFor >= next_meteor)
|
||||||
spawn_meteors(rand(1,4))
|
meteor_wave(rand(1,4))
|
||||||
next_meteor += rand(20,100)
|
next_meteor += rand(20,100)
|
||||||
waves--
|
waves--
|
||||||
if(waves <= 0)
|
if(waves <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user