Template:Rod-Costs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 109: | Line 109: | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<17|-|17}} | | {{#ifexpr:{{{max|35}}}<17|-|17}} | ||
| align="right" | {{#ifexpr:{{{max|35}}}<17|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=17}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | | align="right" | {{#ifexpr:{{{max|35}}}<17|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=17}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}  | ||
| {{#ifexpr:{{{max|35}}}<17|-|{{#expr:{{{sp|1}}}+13+8}}}} | | {{#ifexpr:{{{max|35}}}<17|-|{{#expr:{{{sp|1}}}+13+8}}}} | ||
| {{#ifexpr:{{{max|35}}}<17|-|{{#switch:{{{sp}}}|0 = 17d4|1 = 17d6|2 = 17d6|3 = 17d6+17|4 = 17d6+34}}}} | | {{#ifexpr:{{{max|35}}}<17|-|{{#switch:{{{sp}}}|0 = 17d4|1 = 17d6|2 = 17d6|3 = 17d6+17|4 = 17d6+34}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<18|-|18}} | | {{#ifexpr:{{{max|35}}}<18|-|18}} | ||
| align="right" | {{#ifexpr:{{{max|35}}}<18|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=18}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | | align="right" | {{#ifexpr:{{{max|35}}}<18|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=18}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}  | ||
| {{#ifexpr:{{{max|35}}}<18|-|{{#expr:{{{sp|1}}}+14+9}}}} | | {{#ifexpr:{{{max|35}}}<18|-|{{#expr:{{{sp|1}}}+14+9}}}} | ||
| {{#ifexpr:{{{max|35}}}<18|-|{{#switch:{{{sp}}}|0 = 18d4|1 = 18d6|2 = 18d6|3 = 18d6+18|4 = 18d6+36}}}} | | {{#ifexpr:{{{max|35}}}<18|-|{{#switch:{{{sp}}}|0 = 18d4|1 = 18d6|2 = 18d6|3 = 18d6+18|4 = 18d6+36}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<19|-|19}} | | {{#ifexpr:{{{max|35}}}<19|-|19}} | ||
| align="right" | {{#ifexpr:{{{max|35}}}<19|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=19}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | | align="right" | {{#ifexpr:{{{max|35}}}<19|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=19}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}  | ||
| {{#ifexpr:{{{max|35}}}<19|-|{{#expr:{{{sp|1}}}+14+9}}}} | | {{#ifexpr:{{{max|35}}}<19|-|{{#expr:{{{sp|1}}}+14+9}}}} | ||
| {{#ifexpr:{{{max|35}}}<19|-|{{#switch:{{{sp}}}|0 = 19d4|1 = 19d6|2 = 19d6|3 = 19d6+19|4 = 19d6+38}}}} | | {{#ifexpr:{{{max|35}}}<19|-|{{#switch:{{{sp}}}|0 = 19d4|1 = 19d6|2 = 19d6|3 = 19d6+19|4 = 19d6+38}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<20|-|20}} | | {{#ifexpr:{{{max|35}}}<20|-|20}} | ||
| align="right" | {{#ifexpr:{{{max|35}}}<20|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=20}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | | align="right" | {{#ifexpr:{{{max|35}}}<20|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=20}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}  | ||
| {{#ifexpr:{{{max|35}}}<20|-|{{#expr:{{{sp|1}}}+15+10}}}} | | {{#ifexpr:{{{max|35}}}<20|-|{{#expr:{{{sp|1}}}+15+10}}}} | ||
| {{#ifexpr:{{{max|35}}}<20|-|{{#switch:{{{sp}}}|0 = 20d4|1 = 20d6|2 = 20d6|3 = 20d6+20|4 = 20d6+40}}}} | | {{#ifexpr:{{{max|35}}}<20|-|{{#switch:{{{sp}}}|0 = 20d4|1 = 20d6|2 = 20d6|3 = 20d6+20|4 = 20d6+40}}}} |
Revision as of 18:38, 29 August 2019
Outputs a table of caster level-based rod costs, adjusted by spell level. Call as follows:
{{Rod-Costs | sp= | max= }}
Parameters:
- sp = Values: 0 through 4. Sets the spell level of the spell on the rod. This sets the minimum caster level and the price factors. Default is 1.
- max = Values: 5 through 35. Sets the max caster level the rod can be purchased at. Typically where the spell maxes out (e.g. 20 for all cure spells). Default is 35.
Example:
{{Rod-Costs|sp=2|max=11}}
Outputs:
You can purchase this rod at a higher caster level than the minimum required to cast the spell. Doing so increases the potency of the spell as described above, but also increases the cost, as follows:
Caster Level | Cost | Save DC (1) | Damage Dealt (2) |
---|---|---|---|
- | - | - | - |
- | - | - | - |
3 | 4,500 gp | 13 | 3d4 |
4 | 6,600 gp | 14 | 4d4 |
5 | 9,000 gp | 14 | 5d4 |
6 | 12,000 gp | 15 | 6d4 |
7 | 15,000 gp | 15 | 7d4 |
8 | 19,200 gp | 16 | 8d4 |
9 | 24,000 gp | 16 | 9d4 |
10 | 30,000 gp | 17 | 10d4 |
11 | 37,200 gp | 18 | 11d6 |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
Caster Level | Cost | Save DC (1) | Damage Dealt (2) |
---|---|---|---|
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- (1) – If the listed spell effect calls for a saving throw, this save DC is used, based on the caster level of the rod purchased.
- (2) – If the listed spell effect states that it deals damage, use this value for damage dealt, based on the caster level of the rod purchased.