Difference between revisions of "Template:Mob Combat InfoBox"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#arraydefine:slayerTypes|{{#replace:{{{slayer|None}}}|eodon tribe|Eodon Tribe}} }}{{#arraysort:slayerTypes|asc}}{| class=infobox style="clear: right;" | {{#arraydefine:slayerTypes|{{#replace:{{{slayer|None}}}|eodon tribe|Eodon Tribe}} }}{{#arraysort:slayerTypes|asc}}{| class=infobox style="clear: right;" | ||
− | |class=titlecell colspan="2"| Combat | + | |class=titlecell colspan="2"| <span class="translatable">Combat</span> |
|- | |- | ||
| <span class="translatable">Base Damage</span> {{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 || ᵉ}} || {{#if:{{{baseDamage|}}}|{{{baseDamage}}}|<span class="translatable">unknown</span>{{Missing Info}}}} | | <span class="translatable">Base Damage</span> {{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 || ᵉ}} || {{#if:{{{baseDamage|}}}|{{{baseDamage}}}|<span class="translatable">unknown</span>{{Missing Info}}}} | ||
Line 6: | Line 6: | ||
| <span class="translatable">Ranged Attack</span> || {{#if:{{{rangedAttack|}}}|<span class="translatable">{{{rangedAttack}}}</span>|<span class="translatable">unknown</span>{{Missing Info}}}} | | <span class="translatable">Ranged Attack</span> || {{#if:{{{rangedAttack|}}}|<span class="translatable">{{{rangedAttack}}}</span>|<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">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">{{#ifeq:{{#var:slayer}}|None|None|[[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">[[UO:Elemental Slayer|Elemental]]</span><br/><span class="translatable">Fey</span><br/>}} |
− | | arachnid = <span class="translatable">Reptile</span><br/> | + | | arachnid = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Reptile Slayer|Reptile]]</span><br/>}} |
− | | dinosaur = <span class="translatable">Myrmidex</span><br/> | + | | dinosaur = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Myrmidex Slayer|Myrmidex]]</span><br/>}} |
− | | myrmidex = <span class="translatable">Dinosaur</span><br/> | + | | myrmidex = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Dinosaur Slayer|Dinosaur]]</span><br/>}} |
− | | elemental = <span class="translatable">Abyss</span><br/> | + | | elemental = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Abyss Slayer|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">[[UO:Abyss Slayer|Abyss]]</span><br/>}} |
− | | repond = <span class="translatable">Undead</span><br/> | + | | repond = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Undead Slayer|Undead]]</span><br/>}} |
− | | reptile = <span class="translatable">Arachnid</span><br/> | + | | reptile = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Arachnid Slayer|Arachnid]]</span><br/>}} |
− | | undead = <span class="translatable">Repond</span><br/> | + | | undead = {{#vardefine:antislayer|{{#var:antislayer}}<span class="translatable">[[UO:Repond Slayer|Repond]]</span><br/>}} |
− | | none = | + | | none = |
− | | #default = <span class="translatable"> | + | | #default = |
− | }} | + | }}|unknown}}{{#ifeq:0|{{#len:{{#var:antislayer}}}}|<span class="translatable">None</span>|{{#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}}}} | ||
+ | {{BoolInfoLine | ||
+ | | field = Auto-Dispel? | ||
+ | | param = {{{autoDispel|}}} | ||
+ | | tip = Does this mobile auto-dispel summons? | ||
+ | | unknownCat = Mobiles with missing info | ||
+ | }} | ||
|- | |- | ||
− | + | | <span class="translatable">Special Moves & Abilities</span> || {{#arraydefine:specialAttackArray|{{{specialAttack}}}}}{{#replace:{{#if:{{{specialAttack|}}}|{{#arrayprint:specialAttackArray|<br/>|@@@@ |{{#switch: @@@@ | |
− | | | + | | Bushido |
− | | | + | | Chivalry |
+ | | Discordance | ||
+ | | Magery | ||
+ | | Mysticism | ||
+ | | Necromancy | ||
+ | | Ninjitsu | ||
+ | | Spellweaving | ||
+ | | Mimic | ||
+ | | Strangle = [[UO:@@@@ (ability)|@@@@]] | ||
+ | | #default = [[UO:@@@@]] | ||
+ | }}[[Category:UO Mobiles using @@@@]]}}|<span class="translatable">unknown</span>{{Missing Info}}}}|[[UO:None]]|None}} | ||
{{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 ||{{!}}- | {{#ifeq: {{Boolean|{{{disableParagon}}} }} | 1 ||{{!}}- | ||
{{!}}style="font-weight:500;padding-top:1em;" colspan="2"{{!}} <small>ᵉ <span class="translatable">5 points higher if paragon.</span></small> | {{!}}style="font-weight:500;padding-top:1em;" colspan="2"{{!}} <small>ᵉ <span class="translatable">5 points higher if paragon.</span></small> | ||
}} | }} | ||
|} | |} |
Latest revision as of 00:42, 11 July 2017
Combat | |
Base Damage ᵉ | unknown |
Ranged Attack | unknown |
Slayer | unknown |
Anti-Slayer | None |
Speed | unknown |
Does this mobile auto-dispel summons?Auto-Dispel? | unknown |
Special Moves & Abilities | unknown |
ᵉ 5 points higher if paragon. |