File tree 2 files changed +22
-3
lines changed
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ # 1.2.0
2
+ - Support for parameters in alias (see Readme)
3
+ - Alias call must be precede by ` $ ` now
4
+ - If the roll has an alias, print the expansion (avoid cheating ;-) )
5
+ - When using an alias which has a comment, the comment is manage properly so you can add
6
+ things to the alias call:
7
+ ```
8
+ /alias set init d20 + 6 : initiative
9
+
10
+ /r $init + 2
11
+ Alias expansion: d20 + 6 + 2 : initiative
12
+ ```
13
+
14
+ Before 1.2.0, the addition was after the comment and hence, ignored:
15
+ ```
16
+ /r $init + 2
17
+ Alias expansion: d20 + 6 : initiative + 2
18
+ ```
19
+
1
20
# 1.1.2
2
21
- build windows binaries
3
22
- update installation instruction
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ aliases and users can refer to either their own aliases or global ones:
167
167
```
168
168
/alias setg ATT d20
169
169
/alias set att $ATT + 4
170
- /r att
170
+ /r $ att
171
171
> Geob roll: [12] + 4 Result: 16
172
172
```
173
173
@@ -177,10 +177,10 @@ Alias expansion occurs on use. So you can do things like that:
177
177
/alias setg ATT d20
178
178
/alias set att_bonus +4
179
179
/alias set att $ATT $att_bonus
180
- /r att
180
+ /r $ att
181
181
> Geob roll: [11] +4 Result: 15
182
182
/alias set att_bonus +5
183
- /r att
183
+ /r $ att
184
184
> Geob roll: [11] +5 Result: 16
185
185
```
186
186
You can’t perform that action at this time.
0 commit comments