Skip to content

Commit

Permalink
Add critical magic stat calcuation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Oct 10, 2023
1 parent 6ce58b6 commit 373553b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ private async Task ApplySkills(IFieldUser user)
var dragonSoulLevel = dragonSoulSkill?[SkillLevels[Skill.EvanDragonSoul]];

MAD += dragonSoulLevel?.MAD ?? 0;

var criticalMagicSkill = await user.StageUser.Context.Templates.Skill.Retrieve(Skill.EvanMagicCritical);
var criticalMagicLevel = criticalMagicSkill?[SkillLevels[Skill.EvanMagicCritical]];

Cr += criticalMagicLevel?.Prop ?? 0;
}
}

Expand Down

0 comments on commit 373553b

Please sign in to comment.