Difference between revisions of "Template:3.5e Armor Material Enhancements"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m (Undo revision 142296 by Aarnott (talk))
 
Line 8: Line 8:
 
{{#ifeq: {{{ls|}}} |s |
 
{{#ifeq: {{{ls|}}} |s |
 
{{!}}-  
 
{{!}}-  
{{!}} style="text-align: left;" {{!}} [[SRD:Adamantine|Adamantine]] {{!!}} {{#expr: {{{cost}}}+{{#switch: {{{lmh}}} |l=5000 |m=10000 |h=15000}}+{{#switch: {{{slmh}}} |s=2000 |l=5000 |m=10000 |h=15000}} }} gp {{!!}} 20 {{!!}} {{#expr: floor({{{hp}}}*4/3)}} {{!!}} style="text-align: left;" {{!}} {{#switch: {{{lmh}}} |l = Grants wearer [[SRD:DR|DR]] 1/- |m = Grants wearer [[SRD:DR|DR]] 2/- |h = Grants wearer [[SRD:DR|DR]] 3/- }}
+
{{!}} style="text-align: left;" {{!}} [[SRD:Adamantine|Adamantine]] {{!!}} {{#expr: {{{cost}}}+{{#switch: {{{lmh}}} |l=5000 |m=10000 |h=15000}} }} gp {{!!}} 20 {{!!}} {{#expr: floor({{{hp}}}*4/3)}} {{!!}} style="text-align: left;" {{!}} {{#switch: {{{lmh}}} |l = Grants wearer [[SRD:DR|DR]] 1/- |m = Grants wearer [[SRD:DR|DR]] 2/- |h = Grants wearer [[SRD:DR|DR]] 3/- }}
 
{{!}}-  
 
{{!}}-  
{{!}} style="text-align: left;" {{!}} [[SRD:Deep Crystal|Crystal, Deep]] {{!!}} {{#expr: {{{cost}}}+{{#switch: {{{lmh}}} |l=2000 |m=4000 |h=6000}}+{{#switch: {{{slmh}}} |s=2000 |l=2000 |m=4000 |h=6000}} }} gp {{!!}} 10 {{!!}} {{{hp}}} {{!!}} style="text-align: left;" {{!}} Does not rust
+
{{!}} style="text-align: left;" {{!}} [[SRD:Deep Crystal|Crystal, Deep]] {{!!}} {{#expr: {{{cost}}}+{{#switch: {{{lmh}}} |l=2000 |m=4000 |h=6000}} }} gp {{!!}} 10 {{!!}} {{{hp}}} {{!!}} style="text-align: left;" {{!}} Does not rust
 
{{!}}-  
 
{{!}}-  
 
{{!}} style="text-align: left;" {{!}} [[SRD:Mundane Crystal|Crystal, Mundane]] {{!!}} {{#expr: {{{cost}}}+150}} gp {{!!}} 8 {{!!}} {{#expr: floor({{{hp}}}*5/6)}} {{!!}} style="text-align: left;" {{!}} Does not rust }}
 
{{!}} style="text-align: left;" {{!}} [[SRD:Mundane Crystal|Crystal, Mundane]] {{!!}} {{#expr: {{{cost}}}+150}} gp {{!!}} 8 {{!!}} {{#expr: floor({{{hp}}}*5/6)}} {{!!}} style="text-align: left;" {{!}} Does not rust }}
Line 19: Line 19:
 
{{#ifeq: {{{ls|}}} |s |
 
{{#ifeq: {{{ls|}}} |s |
 
{{!}}-  
 
{{!}}-  
{{!}} style="text-align: left;" {{!}} [[SRD:Mithral|Mithral]] {{!!}} {{#expr: {{{cost}}}+{{#switch: {{{lmh}}} |l=1000 |m=4000 |h=9000}}+{{#switch: {{{slmh}}} |s=1000 |l=1000 |m=4000 |h=9000}} }} gp {{!!}} 15 {{!!}} {{{hp}}} {{!!}} style="text-align: left;" {{!}} Half weight,<br/>{{#switch: {{{lmh}}} |l = |m = Treated as light armor,<br/> |h = Treated as medium armor,<br/>}}Increase max Dex bonus by 2,<br/>Reduce armor check penalty by 3 (min 0),<br/>Reduced ASF by 10% }}
+
{{!}} style="text-align: left;" {{!}} [[SRD:Mithral|Mithral]] {{!!}} {{#expr: {{{cost}}}+{{#switch: {{{lmh}}} |l=1000 |m=4000 |h=9000}} }} gp {{!!}} 15 {{!!}} {{{hp}}} {{!!}} style="text-align: left;" {{!}} Half weight,<br/>{{#switch: {{{lmh}}} |l = |m = Treated as light armor,<br/> |h = Treated as medium armor,<br/>}}Increase max Dex bonus by 2,<br/>Reduce armor check penalty by 3 (min 0),<br/>Reduced ASF by 10% }}
 
|-
 
|-
 
| colspan="6" class="foot" |  
 
| colspan="6" class="foot" |  

Latest revision as of 20:38, 26 August 2011

Template documentation (for the above template, sometimes hidden or invisible)

This template creates a formatted table for 3.5e armors.

Parameters[edit]

Parameter Required Description Example
name Yes The name of the armor. Breastplate
lmh Yes The armor's category. Enter either: l= light, m= medium, h= heavy. m
cost Yes The armor's cost for a medium humanoid. This parameter is used to calculate the cost of the armor when made from alternate materials. 200
hp Yes The armor's default hit points. This is generally equal to the armor bonus times 5, but some homebrew armor may have different values. 25
ls Yes The material that the armor is primarily made from. Enter either: l= leather, cloth, or hide, s= steel or metal. s
drag No Can the armor be made from Dragonhide. The number of armors that can be made from dragon hide are rather limited, and so you must indicated explicitly if the armor can be made from dragon hide. Providing any value here will add the line to the table. 1

Examples[edit]

The example armor below is defined in wiki-text as follows:

{{3.5e Armor Material Enhancements
|name=Breastplate
|ls=s
|lmh=m
|cost=200
|hp=25
|drag=1
}}

This text becomes:


Breastplate Material Enhancements
Material Cost1 Hardness Hit Points Special
Masterwork Steel 350 gp 10 25 -
Adamantine 10200 gp 20 33 Grants wearer DR 2/-
Crystal, Deep 4200 gp 10 25 Does not rust
Crystal, Mundane 350 gp 8 20 Does not rust
Dragonhide 700 gp 10 8 Non-metal armor
Mithral 4200 gp 15 25 Half weight,
Treated as light armor,
Increase max Dex bonus by 2,
Reduce armor check penalty by 3 (min 0),
Reduced ASF by 10%
  1. The given costs include the masterwork component.