From 43bfa4a2043056ce68a8308fb1b772e042d63913 Mon Sep 17 00:00:00 2001 From: Henning Waberg Date: Tue, 6 Nov 2018 00:07:25 +0100 Subject: [PATCH] Fix overkill --- .../Classes/X2DownloadableContentInfo_XCOM2RPGOverhaul.uc | 2 +- .../XCOM2RPGOverhaul/Classes/X2TemplateHelper_RPGOverhaul.uc | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/RPG/Src/XCOM2RPGOverhaul/Classes/X2DownloadableContentInfo_XCOM2RPGOverhaul.uc b/RPG/Src/XCOM2RPGOverhaul/Classes/X2DownloadableContentInfo_XCOM2RPGOverhaul.uc index a4c2b18..433f162 100644 --- a/RPG/Src/XCOM2RPGOverhaul/Classes/X2DownloadableContentInfo_XCOM2RPGOverhaul.uc +++ b/RPG/Src/XCOM2RPGOverhaul/Classes/X2DownloadableContentInfo_XCOM2RPGOverhaul.uc @@ -44,7 +44,7 @@ static event OnPostTemplatesCreated() class'X2TemplateHelper_RPGOverhaul'.static.PatchMedicalProtocol(); class'X2TemplateHelper_RPGOverhaul'.static.PatchTraceRounds(); class'X2TemplateHelper_RPGOverhaul'.static.PatchSteadyHands(); - class'X2TemplateHelper_RPGOverhaul'.static.PatchHomingMine(); + class'X2TemplateHelper_RPGOverhaul'.static.PatchClaymoreCharges(); class'X2TemplateHelper_RPGOverhaul'.static.PatchSpecialShotAbiitiesForLightEmUp(); } diff --git a/RPG/Src/XCOM2RPGOverhaul/Classes/X2TemplateHelper_RPGOverhaul.uc b/RPG/Src/XCOM2RPGOverhaul/Classes/X2TemplateHelper_RPGOverhaul.uc index f089fde..170b6f0 100644 --- a/RPG/Src/XCOM2RPGOverhaul/Classes/X2TemplateHelper_RPGOverhaul.uc +++ b/RPG/Src/XCOM2RPGOverhaul/Classes/X2TemplateHelper_RPGOverhaul.uc @@ -676,7 +676,7 @@ static function PatchMedicalProtocol() Template.AbilityCosts[0] = ActionPointCost; } -static function PatchHomingMine() +static function PatchClaymoreCharges() { local X2AbilityTemplateManager TemplateManager; local X2AbilityTemplate Template; @@ -684,6 +684,9 @@ static function PatchHomingMine() TemplateManager = class'X2AbilityTemplateManager'.static.GetAbilityTemplateManager(); + Template = TemplateManager.FindAbilityTemplate('ThrowClaymore'); + Template.AbilityCharges.AddBonusCharge('Overkill', 1); + Template = TemplateManager.FindAbilityTemplate('HomingMine'); Template.AbilityCharges.AddBonusCharge('Overkill', 1); }