Template:Rod-Costs: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


'''Parameters:'''
'''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.
* '''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.
* '''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.


Line 21: Line 21:
</noinclude><includeonly>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:
</noinclude><includeonly>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:


{| style="ep-default2" style="text-align:right" width="90%"
{| style="ep-default2" style="text-align:center; font-size:90%;" width="90%"
|- style="{{linear-gradient|top|#C0D7EF, #FFF2FB}}; Color:#000;"
|- style="{{linear-gradient|top|#C0D7EF, #FFF2FB}}; Color:#000;"
! align="center" width="6%" | Caster Level
! width="12%" | Caster Level
! align="center" width="16%" | Cost
! width="12%" | Cost
! width="12%" | Save DC <sup>(1)</sup>
! width="12%" | Damage Dealt <sup>(2)</sup>
! width="4%" |
! width="4%" |
! align="center" width="6%" | Caster Level
! width="12%" | Caster Level  
! align="center" width="16%" | Cost
! width="12%" | Cost
! width="4%" |
! width="12%" | Save DC <sup>(1)</sup>
! align="center" width="6%" | Caster Level
! width="12%" | Damage Dealt <sup>(2)</sup>
! align="center" width="16%" | Cost
! width="4%" |
! align="center" width="6%" | Caster Level
! align="center" width="16%" | Cost
|-
|-
| align="center" | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|1}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|1}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=1}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=1}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#expr:{{{sp|1}}}+10+0}}}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#switch:{{{sp}}}|0 = 1d4|1 = 1d4|2 = 1d4|3 = 1d4|4 = 1d4}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<11|-|11}}  
| {{#ifexpr:{{{max|35}}}<21|-|21}}
| {{#ifexpr:{{{max|35}}}<11|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=11}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<21|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=21}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<21|-|{{#expr:{{{sp|1}}}+15+10}}}}
| {{#ifexpr:{{{max|35}}}<21|-|{{#switch:{{{sp}}}|0 = 21d6|1 = 21d6|2 = 21d6+21|3 = 21d6+21|4 = 21d6+63}}}}
|-
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|2}}
| align="right" | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=2}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#expr:{{{sp|1}}}+10+1}}}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#switch:{{{sp}}}|0 = 2d4|1 = 2d4|2 = 2d4|3 = 2d4|4 = 2d4}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<21|-|21}}  
| {{#ifexpr:{{{max|35}}}<22|-|22}}
| {{#ifexpr:{{{max|35}}}<21|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=21}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<22|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=22}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<22|-|{{#expr:{{{sp|1}}}+15+11}}}}
| {{#ifexpr:{{{max|35}}}<22|-|{{#switch:{{{sp}}}|0 = 22d6|1 = 22d6|2 = 22d6+22|3 = 22d6+44|4 = 22d6+66}}}}
|-
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|3}}
| align="right" | {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=3}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#expr:{{{sp|1}}}+10+1}}}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#switch:{{{sp}}}|0 = 3d4|1 = 3d4|2 = 3d4|3 = 3d4|4 = 3d4}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<31|-|31}}  
| {{#ifexpr:{{{max|35}}}<23|-|23}}  
| {{#ifexpr:{{{max|35}}}<31|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=31}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<23|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=23}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<23|-|{{#expr:{{{sp|1}}}+16+11}}}}
| {{#ifexpr:{{{max|35}}}<23|-|{{#switch:{{{sp}}}|0 = 23d6|1 = 23d6|2 = 23d6+23|3 = 23d6+46|4 = 23d6+69}}}}
|-
|-
| align="center" | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|2}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|4}}
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=2}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=4}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#expr:{{{sp|1}}}+10+2}}}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#switch:{{{sp}}}|0 = 4d4|1 = 4d4|2 = 4d4|3 = 4d4|4 = 4d4}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<12|-|12}}
| {{#ifexpr:{{{max|35}}}<24|-|24}}
| {{#ifexpr:{{{max|35}}}<12|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=12}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<24|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=24}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<24|-|{{#expr:{{{sp|1}}}+16+12}}}}
| {{#ifexpr:{{{max|35}}}<24|-|{{#switch:{{{sp}}}|0 = 24d6|1 = 24d6|2 = 24d6+24|3 = 24d6+48|4 = 24d6+72}}}}
|-
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|5}}
| align="right" | {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=5}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#expr:{{{sp|1}}}+10+2}}}}
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#switch:{{{sp}}}|0 = 5d4|1 = 5d4|2 = 5d4|3 = 5d4|4 = 5d4}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<22|-|22}}
| {{#ifexpr:{{{max|35}}}<25|-|25}}
| {{#ifexpr:{{{max|35}}}<22|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=22}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<25|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=25}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<25|-|{{#expr:{{{sp|1}}}+17+12}}}}
| {{#ifexpr:{{{max|35}}}<25|-|{{#switch:{{{sp}}}|0 = 25d6|1 = 25d6|2 = 25d6+25|3 = 25d6+50|4 = 25d6+75}}}}
|-
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|6}}
| align="right" | {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=6}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#expr:{{{sp|1}}}+10+3}}}}
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#switch:{{{sp}}}|0 = 6d4|1 = 6d4|2 = 6d4|3 = 6d4|4 = 6d6}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<32|-|32}}
| {{#ifexpr:{{{max|35}}}<26|-|26}}  
| {{#ifexpr:{{{max|35}}}<32|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=32}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<26|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=26}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<26|-|{{#expr:{{{sp|1}}}+17+13}}}}
| {{#ifexpr:{{{max|35}}}<26|-|{{#switch:{{{sp}}}|0 = 26d6|1 = 26d6|2 = 26d6+26|3 = 26d6+52|4 = 26d6+104}}}}
|-
|-
| align="center" | {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|3}}
| {{#ifexpr:{{{max|35}}}<7|-|7}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=3}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<7|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=7}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<7|-|{{#expr:{{{sp|1}}}+10+3}}}}
| {{#ifexpr:{{{max|35}}}<7|-|{{#switch:{{{sp}}}|0 = 7d4|1 = 7d4|2 = 7d4|3 = 7d4|4 = 7d6}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<13|-|13}}
| {{#ifexpr:{{{max|35}}}<27|-|27}}
| {{#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="right" | {{#ifexpr:{{{max|35}}}<27|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=27}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<27|-|{{#expr:{{{sp|1}}}+17+13}}}}
| {{#ifexpr:{{{max|35}}}<27|-|{{#switch:{{{sp}}}|0 = 27d6|1 = 27d6|2 = 27d6+27|3 = 27d6+54|4 = 27d6+108}}}}
|-
| {{#ifexpr:{{{max|35}}}<8|-|8}}
| align="right" | {{#ifexpr:{{{max|35}}}<8|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=8}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<8|-|{{#expr:{{{sp|1}}}+10+4}}}}
| {{#ifexpr:{{{max|35}}}<8|-|{{#switch:{{{sp}}}|0 = 8d4|1 = 8d4|2 = 8d4|3 = 8d6|4 = 8d6}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<23|-|23}}
| {{#ifexpr:{{{max|35}}}<28|-|28}}
| {{#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="right" | {{#ifexpr:{{{max|35}}}<28|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=28}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<28|-|{{#expr:{{{sp|1}}}+18+14}}}}
| {{#ifexpr:{{{max|35}}}<28|-|{{#switch:{{{sp}}}|0 = 28d6|1 = 28d6|2 = 28d6+28|3 = 28d6+56|4 = 28d6+112}}}}
|-
| {{#ifexpr:{{{max|35}}}<9|-|9}}
| align="right" | {{#ifexpr:{{{max|35}}}<9|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=9}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<9|-|{{#expr:{{{sp|1}}}+10+4}}}}
| {{#ifexpr:{{{max|35}}}<9|-|{{#switch:{{{sp}}}|0 = 9d4|1 = 9d4|2 = 9d4|3 = 9d6|4 = 9d6}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<33|-|33}}
| {{#ifexpr:{{{max|35}}}<29|-|29}}  
| {{#ifexpr:{{{max|35}}}<33|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=33}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<29|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=29}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<29|-|{{#expr:{{{sp|1}}}+18+14}}}}
| {{#ifexpr:{{{max|35}}}<29|-|{{#switch:{{{sp}}}|0 = 29d6|1 = 29d6|2 = 29d6+29|3 = 29d6+87|4 = 29d6+116}}}}
|-
|-
| align="center" | {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|4}}
| {{#ifexpr:{{{max|35}}}<10|-|10}}
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=4}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<10|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=10}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<10|-|{{#expr:{{{sp|1}}}+10+5}}}}
| {{#ifexpr:{{{max|35}}}<10|-|{{#switch:{{{sp}}}|0 = 10d4|1 = 10d4|2 = 10d4|3 = 10d6|4 = 10d6}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<14|-|14}}
| {{#ifexpr:{{{max|35}}}<30|-|30}}
| {{#ifexpr:{{{max|35}}}<14|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=14}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<30|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=30}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<30|-|{{#expr:{{{sp|1}}}+19+15}}}}
| {{#ifexpr:{{{max|35}}}<30|-|{{#switch:{{{sp}}}|0 = 30d6|1 = 30d6|2 = 30d6+30|3 = 30d6+90|4 = 30d6+120}}}}
|-
| {{#ifexpr:{{{max|35}}}<11|-|11}}
| align="right" | {{#ifexpr:{{{max|35}}}<11|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=11}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<11|-|{{#expr:{{{sp|1}}}+11+5}}}}
| {{#ifexpr:{{{max|35}}}<11|-|{{#switch:{{{sp}}}|0 = 11d4|1 = 11d4|2 = 11d6|3 = 11d6|4 = 11d6+11}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<24|-|24}}
| {{#ifexpr:{{{max|35}}}<31|-|31}}
| {{#ifexpr:{{{max|35}}}<24|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=24}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<31|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=31}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<31|-|{{#expr:{{{sp|1}}}+19+15}}}}
| {{#ifexpr:{{{max|35}}}<31|-|{{#switch:{{{sp}}}|0 = 31d6|1 = 31d6+31|2 = 31d6+62|3 = 31d6+93|4 = 31d6+155}}}}
|-
| {{#ifexpr:{{{max|35}}}<12|-|12}}
| align="right" | {{#ifexpr:{{{max|35}}}<12|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=12}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<12|-|{{#expr:{{{sp|1}}}+11+6}}}}
| {{#ifexpr:{{{max|35}}}<12|-|{{#switch:{{{sp}}}|0 = 12d4|1 = 12d4|2 = 12d6|3 = 12d6|4 = 12d6+12}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<34|-|34}}
| {{#ifexpr:{{{max|35}}}<32|-|32}}  
| {{#ifexpr:{{{max|35}}}<34|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=34}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<32|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=32}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<32|-|{{#expr:{{{sp|1}}}+19+16}}}}
| {{#ifexpr:{{{max|35}}}<32|-|{{#switch:{{{sp}}}|0 = 32d6|1 = 32d6+32|2 = 32d6+64|3 = 32d6+96|4 = 32d6+160}}}}
|-
|-
| align="center" | {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|5}}
| {{#ifexpr:{{{max|35}}}<13|-|13}}
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=5}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<13|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=13}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<13|-|{{#expr:{{{sp|1}}}+12+6}}}}
| {{#ifexpr:{{{max|35}}}<13|-|{{#switch:{{{sp}}}|0 = 13d4|1 = 13d4|2 = 13d6|3 = 13d6|4 = 13d6+13}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<15|-|15}}
| {{#ifexpr:{{{max|35}}}<33|-|33}}
| {{#ifexpr:{{{max|35}}}<15|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=15}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<33|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=33}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<33|-|{{#expr:{{{sp|1}}}+20+16}}}}
| {{#ifexpr:{{{max|35}}}<33|-|{{#switch:{{{sp}}}|0 = 33d6|1 = 33d6+33|2 = 33d6+66|3 = 33d6+99|4 = 33d6+165}}}}
|-
| {{#ifexpr:{{{max|35}}}<14|-|14}}
| align="right" | {{#ifexpr:{{{max|35}}}<14|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=14}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<14|-|{{#expr:{{{sp|1}}}+12+7}}}}
| {{#ifexpr:{{{max|35}}}<14|-|{{#switch:{{{sp}}}|0 = 14d4|1 = 14d4|2 = 14d6|3 = 14d6|4 = 14d6+14}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<25|-|25}}
| {{#ifexpr:{{{max|35}}}<34|-|34}}
| {{#ifexpr:{{{max|35}}}<25|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=25}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<34|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=34}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<34|-|{{#expr:{{{sp|1}}}+20+17}}}}
| {{#ifexpr:{{{max|35}}}<34|-|{{#switch:{{{sp}}}|0 = 34d6|1 = 34d6+34|2 = 34d6+68|3 = 34d6+102|4 = 34d6+170}}}}
|-
| {{#ifexpr:{{{max|35}}}<15|-|15}}
| align="right" | {{#ifexpr:{{{max|35}}}<15|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=15}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<15|-|{{#expr:{{{sp|1}}}+13+7}}}}
| {{#ifexpr:{{{max|35}}}<15|-|{{#switch:{{{sp}}}|0 = 15d4|1 = 15d4|2 = 15d6|3 = 15d6+15|4 = 15d6+15}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<35|-|35}}
| {{#ifexpr:{{{max|35}}}<35|-|35}}  
| {{#ifexpr:{{{max|35}}}<35|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=35}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<35|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=35}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<35|-|{{#expr:{{{sp|1}}}+21+17}}}}
| {{#ifexpr:{{{max|35}}}<35|-|{{#switch:{{{sp}}}|0 = 35d6|1 = 35d6+35|2 = 35d6+70|3 = 35d6+105|4 = 35d6+175}}}}
|-
|-
| align="center" | {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|6}}
| {{#ifexpr:{{{max|35}}}<16|-|16}}
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=6}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| align="right" | {{#ifexpr:{{{max|35}}}<16|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=16}} * {{#switch:{{{sp}}}|0 = 0.25|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
| {{#ifexpr:{{{max|35}}}<16|-|{{#expr:{{{sp|1}}}+13+8}}}}
| {{#ifexpr:{{{max|35}}}<16|-|{{#switch:{{{sp}}}|0 = 16d4|1 = 16d6|2 = 16d6|3 = 16d6+16|4 = 16d6+32}}}}
|
|
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<16|-|16}}
| {{#ifexpr:{{{max|35}}}<16|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=16}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<26|-|26}}
| {{#ifexpr:{{{max|35}}}<26|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=26}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | -
| -
|-
|-
| align="center" | {{#ifexpr:{{{max|35}}}<7|-|7}}
| {{#ifexpr:{{{max|35}}}<17|-|17}}
| {{#ifexpr:{{{max|35}}}<7|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=7}} * {{#switch:{{{sp}}}|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|-|{{#switch:{{{sp}}}|0 = 17d4|1 = 17d6|2 = 17d6|3 = 17d6+17|4 = 17d6+34}}}}
|
|
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<17|-|17}}
| {{#ifexpr:{{{max|35}}}<17|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=17}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<27|-|27}}
| {{#ifexpr:{{{max|35}}}<27|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=27}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | -
| -
|-
|-
| align="center" | {{#ifexpr:{{{max|35}}}<8|-|8}}
| {{#ifexpr:{{{max|35}}}<18|-|18}}
| {{#ifexpr:{{{max|35}}}<8|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=8}} * {{#switch:{{{sp}}}|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|-|{{#switch:{{{sp}}}|0 = 18d4|1 = 18d6|2 = 18d6|3 = 18d6+18|4 = 18d6+36}}}}
|
|
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<18|-|18}}
| {{#ifexpr:{{{max|35}}}<18|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=18}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<28|-|28}}
| {{#ifexpr:{{{max|35}}}<28|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=28}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | -
| -
|-
|-
| align="center" | {{#ifexpr:{{{max|35}}}<9|-|9}}
| {{#ifexpr:{{{max|35}}}<19|-|19}}
| {{#ifexpr:{{{max|35}}}<9|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=9}} * {{#switch:{{{sp}}}|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|-|{{#switch:{{{sp}}}|0 = 19d4|1 = 19d6|2 = 19d6|3 = 19d6+19|4 = 19d6+38}}}}
|
|
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<19|-|19}}
| {{#ifexpr:{{{max|35}}}<19|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=19}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<29|-|29}}
| {{#ifexpr:{{{max|35}}}<29|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=29}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | -
| -
|-
|-
| align="center" | {{#ifexpr:{{{max|35}}}<10|-|10}}
| {{#ifexpr:{{{max|35}}}<20|-|20}}
| {{#ifexpr:{{{max|35}}}<10|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=10}} * {{#switch:{{{sp}}}|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|-|{{#switch:{{{sp}}}|0 = 20d4|1 = 20d6|2 = 20d6|3 = 20d6+20|4 = 20d6+40}}}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<20|-|20}}
|
| {{#ifexpr:{{{max|35}}}<20|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=20}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<30|-|30}}
| {{#ifexpr:{{{max|35}}}<30|-|{{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=30}} * {{#switch:{{{sp}}}|1 = 0.375|2 = 0.6|3 = 0.75|4 = 0.9|#default = 0.375}}}}}} gp}}
|  
|  
| align="center" | -
|  
| -
|}
|}</includeonly>
 
::<sup>(1)</sup> &ndash; If the listed spell effect calls for a saving throw, this save DC is used, based on the caster level of the rod purchased.
::<sup>(2)</sup> &ndash; 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.</includeonly>

Revision as of 16:27, 26 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) 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 - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - -
- - - -
- - - -
- - - -
- - - -
(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.