Template:Rod-Costs: Difference between revisions

From Epic Path
Jump to navigation Jump to search
(Created page with "noinclude> Outputs a table of caster level-based rod costs, adjusted by spell level. Call as follows: <pre> {{Rod-Costs | sp= | max= }} </pre> '''Parameters:''' * '''sp'''...")
 
No edit summary
Line 1: Line 1:
noinclude>
<noinclude>
Outputs a table of caster level-based rod costs, adjusted by spell level. Call as follows:
Outputs a table of caster level-based rod costs, adjusted by spell level. Call as follows:


Line 15: Line 15:
'''Example:'''
'''Example:'''
* <code><nowiki>{{Rod-Costs|sp=2|max=10}}</nowiki></code>
* <code><nowiki>{{Rod-Costs|sp=2|max=10}}</nowiki></code>
'''Outputs:'''
{{Rod-Costs|sp=2|max=11}}


</noinclude><includeonly>{| style="ep-default2" style="text-align:right"
</noinclude><includeonly>{| style="ep-default2" style="text-align:right"
|- style="{{linear-gradient|top|#C0D7EF, #FFF2FB}}; Color:#000;"
|- style="{{linear-gradient|top|#C0D7EF, #FFF2FB}}; Color:#000;"
! align="center" width="10%" | Caster Level || align="center" width="9%" | Cost || width="3%" | || align="center" width="10%" | Caster Level || align="center" width="9%" | Cost || width="3%" | || align="center" width="10%" | Caster Level || align="center" width="9%" | Cost || width="3%" | || align="center" width="10%" | Caster Level || align="center" width="9%" | Cost
! align="center" width="6%" | Caster Level  
! align="center" width="16%" | Cost
! width="4%" |
! align="center" width="6%" | Caster Level
! align="center" width="16%" | Cost
! width="4%" |
! align="center" width="6%" | Caster Level
! align="center" width="16%" | Cost
! width="4%" |
! align="center" width="6%" | Caster Level
! align="center" width="16%" | Cost
|-
|-
| 1 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=1}} * 0.375}}}} || 11 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=11}} * 0.375}}}} || 21 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=21}} * 0.375}}}} || 31 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=31}} * 0.375}}}}
| align="center" | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<1|-|1}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=1}} * 0.375}}}}
|  
| align="center" | {{#ifexpr:{{{max|35}}}<11|-|11}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=11}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<21|-|21}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=21}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<31|-|31}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=31}} * 0.375}}}}
|-
|-
| 2 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=2}} * 0.375}}}} || 12 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=12}} * 0.375}}}} || 22 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=22}} * 0.375}}}} || 32 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=32}} * 0.375}}}}
| align="center" | {{#ifexpr:{{{sp|1}}}>1 or {{{max|35}}}<2|-|2}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=2}} * 0.375}}}}
|
| align="center" | {{#ifexpr:{{{max|35}}}<12|-|12}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=12}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<22|-|22}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=22}} * 0.375}}}}  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<32|-|32}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=32}} * 0.375}}}}
|-
|-
| 3 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=3}} * 0.375}}}} || 13 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=13}} * 0.375}}}} || 23 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=23}} * 0.375}}}} || 33 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=33}} * 0.375}}}}
| align="center" | {{#ifexpr:{{{sp|1}}}<2 or {{{max|35}}}<3|-|3}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=3}} * 0.375}}}}
|
| align="center" | {{#ifexpr:{{{max|35}}}<13|-|13}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=13}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<23|-|23}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=23}} * 0.375}}}}  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<33|-|33}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=33}} * 0.375}}}}
|-
|-
| 4 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=4}} * 0.375}}}} || 14 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=14}} * 0.375}}}} || 24 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=24}} * 0.375}}}} || 34 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=34}} * 0.375}}}}
| align="center" | {{#ifexpr:{{{sp|1}}}>2 or {{{max|35}}}<4|-|4}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=4}} * 0.375}}}}
|
| align="center" | {{#ifexpr:{{{max|35}}}<14|-|14}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=14}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<24|-|24}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=24}} * 0.375}}}}  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<34|-|34}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=34}} * 0.375}}}}
|-
|-
| 5 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=5}} * 0.375}}}} || 15 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=15}} * 0.375}}}} || 25 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=25}} * 0.375}}}} || 35 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=35}} * 0.375}}}}
| align="center" | {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<5|-|5}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=5}} * 0.375}}}}
|  
| align="center" | {{#ifexpr:{{{max|35}}}<15|-|15}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=15}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<25|-|25}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=25}} * 0.375}}}}  
|  
| align="center" | {{#ifexpr:{{{max|35}}}<35|-|35}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=35}} * 0.375}}}}
|-
|-
| 6 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=6}} * 0.375}}}} || 16 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=16}} * 0.375}}}} || 26 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=26}} * 0.375}}}} || - || -
| align="center" | {{#ifexpr:{{{sp|1}}}>3 or {{{max|35}}}<6|-|6}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=6}} * 0.375}}}}
|
| align="center" | {{#ifexpr:{{{max|35}}}<16|-|16}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=16}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<26|-|26}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=26}} * 0.375}}}}  
|
| align="center" | -  
| -
|-
|-
| 7 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=7}} * 0.375}}}} || 17 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=17}} * 0.375}}}} || 27 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=27}} * 0.375}}}} || - || -
| align="center" | {{#ifexpr:{{{max|35}}}<7|-|7}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=7}} * 0.375}}}}
|  
| align="center" | {{#ifexpr:{{{max|35}}}<17|-|17}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=17}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<27|-|27}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=27}} * 0.375}}}}  
|  
| align="center" | -  
| -
|-
|-
| 8 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=8}} * 0.375}}}} || 18 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=18}} * 0.375}}}} || 28 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=28}} * 0.375}}}} || - || -
| align="center" | {{#ifexpr:{{{max|35}}}<8|-|8}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=8}} * 0.375}}}}
|  
| align="center" | {{#ifexpr:{{{max|35}}}<18|-|18}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=18}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<28|-|28}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=28}} * 0.375}}}}  
|  
| align="center" | -  
| -
|-
|-
| 9 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=9}} * 0.375}}}} || 19 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=19}} * 0.375}}}} || 29 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=29}} * 0.375}}}} || - || -
| align="center" | {{#ifexpr:{{{max|35}}}<9|-|9}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=9}} * 0.375}}}}
|  
| align="center" | {{#ifexpr:{{{max|35}}}<19|-|19}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=19}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<29|-|29}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=29}} * 0.375}}}}  
|  
| align="center" | -  
| -
|-
|-
| 10 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=10}} * 0.375}}}} || 20 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=20}} * 0.375}}}} || 30 || {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=30}} * 0.375}}}} || - || -
| align="center" | {{#ifexpr:{{{max|35}}}<10|-|10}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=10}} * 0.375}}}}
|  
| align="center" | {{#ifexpr:{{{max|35}}}<20|-|20}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=20}} * 0.375}}}}  
|
| align="center" | {{#ifexpr:{{{max|35}}}<30|-|30}}
| {{#number_format: {{#expr: {{Magic-Item-Base-Price|transcludesection=30}} * 0.375}}}}  
|  
| align="center" | -  
| -
|}</includeonly>
|}</includeonly>

Revision as of 13:27, 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=10}}

Outputs:

Caster Level Cost Caster Level Cost Caster Level Cost Caster Level Cost
- 750 11 23,250 - 318,750 - 5,400,000
- 1,688 - 28,125 - 427,500 - 7,087,500
3 2,813 - 34,125 - 566,250 - 9,375,000
4 4,125 - 42,000 - 750,000 - 12,412,500
5 5,625 - 53,250 - 975,000 - 16,537,500
6 7,500 - 72,375 - 1,312,500 - -
7 9,375 - 97,500 - 1,725,000 - -
8 12,000 - 135,000 - 2,325,000 - -
9 15,000 - 180,000 - 3,075,000 - -
10 18,750 - 240,000 - 4,087,500 - -