Skip to content

Commit

Permalink
fix modifier name for furious skill
Browse files Browse the repository at this point in the history
  • Loading branch information
floribe2000 committed Nov 10, 2023
1 parent 53b5b2b commit ce27929
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ public void LoadBuild(IEnumerable<int> selectedSkills, string? captainIndex)
if (furiousSkill is not null && furiousSkillModifier is not null && furiousSkillModifier.Status)
{
var furiousModifiers = furiousSkill.ConditionalModifierGroups[0].Modifiers;
double multiplier = furiousModifiers["first_GMShotDelay"];
double multiplier = furiousModifiers["repeatable_first_GMShotDelay"];
if (furiousSkillModifier.ActivationNumbers > 1)
{
multiplier *= Math.Pow(furiousModifiers["other_GMShotDelay"], furiousSkillModifier.ActivationNumbers - 1);
multiplier *= Math.Pow(furiousModifiers["repeatable_other_GMShotDelay"], furiousSkillModifier.ActivationNumbers - 1);
}

modifiers.Add(("GMShotDelay", (float)Math.Round(multiplier, 2)));
Expand Down

0 comments on commit ce27929

Please sign in to comment.