From e385209b82ef7e6446608075f5a87c59c8ce587d Mon Sep 17 00:00:00 2001 From: ModdedMarionette <87785920+ModdedMarionette@users.noreply.github.com> Date: Tue, 12 Dec 2023 22:55:36 -0500 Subject: [PATCH 1/2] minor hud adjustment win text --- .../infection/scripts/vscripts/challenge_asw_infection_hud.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_hud.nut b/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_hud.nut index 4bffa4a0c..95da7540a 100644 --- a/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_hud.nut +++ b/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_hud.nut @@ -69,7 +69,7 @@ function Paint() YRes( 144 ) + XRes( 6.4 ) + self.GetFontTall(FONT_COUNTDOWN), false ); - PaintScanlineText(XRes(320), YRes(144), 255, 255, 255, 255, winText); + PaintScanlineText(XRes(320), YRes(145), 255, 255, 255, 255, winText); } else { From 517c5091126c4208c498a43d69cb23c952bfd5f7 Mon Sep 17 00:00:00 2001 From: ModdedMarionette <87785920+ModdedMarionette@users.noreply.github.com> Date: Tue, 12 Dec 2023 23:34:42 -0500 Subject: [PATCH 2/2] Updated challenge_asw_infection_base.nut - Significantly increased Gas Grenade damage against zombies - Greatly increased Incendiary Mine damage against zombies - Electro-stunned zombies now take double damage --- .../vscripts/challenge_asw_infection_base.nut | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_base.nut b/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_base.nut index 3c8f70707..5b2905e86 100644 --- a/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_base.nut +++ b/reactivedrop/content/infection/scripts/vscripts/challenge_asw_infection_base.nut @@ -597,6 +597,10 @@ function OnTakeDamage_Alive_Any( victim, inflictor, attacker, weapon, damage, da { g_teamZombie[victim][4] = 70; damage = damage * (1.0 + GetRage()); + if (NetProps.GetPropBool(victim, "m_bElectroStunned")) + { + damage = damage * 2; + } if (inflictor) { if (attacker in g_lastHuman && inflictor == attacker && damageType && damageType == 128) @@ -618,6 +622,14 @@ function OnTakeDamage_Alive_Any( victim, inflictor, attacker, weapon, damage, da { damage = damage * 10; } + if (inflictor.GetClassname() == "asw_radiation_volume") + { + damage = damage * 10; + } + if (weapon && weapon.GetClassname() == "asw_weapon_mines" && inflictor.GetClassname() == "asw_burning") + { + damage = damage * 10; + } } if (weapon && weapon.GetClassname() == "asw_weapon_chainsaw") {