Skip to content

Commit

Permalink
Fix overkill
Browse files Browse the repository at this point in the history
  • Loading branch information
Musashi1584 committed Nov 5, 2018
1 parent 952a08d commit 43bfa4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -676,14 +676,17 @@ static function PatchMedicalProtocol()
Template.AbilityCosts[0] = ActionPointCost;
}

static function PatchHomingMine()
static function PatchClaymoreCharges()
{
local X2AbilityTemplateManager TemplateManager;
local X2AbilityTemplate Template;
local X2AbilityCost_ActionPointsExtended ActionPointCost;

TemplateManager = class'X2AbilityTemplateManager'.static.GetAbilityTemplateManager();

Template = TemplateManager.FindAbilityTemplate('ThrowClaymore');
Template.AbilityCharges.AddBonusCharge('Overkill', 1);

Template = TemplateManager.FindAbilityTemplate('HomingMine');
Template.AbilityCharges.AddBonusCharge('Overkill', 1);
}
Expand Down

0 comments on commit 43bfa4a

Please sign in to comment.