Skip to content

Commit

Permalink
Fix untrained skill rolls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhett12321 committed May 7, 2023
1 parent 3eea287 commit 420c1f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NWN.Toolbox/src/Features/DiceRolls/DiceRollService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ public int SkillRoll(NwCreature creature, NwSkill skill, RollBroadcastTargets br
int total = roll + skillRanks;

string message;
if (creature.HasSkill(skill))

if (skill.IsUntrained || skillRanks > 0)
{
message = creature.Name.ColorString(NameColor) + $" : {skill.Name} Check : ({roll} + {skillRanks} = {total})".ColorString(CheckMessageColor);
}
Expand Down

0 comments on commit 420c1f8

Please sign in to comment.