Difference between revisions of "Template:Mob Combat InfoBox"

m
m
Line 1: Line 1:
{{#arraydefine:slayerTypes|{{{slayer}}}}}{{#arraysort:slayerTypes|asc}}{| class=infobox
+
{{#arraydefine:slayerTypes|{{#replace:{{{slayer}}}|eodon tribe|Eodon Tribe}} }}{{#arraysort:slayerTypes|asc}}{| class=infobox
 
|class=titlecell colspan="2"| Combat
 
|class=titlecell colspan="2"| Combat
 
|-
 
|-
Line 6: Line 6:
 
| Ranged Attack                  || {{#if:{{{rangedAttack|}}}|{{{rangedAttack}}}|unknown{{Missing Info}}}}
 
| Ranged Attack                  || {{#if:{{{rangedAttack|}}}|{{{rangedAttack}}}|unknown{{Missing Info}}}}
 
|-
 
|-
| [[UO:Slayer Vulnerability|Slayer]] || {{#if:{{{slayer|}}}|{{#arrayprint:slayerTypes |<br/> |@@@@ |{{#vardefine: slayer | {{#replace:{{ucfirst:@@@@}}|eodon tribe|Eodon Tribe}} }}{{#ifeq:{{#var:slayer}} | None | {{#vardefine: slayer | none }} |[[UO:{{#var:slayer}} Slayer|{{#var:slayer}}]][[Category:UO:Creatures with {{#var:slayer}} slayer vulnerability]]}}unknown{{Missing Info}} }}
+
| [[UO:Slayer Vulnerability|Slayer]] || {{#ifeq: {{Boolean|{{{slayer}}} }} | 0 | unknown{{Missing Info}} |{{#ifeq: {{{slayer}}} | None | none |{{#arrayprint:slayerTypes |<br/> |@@@@ |{{#vardefine: slayer | {{ucfirst:@@@@}} }}[[UO:{{#var:slayer}} Slayer|{{#var:slayer}}]][[Category:UO:Creatures with {{#var:slayer}} slayer vulnerability]]}} }} }}
 
|-
 
|-
 
| [[UO:Slayer Vulnerability|Anti-Slayer]] ||  {{#if:{{{slayer|}}}|{{#loop: i
 
| [[UO:Slayer Vulnerability|Anti-Slayer]] ||  {{#if:{{{slayer|}}}|{{#loop: i

Revision as of 22:58, 15 June 2016

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.