From 46d67508b2a5b0615df5fa47be986ba83add284f Mon Sep 17 00:00:00 2001 From: superRaptor911 Date: Mon, 3 Aug 2020 19:37:34 +0530 Subject: [PATCH] release 1.35 --- Objects/Bots/BullSquid.gd | 2 +- Objects/Game_modes/ZombieMod/ZombieMod.gd | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Objects/Bots/BullSquid.gd b/Objects/Bots/BullSquid.gd index 2c34b45..0ded13c 100644 --- a/Objects/Bots/BullSquid.gd +++ b/Objects/Bots/BullSquid.gd @@ -20,7 +20,7 @@ func _on_navTimer_timeout(): var dist = (T.ref.position - position).length() if dist < ranged_atk_range: rpc("rangedAttack") - T.ref.takeDamage(ranged_atk_damage, ranged_attack_name, "Gargantua") + T.ref.takeDamage(ranged_atk_damage, ranged_attack_name, "SCP-682") remotesync func rangedAttack(): attk_sfx.play() diff --git a/Objects/Game_modes/ZombieMod/ZombieMod.gd b/Objects/Game_modes/ZombieMod/ZombieMod.gd index 4be7b60..782a284 100644 --- a/Objects/Game_modes/ZombieMod/ZombieMod.gd +++ b/Objects/Game_modes/ZombieMod/ZombieMod.gd @@ -100,10 +100,12 @@ func on_team_eliminated(team): # Called when round starts ( server side) func _on_round_start_dl_timeout(): current_round += 1 - rpc("P_roundStarted", current_round) - - if current_round % 2 == 0: - bossRound(current_round / 2) + if current_round == 10: + current_round = 1 + + rpc("P_roundStarted", current_round) + if current_round % 3 == 0: + bossRound(current_round / 3) return z_count = getZombieCount() @@ -243,6 +245,7 @@ func bossRound(boss_round : int): remotesync func P_BossRound_1(): + showLabel("Boss Round ! Gargantua is comming", Color.red) var boss0 = zombieBossScenes[1].instance() var boss1 = zombieBossScenes[1].instance() var spawn_locs = get_tree().get_nodes_in_group("ZspawnPoints")[0].get_children() @@ -256,6 +259,7 @@ remotesync func P_BossRound_1(): remotesync func P_BossRound_2(): + showLabel("Boss Round ! Scp 682 is set free", Color.red) var boss0 = zombieBossScenes[0].instance() var boss1 = zombieBossScenes[0].instance() var spawn_locs = get_tree().get_nodes_in_group("ZspawnPoints")[0].get_children() @@ -269,6 +273,7 @@ remotesync func P_BossRound_2(): remotesync func P_BossRound_3(): + showLabel("Final Round ! prepare for your end", Color.red) var boss0 = zombieBossScenes[1].instance() var boss1 = zombieBossScenes[1].instance() var boss2 = zombieBossScenes[0].instance()