Difference between revisions of "Template:Mob Combat InfoBox"

m
m
Line 8: Line 8:
 
| [[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|<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|<span class="translatable">Anti-Slayer</span>]] ||  {{#if:{{{slayer|}}}|{{#loop: i
+
| [[UO:Slayer Vulnerability|<span class="translatable">Anti-Slayer</span>]] ||  {{#arrayprint:slayerTypes||@@@@|
  | 0
+
{{#switch: @@@@
  | {{#arraysize:slayerTypes}}
 
  | {{#arraydefine: val | {{#arrayindex:slayerTypes | {{#var:i}} }} | , }}
 
 
 
{{#arrayprint:slayerTypes}}
 
 
 
{{#switch: {{#arrayindex:val | 0}}
 
 
  | Abyss = <span class="translatable">Elemental</span><br/><span class="translatable">Fey</span><br/>
 
  | Abyss = <span class="translatable">Elemental</span><br/><span class="translatable">Fey</span><br/>
 
  | Arachnid = <span class="translatable">Reptile</span><br/>
 
  | Arachnid = <span class="translatable">Reptile</span><br/>

Revision as of 15:06, 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.