Template:Rod-Costs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
| {{#ifexpr:{{{max|35}}}<13|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=13}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | | {{#ifexpr:{{{max|35}}}<13|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=13}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | ||
| | | | ||
| align="center" | {{#ifexpr:{{{max|35}}}< | | align="center" | {{#ifexpr:{{{max|35}}}<23|-|23}} | ||
| {{#ifexpr:{{{max|35}}}< | | {{#ifexpr:{{{max|35}}}<23|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=23}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}} | ||
| | | | ||
| align="center" | {{#ifexpr:{{{max|35}}}<33|-|33}} | | align="center" | {{#ifexpr:{{{max|35}}}<33|-|33}} |
Revision as of 15:50, 24 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: 1 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 | Caster Level | Cost | Caster Level | Cost | Caster Level | Cost | |||
---|---|---|---|---|---|---|---|---|---|---|
- | - | 11 | 37,200 gp | - | - | - | - | |||
- | - | - | - | - | - | - | - | |||
3 | 4,500 gp | - | - | - | - | - | - | |||
4 | 6,600 gp | - | - | - | - | - | - | |||
5 | 9,000 gp | - | - | - | - | - | - | |||
6 | 12,000 gp | - | - | - | - | - | - | |||
7 | 15,000 gp | - | - | - | - | - | - | |||
8 | 19,200 gp | - | - | - | - | - | - | |||
9 | 24,000 gp | - | - | - | - | - | - | |||
10 | 30,000 gp | - | - | - | - | - | - |