Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Geobert Quach committed Feb 27, 2021
1 parent 61dba92 commit e200963
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# 1.2.0
- Support for parameters in alias (see Readme)
- Alias call must be precede by `$` now
- If the roll has an alias, print the expansion (avoid cheating ;-) )
- When using an alias which has a comment, the comment is manage properly so you can add
things to the alias call:
```
/alias set init d20 + 6 : initiative
/r $init + 2
Alias expansion: d20 + 6 + 2 : initiative
```

Before 1.2.0, the addition was after the comment and hence, ignored:
```
/r $init + 2
Alias expansion: d20 + 6 : initiative + 2
```

# 1.1.2
- build windows binaries
- update installation instruction
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ aliases and users can refer to either their own aliases or global ones:
```
/alias setg ATT d20
/alias set att $ATT + 4
/r att
/r $att
> Geob roll: [12] + 4 Result: 16
```

Expand All @@ -177,10 +177,10 @@ Alias expansion occurs on use. So you can do things like that:
/alias setg ATT d20
/alias set att_bonus +4
/alias set att $ATT $att_bonus
/r att
/r $att
> Geob roll: [11] +4 Result: 15
/alias set att_bonus +5
/r att
/r $att
> Geob roll: [11] +5 Result: 16
```

Expand Down

0 comments on commit e200963

Please sign in to comment.