Skip to content

Commit 979dc63

Browse files
committed
README.md corrections
1 parent 9773295 commit 979dc63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You don't have to use composer to include EZDice in your project, but you can:
4444

4545
### roll($diceStr)
4646

47-
Parse **$diceStr** as dice notation then roll those dice. Returns *(int)* total of all rolls, or *false* if no dice are found.
47+
Parse **$diceStr** as dice notation then roll those dice. Returns *(int)* total of all rolls and modifiers, or *false* if none were found.
4848

4949
The parser is very forgiving, ignoring whitespace and anything else it doesn't recognise. It is also case-insensitive. Dice notation is briefly documented below.
5050

@@ -62,7 +62,7 @@ Returns an *(array)* of dice that describes the state of the dice after the last
6262

6363
### getModifier()
6464

65-
Returns a *(string)* representing the total of all modifiers in the last roll. If there were no modifiers, or they cancelled out, a empty string is returned. You can cast this to an *(int)* if needed.
65+
Returns a *(string)* representing the total of all modifiers in the last roll. If there were no modifiers, or they cancelled out, an empty string is returned. You can cast this to an *(int)* if needed.
6666

6767
e.g. if you rolled `1d8+10+1d4-2` this method would return `+8`.
6868

0 commit comments

Comments
 (0)