Template:Rod-Costs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
'''Example:''' | '''Example:''' | ||
* <code><nowiki>{{Rod-Costs|sp=2|max= | * <code><nowiki>{{Rod-Costs|sp=2|max=20}}</nowiki></code> | ||
'''Outputs:'''<br> | '''Outputs:'''<br> | ||
{{Rod-Costs|sp=2|max= | {{Rod-Costs|sp=2|max=20}} | ||
</noinclude><includeonly>You can purchase this rod at a higher creator 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 creator 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: | ||
Line 34: | Line 34: | ||
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|1}} | | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|1}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=1}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#switch:{{{sp}}}|0 = 1d4|1 = 1d6|2 = 1d6|3 = 1d6|4 = 1d6}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|{{#switch:{{{sp}}}|0 = 1d4|1 = 1d6|2 = 1d6|3 = 1d6|4 = 1d6}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|2}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=2}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#switch:{{{sp}}}|0 = 2d4|1 = 2d6|2 = 2d6|3 = 2d6|4 = 2d6}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|{{#switch:{{{sp}}}|0 = 2d4|1 = 2d6|2 = 2d6|3 = 2d6|4 = 2d6}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|3}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=3}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#switch:{{{sp}}}|0 = 3d4|1 = 3d6|2 = 3d6|3 = 3d6|4 = 3d6}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<3|-|{{#switch:{{{sp}}}|0 = 3d4|1 = 3d6|2 = 3d6|3 = 3d6|4 = 3d6}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|4}} | | {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|4}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=4}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#switch:{{{sp}}}|0 = 4d4|1 = 4d6|2 = 4d6|3 = 4d6|4 = 4d6}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|{{#switch:{{{sp}}}|0 = 4d4|1 = 4d6|2 = 4d6|3 = 4d6|4 = 4d6}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|5}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=5}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#switch:{{{sp}}}|0 = 5d4|1 = 5d6|2 = 5d6|3 = 5d6|4 = 5d6}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|{{#switch:{{{sp}}}|0 = 5d4|1 = 5d6|2 = 5d6|3 = 5d6|4 = 5d6}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|6}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=6}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#switch:{{{sp}}}|0 = 6d4|1 = 6d6|2 = 6d6|3 = 6d6|4 = 6d6+6}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|{{#switch:{{{sp}}}|0 = 6d4|1 = 6d6|2 = 6d6|3 = 6d6|4 = 6d6+6}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<7|-|7}} | | {{#ifexpr:{{{max|35}}}<7|-|7}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<7|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<7|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=7}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<7|-|{{#switch:{{{sp}}}|0 = 7d4|1 = 7d6|2 = 7d6|3 = 7d6|4 = 7d6+7}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<7|-|{{#switch:{{{sp}}}|0 = 7d4|1 = 7d6|2 = 7d6|3 = 7d6|4 = 7d6+7}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<8|-|8}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<8|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<8|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=8}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<8|-|{{#switch:{{{sp}}}|0 = 8d4|1 = 8d6|2 = 8d6|3 = 8d6+8|4 = 8d6+8}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<8|-|{{#switch:{{{sp}}}|0 = 8d4|1 = 8d6|2 = 8d6|3 = 8d6+8|4 = 8d6+8}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<9|-|9}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<9|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<9|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=9}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<9|-|{{#switch:{{{sp}}}|0 = 9d4|1 = 9d6|2 = 9d6|3 = 9d6+9|4 = 9d6+9}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<9|-|{{#switch:{{{sp}}}|0 = 9d4|1 = 9d6|2 = 9d6|3 = 9d6+9|4 = 9d6+9}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<10|-|10}} | | {{#ifexpr:{{{max|35}}}<10|-|10}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<10|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<10|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=10}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<10|-|{{#switch:{{{sp}}}|0 = 10d4|1 = 10d6|2 = 10d6|3 = 10d6+10|4 = 10d6+10}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<10|-|{{#switch:{{{sp}}}|0 = 10d4|1 = 10d6|2 = 10d6|3 = 10d6+10|4 = 10d6+10}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<11|-|11}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<11|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<11|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=11}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<11|-|{{#switch:{{{sp}}}|0 = 11d4|1 = 11d6|2 = 11d6|3 = 11d6+11|4 = 11d6+11}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<11|-|{{#switch:{{{sp}}}|0 = 11d4|1 = 11d6|2 = 11d6|3 = 11d6+11|4 = 11d6+11}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<12|-|12}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<12|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<12|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=12}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<12|-|{{#switch:{{{sp}}}|0 = 12d4|1 = 12d6|2 = 12d6+12|3 = 12d6+12|4 = 12d6+24}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<12|-|{{#switch:{{{sp}}}|0 = 12d4|1 = 12d6|2 = 12d6+12|3 = 12d6+12|4 = 12d6+24}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<13|-|13}} | | {{#ifexpr:{{{max|35}}}<13|-|13}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<13|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<13|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=13}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<13|-|{{#switch:{{{sp}}}|0 = 13d4|1 = 13d6|2 = 13d6+13|3 = 13d6+13|4 = 13d6+26}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<13|-|{{#switch:{{{sp}}}|0 = 13d4|1 = 13d6|2 = 13d6+13|3 = 13d6+13|4 = 13d6+26}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<14|-|14}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<14|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<14|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=14}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<14|-|{{#switch:{{{sp}}}|0 = 14d4|1 = 14d6|2 = 14d6+14|3 = 14d6+14|4 = 14d6+28}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<14|-|{{#switch:{{{sp}}}|0 = 14d4|1 = 14d6|2 = 14d6+14|3 = 14d6+14|4 = 14d6+28}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<15|-|15}} | | {{#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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<15|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<15|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=15}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<15|-|{{#switch:{{{sp}}}|0 = 15d4|1 = 15d6+15|2 = 15d6+15|3 = 15d6+15|4 = 15d6+30}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<15|-|{{#switch:{{{sp}}}|0 = 15d4|1 = 15d6+15|2 = 15d6+15|3 = 15d6+15|4 = 15d6+30}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<16|-|16}} | | {{#ifexpr:{{{max|35}}}<16|-|16}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<16|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<16|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=16}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<16|-|{{#switch:{{{sp}}}|0 = 16d4|1 = 16d6+16|2 = 16d6+16|3 = 16d6+32|4 = 16d6+32}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<16|-|{{#switch:{{{sp}}}|0 = 16d4|1 = 16d6+16|2 = 16d6+16|3 = 16d6+32|4 = 16d6+32}}}}}} | ||
|- | |- | ||
| {{#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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<17|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<17|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=17}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<17|-|{{#switch:{{{sp}}}|0 = 17d4|1 = 17d6+17|2 = 17d6+17|3 = 17d6+34|4 = 17d6+34}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<17|-|{{#switch:{{{sp}}}|0 = 17d4|1 = 17d6+17|2 = 17d6+17|3 = 17d6+34|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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<18|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<18|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=18}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<18|-|{{#switch:{{{sp}}}|0 = 18d4|1 = 18d6+18|2 = 18d6+18|3 = 18d6+36|4 = 18d6+54}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<18|-|{{#switch:{{{sp}}}|0 = 18d4|1 = 18d6+18|2 = 18d6+18|3 = 18d6+36|4 = 18d6+54}}}}}} | ||
|- | |- | ||
| {{#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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<19|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<19|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=19}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<19|-|{{#switch:{{{sp}}}|0 = 19d4|1 = 19d6+19|2 = 19d6+19|3 = 19d6+38|4 = 19d6+57}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<19|-|{{#switch:{{{sp}}}|0 = 19d4|1 = 19d6+19|2 = 19d6+19|3 = 19d6+38|4 = 19d6+57}}}}}} | ||
|- | |- | ||
| {{#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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<20|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<20|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=20}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<20|-|{{#switch:{{{sp}}}|0 = 20d4|1 = 20d6+20|2 = 20d6+20|3 = 20d6+40|4 = 20d6+60}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<20|-|{{#switch:{{{sp}}}|0 = 20d4|1 = 20d6+20|2 = 20d6+20|3 = 20d6+40|4 = 20d6+60}}}}}} | ||
|} | |} | ||
Line 145: | Line 145: | ||
| {{#ifexpr:{{{max|35}}}<21|-|21}} | | {{#ifexpr:{{{max|35}}}<21|-|21}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<21|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<21|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=21}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<21|-|{{#switch:{{{sp}}}|0 = 21d6|1 = 21d6+21|2 = 21d6+21|3 = 21d6+42|4 = 21d6+63}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<21|-|{{#switch:{{{sp}}}|0 = 21d6|1 = 21d6+21|2 = 21d6+21|3 = 21d6+42|4 = 21d6+63}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<22|-|22}} | | {{#ifexpr:{{{max|35}}}<22|-|22}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<22|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<22|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=22}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<22|-|{{#switch:{{{sp}}}|0 = 22d6|1 = 22d6+22|2 = 22d6+22|3 = 22d6+44|4 = 22d6+66}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<22|-|{{#switch:{{{sp}}}|0 = 22d6|1 = 22d6+22|2 = 22d6+22|3 = 22d6+44|4 = 22d6+66}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<23|-|23}} | | {{#ifexpr:{{{max|35}}}<23|-|23}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<23|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<23|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=23}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<23|-|{{#switch:{{{sp}}}|0 = 23d6|1 = 23d6+23|2 = 23d6+23|3 = 23d6+46|4 = 23d6+69}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<23|-|{{#switch:{{{sp}}}|0 = 23d6|1 = 23d6+23|2 = 23d6+23|3 = 23d6+46|4 = 23d6+69}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<24|-|24}} | | {{#ifexpr:{{{max|35}}}<24|-|24}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<24|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<24|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=24}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<24|-|{{#switch:{{{sp}}}|0 = 24d6|1 = 24d6+24|2 = 24d6+48|3 = 24d6+72|4 = 24d6+96}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<24|-|{{#switch:{{{sp}}}|0 = 24d6|1 = 24d6+24|2 = 24d6+48|3 = 24d6+72|4 = 24d6+96}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<25|-|25}} | | {{#ifexpr:{{{max|35}}}<25|-|25}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<25|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<25|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=25}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<25|-|{{#switch:{{{sp}}}|0 = 25d6|1 = 25d6+25|2 = 25d6+50|3 = 25d6+75|4 = 25d6+100}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<25|-|{{#switch:{{{sp}}}|0 = 25d6|1 = 25d6+25|2 = 25d6+50|3 = 25d6+75|4 = 25d6+100}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<26|-|26}} | | {{#ifexpr:{{{max|35}}}<26|-|26}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<26|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<26|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=26}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<26|-|{{#switch:{{{sp}}}|0 = 26d6|1 = 26d6+26|2 = 26d6+52|3 = 26d6+78|4 = 26d6+104}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<26|-|{{#switch:{{{sp}}}|0 = 26d6|1 = 26d6+26|2 = 26d6+52|3 = 26d6+78|4 = 26d6+104}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<27|-|27}} | | {{#ifexpr:{{{max|35}}}<27|-|27}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<27|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<27|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=27}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<27|-|{{#switch:{{{sp}}}|0 = 27d6|1 = 27d6+27|2 = 27d6+54|3 = 27d6+81|4 = 27d6+108}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<27|-|{{#switch:{{{sp}}}|0 = 27d6|1 = 27d6+27|2 = 27d6+54|3 = 27d6+81|4 = 27d6+108}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<28|-|28}} | | {{#ifexpr:{{{max|35}}}<28|-|28}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<28|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<28|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=28}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<28|-|{{#switch:{{{sp}}}|0 = 28d6|1 = 28d6+28|2 = 28d6+56|3 = 28d6+84|4 = 28d6+112}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<28|-|{{#switch:{{{sp}}}|0 = 28d6|1 = 28d6+28|2 = 28d6+56|3 = 28d6+84|4 = 28d6+112}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<29|-|29}} | | {{#ifexpr:{{{max|35}}}<29|-|29}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<29|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<29|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=29}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<29|-|{{#switch:{{{sp}}}|0 = 29d6|1 = 29d6+29|2 = 29d6+58|3 = 29d6+87|4 = 29d6+116}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<29|-|{{#switch:{{{sp}}}|0 = 29d6|1 = 29d6+29|2 = 29d6+58|3 = 29d6+87|4 = 29d6+116}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<30|-|30}} | | {{#ifexpr:{{{max|35}}}<30|-|30}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<30|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<30|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=30}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<30|-|{{#switch:{{{sp}}}|0 = 30d6|1 = 30d6+60|2 = 30d6+60|3 = 30d6+90|4 = 30d6+150}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<30|-|{{#switch:{{{sp}}}|0 = 30d6|1 = 30d6+60|2 = 30d6+60|3 = 30d6+90|4 = 30d6+150}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<31|-|31}} | | {{#ifexpr:{{{max|35}}}<31|-|31}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<31|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<31|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=31}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<31|-|{{#switch:{{{sp}}}|0 = 31d6|1 = 31d6+62|2 = 31d6+62|3 = 31d6+93|4 = 31d6+155}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<31|-|{{#switch:{{{sp}}}|0 = 31d6|1 = 31d6+62|2 = 31d6+62|3 = 31d6+93|4 = 31d6+155}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<32|-|32}} | | {{#ifexpr:{{{max|35}}}<32|-|32}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<32|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<32|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=32}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<32|-|{{#switch:{{{sp}}}|0 = 32d6|1 = 32d6+64|2 = 32d6+64|3 = 32d6+128|4 = 32d6+160}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<32|-|{{#switch:{{{sp}}}|0 = 32d6|1 = 32d6+64|2 = 32d6+64|3 = 32d6+128|4 = 32d6+160}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<33|-|33}} | | {{#ifexpr:{{{max|35}}}<33|-|33}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<33|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<33|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=33}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<33|-|{{#switch:{{{sp}}}|0 = 33d6|1 = 33d6+66|2 = 33d6+66|3 = 33d6+132|4 = 33d6+165}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<33|-|{{#switch:{{{sp}}}|0 = 33d6|1 = 33d6+66|2 = 33d6+66|3 = 33d6+132|4 = 33d6+165}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<34|-|34}} | | {{#ifexpr:{{{max|35}}}<34|-|34}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<34|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<34|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=34}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<34|-|{{#switch:{{{sp}}}|0 = 34d6|1 = 34d6+68|2 = 34d6+68|3 = 34d6+136|4 = 34d6+170}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<34|-|{{#switch:{{{sp}}}|0 = 34d6|1 = 34d6+68|2 = 34d6+68|3 = 34d6+136|4 = 34d6+170}}}}}} | ||
|- | |- | ||
| {{#ifexpr:{{{max|35}}}<35|-|35}} | | {{#ifexpr:{{{max|35}}}<35|-|35}} | ||
| 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}}  | | 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}}  | ||
| {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<35|-|{{#expr:{{{sp|1}}}+{{ | | {{#ifeq:{{{save}}}|N|-|{{#ifexpr:{{{max|35}}}<35|-|{{#expr:{{{sp|1}}}+{{MonsterAttackSave|transcludesection=35}}-1}}}}}} | ||
| {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<35|-|{{#switch:{{{sp}}}|0 = 35d6|1 = 35d6+70|2 = 35d6+70|3 = 35d6+140|4 = 35d6+175}}}}}} | | {{#ifeq:{{{dam}}}|N|-|{{#ifexpr:{{{max|35}}}<35|-|{{#switch:{{{sp}}}|0 = 35d6|1 = 35d6+70|2 = 35d6+70|3 = 35d6+140|4 = 35d6+175}}}}}} | ||
|} | |} |
Latest revision as of 17:36, 21 August 2022
Outputs a table of creator level-based rod costs, adjusted by spell level. Call as follows:
{{Rod-Costs | sp= | max= | save= | dam= }}
Parameters:
- sp = Values: 0 through 4. Sets the spell level of the spell on the rod. This sets the minimum creator level and the price factors. Default is 1.
- max = Values: 5 through 35. Sets the max creator level the rod can be purchased at. Typically where the spell maxes out (e.g. 20 for all cure spells). Default is 35.
- save = Values: N or skip parameter. "N" will hide all save DCs in the table.
- dam = Values: N or skip parameter. "N" will hide all damage info in the table.
Example:
{{Rod-Costs|sp=2|max=20}}
Outputs:
You can purchase this rod at a higher creator 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:
Creator Level | Cost | Save DC | Damage Dealt |
---|---|---|---|
- | - | - | - |
- | - | - | - |
3 | 4,500 gp | 16 | 3d6 |
4 | 6,600 gp | 17 | 4d6 |
5 | 9,000 gp | 18 | 5d6 |
6 | 12,000 gp | 19 | 6d6 |
7 | 15,000 gp | 19 | 7d6 |
8 | 19,200 gp | 20 | 8d6 |
9 | 24,000 gp | 20 | 9d6 |
10 | 30,000 gp | 21 | 10d6 |
11 | 37,200 gp | 22 | 11d6 |
12 | 45,000 gp | 23 | 12d6+12 |
13 | 54,600 gp | 24 | 13d6+13 |
14 | 67,200 gp | 25 | 14d6+14 |
15 | 85,200 gp | 27 | 15d6+15 |
16 | 115,800 gp | 28 | 16d6+16 |
17 | 156,000 gp | 28 | 17d6+17 |
18 | 216,000 gp | 29 | 18d6+18 |
19 | 288,000 gp | 30 | 19d6+19 |
20 | 384,000 gp | 31 | 20d6+20 |
Creator Level | Cost | Save DC | Damage Dealt |
---|---|---|---|
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |
- | - | - | - |