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>]] ||  {{#arrayprint:slayerTypes||@@@@|{{#switch: {{lc:@@@@}}
+
| [[UO:Slayer Vulnerability|<span class="translatable">Anti-Slayer</span>]] ||  {{#vardefine:antislayer|}}{{#arrayprint:slayerTypes||@@@@|{{#switch: {{lc:@@@@}}
  | abyss = <span class="translatable">Elemental</span><br/><span class="translatable">Fey</span><br/>
+
  | abyss = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Elemental</span><br/><span class="translatable">Fey</span><br/>}}
  | arachnid = <span class="translatable">Reptile</span><br/>
+
  | arachnid = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Reptile</span><br/>}}
  | dinosaur = <span class="translatable">Myrmidex</span><br/>
+
  | dinosaur = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Myrmidex</span><br/>}}
  | myrmidex = <span class="translatable">Dinosaur</span><br/>
+
  | myrmidex = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Dinosaur</span><br/>}}
  | elemental = <span class="translatable">Abyss</span><br/>
+
  | elemental = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Abyss</span><br/>}}
  | eodon = <span class="translatable">Everything not in Eodon</span><br/>
+
  | eodon = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Everything not in Eodon</span><br/>}}
  | eodon tribe = <span class="translatable">Everything in Eodon not Eodon Tribe</span><br/>
+
  | eodon tribe = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Everything in Eodon not Eodon Tribe</span><br/>}}
  | fey = <span class="translatable">Abyss</span><br/>
+
  | fey = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Abyss</span><br/>}}
  | repond = <span class="translatable">Undead</span><br/>
+
  | repond = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Undead</span><br/>}}
  | reptile = <span class="translatable">Arachnid</span><br/>
+
  | reptile = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Arachnid</span><br/>}}
  | undead = <span class="translatable">Repond</span><br/>
+
  | undead = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">Repond</span><br/>}}
  | none = <span class="translatable">none</span>
+
  | none = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">none</span>}}
  | #default  = <span class="translatable">none</span>
+
  | #default  =  
 
}}|unknown}}
 
}}|unknown}}
 +
 +
 +
{{#len:{{#var:antislayer}}}} {{#var:antislayer}}
 +
 +
 
|-
 
|-
 
| <span class="translatable">Speed</span> || {{#if:{{{speed|}}}|<span class="translatable">{{{speed}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}}
 
| <span class="translatable">Speed</span> || {{#if:{{{speed|}}}|<span class="translatable">{{{speed}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}}

Revision as of 15:49, 20 April 2017

Combat
Base Damage unknown
Ranged Attack unknown
Slayer unknown
Anti-Slayer


38 none


Speed unknown
Auto-Dispel? unknown
Special Attacks? unknown
5 points higher if paragon.