Skip to content

Commit

Permalink
Fix archer improve basic skill not being calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Oct 10, 2023
1 parent 2070567 commit 6fc49f6
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,29 @@ Skill.Dual2SlashStorm or
skillDamageR = advancedChargeLevel?.Damage ?? skillDamageR;
break;
}

case Skill.ArcherArrowBlow:
case Skill.ArcherDoubleShot:
{
foreach (var skillID in new List<int>
{
Skill.HunterImproveBasic,
Skill.CrossbowmanImproveBasic,
}.Where(skillID => stats.SkillLevels[skillID] > 0))
{
var archerImproveBasicSkill = await _skills.Retrieve(skillID);
var archerImproveBasicLevel = archerImproveBasicSkill?[stats.SkillLevels[skillID]];

if (archerImproveBasicLevel == null) break;

skillDamageR += attack.SkillID == Skill.ArcherArrowBlow
? archerImproveBasicLevel.X
: archerImproveBasicLevel.Y;
break;
}

break;
}
case Skill.SniperStrafe:
var ultimateStrafeSkill = await _skills.Retrieve(Skill.CrossbowmasterUltimateStrafe);
var ultimateStrafeLevel = ultimateStrafeSkill?[stats.SkillLevels[Skill.CrossbowmasterUltimateStrafe]];
Expand Down

0 comments on commit 6fc49f6

Please sign in to comment.