Difference between revisions of "Template:Creature"

From Fallen Sword Wiki
Jump to: navigation, search
Line 105: Line 105:
 
{{#ifeq: {{{area|No}}} | No || '''&bull;''' [[{{{area|}}}]]<br>}}{{#ifeq: {{{area-2|No}}} | No || '''&bull;''' [[{{{area-2|}}}]]<br>}}{{#ifeq: {{{area-3|No}}} | No || '''&bull;''' [[{{{area-3|}}}]]<br>}}{{#ifeq: {{{area-4|No}}} | No || '''&bull;''' [[{{{area-4|}}}]]<br>}}{{#ifeq: {{{area-5|No}}} | No || '''&bull;''' [[{{{area-5|}}}]]<br>}}{{#ifeq: {{{area-6|No}}} | No || '''&bull;''' [[{{{area-6|}}}]]<br>}}{{#ifeq: {{{area-7|No}}} | No || '''&bull;''' [[{{{area-7|}}}]]<br>}}{{#ifeq: {{{area-8|No}}} | No || '''&bull;''' [[{{{area-8|}}}]]<br>}}{{#ifeq: {{{area-9|No}}} | No || '''&bull;''' [[{{{area-9|}}}]]<br>}}{{#ifeq: {{{area-10|No}}} | No || '''&bull;''' [[{{{area-10|}}}]]<br>}}{{#ifeq: {{{area-11|No}}} | No || '''&bull;''' [[{{{area-11|}}}]]<br>}}{{#ifeq: {{{area-12|No}}} | No || '''&bull;''' [[{{{area-12|}}}]]<br>}}{{#ifeq: {{{area-13|No}}} | No || '''&bull;''' [[{{{area-13|}}}]]<br>}}{{#ifeq: {{{area-14|No}}} | No || '''&bull;''' [[{{{area-14|}}}]]<br>}}{{#ifeq: {{{area-15|No}}} | No || '''&bull;''' [[{{{area-15|}}}]]<br>}}{{#ifeq: {{{area-16|No}}} | No || '''&bull;''' [[{{{area-16|}}}]]<br>}}{{#ifeq: {{{area-17|No}}} | No || '''&bull;''' [[{{{area-17|}}}]]<br>}}{{#ifeq: {{{area-18|No}}} | No || '''&bull;''' [[{{{area-18|}}}]]<br>}}{{#ifeq: {{{area-19|No}}} | No || '''&bull;''' [[{{{area-19|}}}]]<br>}}{{#ifeq: {{{area-20|No}}} | No || '''&bull;''' [[{{{area-20|}}}]]<br>}}
 
{{#ifeq: {{{area|No}}} | No || '''&bull;''' [[{{{area|}}}]]<br>}}{{#ifeq: {{{area-2|No}}} | No || '''&bull;''' [[{{{area-2|}}}]]<br>}}{{#ifeq: {{{area-3|No}}} | No || '''&bull;''' [[{{{area-3|}}}]]<br>}}{{#ifeq: {{{area-4|No}}} | No || '''&bull;''' [[{{{area-4|}}}]]<br>}}{{#ifeq: {{{area-5|No}}} | No || '''&bull;''' [[{{{area-5|}}}]]<br>}}{{#ifeq: {{{area-6|No}}} | No || '''&bull;''' [[{{{area-6|}}}]]<br>}}{{#ifeq: {{{area-7|No}}} | No || '''&bull;''' [[{{{area-7|}}}]]<br>}}{{#ifeq: {{{area-8|No}}} | No || '''&bull;''' [[{{{area-8|}}}]]<br>}}{{#ifeq: {{{area-9|No}}} | No || '''&bull;''' [[{{{area-9|}}}]]<br>}}{{#ifeq: {{{area-10|No}}} | No || '''&bull;''' [[{{{area-10|}}}]]<br>}}{{#ifeq: {{{area-11|No}}} | No || '''&bull;''' [[{{{area-11|}}}]]<br>}}{{#ifeq: {{{area-12|No}}} | No || '''&bull;''' [[{{{area-12|}}}]]<br>}}{{#ifeq: {{{area-13|No}}} | No || '''&bull;''' [[{{{area-13|}}}]]<br>}}{{#ifeq: {{{area-14|No}}} | No || '''&bull;''' [[{{{area-14|}}}]]<br>}}{{#ifeq: {{{area-15|No}}} | No || '''&bull;''' [[{{{area-15|}}}]]<br>}}{{#ifeq: {{{area-16|No}}} | No || '''&bull;''' [[{{{area-16|}}}]]<br>}}{{#ifeq: {{{area-17|No}}} | No || '''&bull;''' [[{{{area-17|}}}]]<br>}}{{#ifeq: {{{area-18|No}}} | No || '''&bull;''' [[{{{area-18|}}}]]<br>}}{{#ifeq: {{{area-19|No}}} | No || '''&bull;''' [[{{{area-19|}}}]]<br>}}{{#ifeq: {{{area-20|No}}} | No || '''&bull;''' [[{{{area-20|}}}]]<br>}}
 
|}
 
|}
 +
== Hunting Information ==
 +
{| width="100%" cellspacing="0" cellpadding="0"
 +
! &nbsp;
 +
! bgcolor="#eeeeff" | Attack
 +
! Defense
 +
! bgcolor="#eeeeff" | Armor
 +
! 1 Hit Dam.
 +
! bgcolor="#eeeeff" | 2 Hit Dam.
 +
! 3 Hit Dam.
 +
! bgcolor="#eeeeff" | 4 Hit Dam.
 +
! 5 Hit Dam.
 +
! bgcolor="#eeeeff" | 6 Hit Dam.
 +
|-
 +
! align="left" | Stats to Beat:
 +
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{{defense-max|0}}}}}</tt>
 +
| style="color:#063" align="center" | <tt>{{formatnum:{{{attack-max|0}}}}}</tt>
 +
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{{damage-max|0}}}}}</tt>
 +
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: {{{hp-max|0}}} + {{{armor-max|0}}} }}}}</tt>
 +
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/2) }}}}</tt>
 +
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/3) }}}}</tt>
 +
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/4) }}}}</tt>
 +
| style="color:#063" align="center" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/5) }}}}</tt>
 +
| style="color:#063" align="center" bgcolor="#eeeeff" | <tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} + {{{armor-max|0}}})/6) }}}}</tt>
 +
|-
 +
! align="left" | Target Stats:
 +
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil({{{defense-max|0}}} + ({{{defense-max|0}}} * .1053)) }}}}</tt>'''
 +
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil({{{attack-max|0}}} + ({{{attack-max|0}}} * .1053)) }}}}</tt>'''
 +
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil({{{damage-max|0}}} + ({{{damage-max|0}}} * .1053)) }}}}</tt>'''
 +
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil(({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053)) }}}}</tt>'''
 +
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/2) }}}}</tt>'''
 +
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/3) }}}}</tt>'''
 +
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/4) }}}}</tt>'''
 +
| style="color:#800" align="center" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/5) }}}}</tt>'''
 +
| style="color:#800" align="center" bgcolor="#eeeeff" | '''<tt>{{formatnum:{{#expr: ceil((({{{hp-max|0}}} * 1.1053) + ({{{armor-max|0}}} * 1.053))/6) }}}}</tt>'''
 +
|}
 +
<!-- Formulas to calculate target stats taken from http://forum.fallensword.com/viewtopic.php?t=32263 -->
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
[[Category:Bestiary]]{{#switch: {{lc:{{{class}}}}}
 
[[Category:Bestiary]]{{#switch: {{lc:{{{class}}}}}

Revision as of 01:14, 5 December 2008

Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.

This template allows easy adding of creature pages. To use, copy the following code to the creature's page and fill in the banks. Remove anything that is extra. If a creature cannot be completely represented by this template, please use the talk page to request a change.

{{Creature
|image=
|name=
|class=
|description=
|rarity=
|level=
|xp-min=
|xp-max=
|attack-min=
|attack-max=
|defense-min=
|defense-max=
|armor-min=
|armor-max=
|damage-min=
|damage-max=
|hp-min=
|hp-max=
|gold-min=
|gold-max=
|enhancement-1=
|enhancement-1-min=
|enhancement-1-max=
|enhancement-2=
|enhancement-2-min=
|enhancement-2-max=
|enhancement-3=
|enhancement-3-min=
|enhancement-3-max=
|enhancement-4=
|enhancement-4-min=
|enhancement-4-max=
|enhancement-5=
|enhancement-5-min=
|enhancement-5-max=
|drop=
|drop-2=
|drop-3=
|drop-4=
|drop-5=
|area=
|area-2=
}}

The rarity parameter is for champion, elites, etc., so those creatures are added to the appropriate categories. The parameter can be removed for all other creatures.

There are also parameters for enhancement-6 through enhancement-25 and drop-6 through drop-20 and area-6 through area-20