Skip to content

Commit

Permalink
Syndicate Shocktroops event rebalance (#2708)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Sep 10, 2024
1 parent 6fd88a4 commit 35dadfe
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/events/portal_storm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
number_of_hostiles += hostile_types[hostile]

while(number_of_bosses > boss_spawn.len)
boss_spawn += get_random_station_turf()
boss_spawn += get_safe_random_station_turf() // monkestation edit: use [get_safe_random_station_turf] so they don't spawn in weird stupid places

while(number_of_hostiles > hostiles_spawn.len)
hostiles_spawn += get_random_station_turf()
hostiles_spawn += get_safe_random_station_turf() // monkestation edit: use [get_safe_random_station_turf] so they don't spawn in weird stupid places

next_boss_spawn = start_when + CEILING(2 * number_of_hostiles / number_of_bosses, 1)
setup = TRUE //MONKESTATION ADDITION
Expand All @@ -81,7 +81,7 @@
sound_to_playing_players('sound/magic/lightningbolt.ogg')

/datum/round_event/portal_storm/tick()
spawn_effects(get_random_station_turf())
spawn_effects(get_safe_random_station_turf()) // monkestation edit: use [get_safe_random_station_turf] so they don't spawn in weird stupid places

if(spawn_hostile() && length(hostile_types))
var/type = pick(hostile_types)
Expand Down
6 changes: 6 additions & 0 deletions monkestation/code/modules/events/portal_storm.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/datum/round_event/portal_storm/syndicate_shocktroop
boss_types = list(/mob/living/basic/trooper/syndicate/melee/space/stormtrooper/lesser = 2)
hostile_types = list(
/mob/living/basic/trooper/syndicate/melee/space/lesser = 8,
/mob/living/basic/trooper/syndicate/ranged/space/lesser = 2,
)
21 changes: 21 additions & 0 deletions monkestation/code/modules/mob/living/basic/trooper/syndicate.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Weaker variants of the syndie trooper NPCs for the Shocktroops event
/mob/living/basic/trooper/syndicate/melee/space/lesser
maxHealth = 45
health = 45
melee_damage_lower = 8
melee_damage_upper = 15
melee_attack_cooldown = 1.5 SECONDS

/mob/living/basic/trooper/syndicate/melee/space/stormtrooper/lesser
maxHealth = 100
health = 100
melee_damage_lower = 10
melee_damage_upper = 18
melee_attack_cooldown = 1.5 SECONDS

/mob/living/basic/trooper/syndicate/ranged/space/lesser
maxHealth = 45
health = 45
melee_damage_lower = 5
melee_damage_upper = 10
ranged_cooldown = 3 SECONDS
2 changes: 2 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6937,6 +6937,7 @@
#include "monkestation\code\modules\events\artifact_spawn.dm"
#include "monkestation\code\modules\events\brand_intelligence.dm"
#include "monkestation\code\modules\events\gravity_generator_blackout.dm"
#include "monkestation\code\modules\events\portal_storm.dm"
#include "monkestation\code\modules\events\radiation_storm.dm"
#include "monkestation\code\modules\events\scrubber_clog.dm"
#include "monkestation\code\modules\events\scrubber_overflow.dm"
Expand Down Expand Up @@ -7243,6 +7244,7 @@
#include "monkestation\code\modules\mob\living\basic\ggg\glerm.dm"
#include "monkestation\code\modules\mob\living\basic\ggg\susflash.dm"
#include "monkestation\code\modules\mob\living\basic\pets\parrot\parrot_ai\parroting_action.dm"
#include "monkestation\code\modules\mob\living\basic\trooper\syndicate.dm"
#include "monkestation\code\modules\mob\living\basic\vermin\frog.dm"
#include "monkestation\code\modules\mob\living\basic\vermin\mouse.dm"
#include "monkestation\code\modules\mob\living\carbon\carbon.dm"
Expand Down

0 comments on commit 35dadfe

Please sign in to comment.