Difference between revisions of "Template:Mob Combat InfoBox"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 2: | Line 2: | ||
|class=titlecell colspan="2"| Combat | |class=titlecell colspan="2"| Combat | ||
|- | |- | ||
− | | Base Damage {{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 || ᵉ}} | + | | <span class="translatable">Base Damage</span> {{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 || ᵉ}} || {{#if:{{{baseDamage|}}}|{{{baseDamage}}}|<span class="translatable">unknown</span>{{Missing Info}}}} |
|- | |- | ||
− | | Ranged Attack | + | | <span class="translatable">Ranged Attack</span> || {{#if:{{{rangedAttack|}}}|<span class="translatable">{{{rangedAttack}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}} |
|- | |- | ||
− | | [[UO:Slayer Vulnerability|Slayer]] || {{#if: {{{slayer|}}} | {{#ifeq: {{{slayer}}} |none | none |{{#arrayprint:slayerTypes |<br/> |@@@@ |{{#vardefine: slayer | {{ucfirst:@@@@}} }}[[UO:{{#var:slayer}} Slayer|{{#var:slayer}}]][[Category:UO:Creatures with {{#var:slayer}} slayer vulnerability]]}} }} | unknown{{Missing Info}} }} | + | | [[UO:Slayer Vulnerability|<span class="translatable">Slayer</span>]] || {{#if: {{{slayer|}}} | {{#ifeq: {{{slayer}}} |<span class="translatable">none</span> | <span class="translatable">none</span> |{{#arrayprint:slayerTypes |<br/> |@@@@ |{{#vardefine: slayer | {{ucfirst:@@@@}} }}<span class="translatable">[[UO:{{#var:slayer}} Slayer|{{#var:slayer}}]]</span>[[Category:UO:Creatures with {{#var:slayer}} slayer vulnerability]]}} }} | <span class="translatable">unknown</span>{{Missing Info}} }} |
|- | |- | ||
− | | [[UO:Slayer Vulnerability|Anti-Slayer]] || {{#if:{{{slayer|}}}|{{#loop: i | + | | [[UO:Slayer Vulnerability|<span class="translatable">Anti-Slayer</span>]] || {{#if:{{{slayer|}}}|{{#loop: i |
| 0 | | 0 | ||
| {{#arraysize:slayerTypes}} | | {{#arraysize:slayerTypes}} | ||
− | | {{#arraydefine: val | {{#arrayindex:slayerTypes | {{#var:i}} }} | , }}{{#switch: {{#arrayindex:val | 0}} | + | | {{#arraydefine: val | {{#arrayindex:slayerTypes | {{#var:i}} }} | , }} |
− | | Abyss = Elemental<br/>Fey<br/> | + | |
− | | Arachnid = Reptile<br/> | + | {{#arrayindex:val | 0}} |
− | | Dinosaur = Myrmidex<br/> | + | |
− | | Myrmidex = Dinosaur<br/> | + | {{#switch: {{#arrayindex:val | 0}} |
− | | Elemental = Abyss<br/> | + | | Abyss = <span class="translatable">Elemental</span><br/><span class="translatable">Fey</span><br/> |
− | | Eodon = Everything not in Eodon<br/> | + | | Arachnid = <span class="translatable">Reptile</span><br/> |
− | | Eodon Tribe = Everything in Eodon not Eodon Tribe<br/> | + | | Dinosaur = <span class="translatable">Myrmidex</span><br/> |
− | | Fey = Abyss<br/> | + | | Myrmidex = <span class="translatable">Dinosaur</span><br/> |
− | | Repond = Undead<br/> | + | | Elemental = <span class="translatable">Abyss</span><br/> |
− | | Reptile = Arachnid<br/> | + | | Eodon = <span class="translatable">Everything not in Eodon</span><br/> |
− | | Undead = Repond<br/> | + | | Eodon Tribe = <span class="translatable">Everything in Eodon not Eodon Tribe</span><br/> |
− | | None = none | + | | Fey = <span class="translatable">Abyss</span><br/> |
− | | #default = none | + | | Repond = <span class="translatable">Undead</span><br/> |
+ | | Reptile = <span class="translatable">Arachnid</span><br/> | ||
+ | | Undead = <span class="translatable">Repond</span><br/> | ||
+ | | None = <span class="translatable">none</span> | ||
+ | | #default = <span class="translatable">none</span> | ||
}}}}|unknown}} | }}}}|unknown}} | ||
|- | |- | ||
− | | Speed | + | | <span class="translatable">Speed</span> || {{#if:{{{speed|}}}|<span class="translatable">{{{speed}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}} |
|- | |- | ||
− | | [[UO:Auto-dispel|Auto-Dispel?]] | + | | [[UO:Auto-dispel|<span class="translatable">Auto-Dispel?</span>]] || {{#if:{{{autoDispel|}}}|<span class="translatable">{{{autoDispel}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}} |
|- | |- | ||
− | | Special Attacks? | + | | <span class="translatable">Special Attacks?</span> || {{#if:{{{specialAttack|}}}|<span class="translatable">{{{specialAttack}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}} |
{{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 ||{{!}}- | {{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 ||{{!}}- | ||
− | {{!}}style="font-weight:500;padding-top:1em;" colspan="2"{{!}} <small>ᵉ 5 points higher if paragon.</small> | + | {{!}}style="font-weight:500;padding-top:1em;" colspan="2"{{!}} <small>ᵉ <span class="translatable">5 points higher if paragon.</span></small> |
}} | }} | ||
|} | |} |
Revision as of 14:59, 20 April 2017
Combat | |
Base Damage ᵉ | unknown |
Ranged Attack | unknown |
Slayer | unknown |
Anti-Slayer | unknown |
Speed | unknown |
Auto-Dispel? | unknown |
Special Attacks? | unknown |
ᵉ 5 points higher if paragon. |