Skip to content

Commit

Permalink
Fix random range so 1-6 as upper range exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
Interkarma committed Jun 24, 2019
1 parent b0a828e commit 757cf3f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -128,7 +128,7 @@ public override void MagicRound()
else
{
// If target is out of spell points then drain 1-6 strength from target
int strengthDrained = Random.Range(1, 6);
int strengthDrained = Random.Range(1, 7);
DrainTargetStrength(targetEntity, strengthDrained);

// Accumulate drain amount as a strength buff in live effect
Expand Down

0 comments on commit 757cf3f

Please sign in to comment.