Template:MobSub: Difference between revisions

From Exiled Kingdoms Wiki
No edit summary
No edit summary
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]
<noinclude>[[Category:Templates]]
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>{{#switch: {{{Step}}}
{{#switch: {{{Step}}}
|genSel={{{{{{Sel|}}}}}}
|genSel={{{{{{Sel|}}}}}}
|findItem={{#if: {{#pos: {{{Drops}}} | [[{{{Sel}}}]]}} |;[[{{{Name}}}]]}}
|SelResist={{#ifeq:{{Resistances|{{{RawResist}}}|Vuln|{{{Sel}}}|<}}|1|
|SelResist={{#ifeq:{{Resistances|{{{RawResist}}}|Vuln|{{{Sel}}}|<}}|1|
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}}}}
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
|SelDmg={{#ifeq:{{Damage|{{{RawDmg}}}|EleChkN|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}}}}
|SelDmg={{#ifeq:{{Damage|{{{RawDmg|}}}|EleChkN|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
|SelProc={{#ifeq:{{Damage|{{{RawDmg|}}}|ProcChk|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
== [[{{{Name}}}]] ==
== [[{{{Name}}}]] ==
Line 27: Line 28:
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{RawResist|}}}}}
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}
</td></tr>
</td></tr>
}}
}}
|SelTypeX={{#ifeq:{{{Sel}}}|{{{Groups}}}|
|SelTypeX={{#ifeq:{{{Sel}}}|{{{Groups}}}|
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}}}}
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL}}}|{{{LevelH}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}}}}}
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}|{{{Drops|}}}}}
|MobTbl={{#if:{{{Sel|}}}|
{{#ifeq:{{{Rarity|Common}}}|{{{Sel}}}|
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}|}}|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
|Build=
|Build=
<includeonly>[[Category:Bestiary]]</includeonly>
<includeonly>[[Category:Bestiary]]</includeonly>
Line 50: Line 53:


|mobIndv=
|mobIndv=
<includeonly>[[Category:Bestiary]]</includeonly>
<includeonly>[[Category:Bestiary]]</includeonly>__NOTOC__
__NOTOC__
<!-- Build individual Mob Page -->
<!-- Build individual Mob Page -->
{{#if:{{{Ambiguity|}}}|:
'''Ambiguity:''' {{{Ambiguity}}}}}
{{#if:{{{Image|}}}|{{#ifeq:{{{Image}}}|Missing.png|<div style="float: right;">Upload Image of {{PAGENAME}}</div>|[[File:{{{Image}}}|200px|right|{{{Name}}}]]}}|}}
{{#if:{{{Image|}}}|{{#ifeq:{{{Image}}}|Missing.png|<div style="float: right;">Upload Image of {{PAGENAME}}</div>|[[File:{{{Image}}}|200px|right|{{{Name}}}]]}}|}}
{{#if:{{{Description|}}}|{{{Description}}}|<span style="color: #24e22a">Description needed</span>}}
{{#if:{{{Description|}}}|{{{Description}}}|<span style="color: #24e22a">Description needed</span>}}
Line 60: Line 64:
{{#if:{{{Location|}}}|{{TextC|{{{Location}}}|SList}}|<span style="color: #24e22a">Location needed</span>}}
{{#if:{{{Location|}}}|{{TextC|{{{Location}}}|SList}}|<span style="color: #24e22a">Location needed</span>}}
==Drops==
==Drops==
{{#if:{{{Drops|}}}|{{TextC|{{{Drops|}}}|SList}}|<span style="color: #24e22a">Items dropped needed</span>}}
{{#if:{{{Drops|}}}|{{Columns|{{TextC|{{{Drops}}}|SListCol}}|{{TextC|{{{Drops}}}|SList}}}}|<span style="color: #24e22a">Items dropped needed</span>}}
==Quests==
==Quests==
{{#if:{{{Quest|}}}|{{TextC|{{{Quest}}}|SList}}|<span style="color: #24e22a">No known associated quests</span>}}
{{#if:{{{Quest|}}}|{{TextC|{{{Quest}}}|SList}}|<span style="color: #24e22a">No known associated quests</span>}}
==Information==
==Information==
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}}
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}}
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}}}
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}|{{{Class|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{RawResist|}}}}}
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}{{#if:{{{NameV2|}}}|:
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}{{#if:{{{NameV2|}}}|:
=={{{Name}}} {{{NameV2}}}==
=={{{Name}}} {{{NameV2}}}==
{{#if:{{{ImageV2|}}}|{{#ifeq:{{{ImageV2}}}|Missing.png|<div style="float: right;">Upload Image of {{PAGENAME}}</div>|[[File:{{{ImageV2}}}|200px|right|{{{Name}}}]]}}|}}
{{#if:{{{ImageV2|}}}|{{#ifeq:{{{ImageV2}}}|Missing.png|<div style="float: right;">Upload Image of {{PAGENAME}}</div>|[[File:{{{ImageV2}}}|200px|right|{{{Name}}}]]}}|}}
Line 79: Line 83:
{{#if:{{{LocationV2|}}}|{{TextC|{{{LocationV2}}}|SList}}|<span style="color: #24e22a">Location needed</span>}}
{{#if:{{{LocationV2|}}}|{{TextC|{{{LocationV2}}}|SList}}|<span style="color: #24e22a">Location needed</span>}}
==Drops==
==Drops==
{{#if:{{{DropsV2|}}}|{{TextC|{{{DropsV2|}}}|SList}}|<span style="color: #24e22a">Items dropped needed</span>}}
{{#if:{{{DropsV2|}}}|{{Columns|{{TextC|{{{DropsV2}}}|SListCol}}|{{TextC|{{{DropsV2}}}|SList}}}}|<span style="color: #24e22a">Items dropped needed</span>}}
==Quests==
==Quests==
{{#if:{{{QuestV2|}}}|{{TextC|{{{QuestV2}}}|SList}}|<span style="color: #24e22a">No known associated quests</span>}}
{{#if:{{{QuestV2|}}}|{{TextC|{{{QuestV2}}}|SList}}|<span style="color: #24e22a">No known associated quests</span>}}
==Information==
==Information==
{{Tables|MobIndv|{{#if:{{{RaceV2|}}}|1}}}}
{{Tables|MobIndv|{{#if:{{{RaceV2|}}}|1}}}}
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}}}
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}|{{{Class|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|{{{RawResistV2|}}}}}
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|{{{RawResistV2|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}}
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}|{{{RawDmgV2|}}}}}
}}
}}
== Notes ==
== Notes ==
* Some of the stats change with creature level and game mode. The values shown in the table above always refer to the highest level at Normal difficulty. On Hard or Iron Man some values such as HP and attack stats are increased by 25%.
* Some of the stats change with creature level and game mode. The values shown in the table above always refer to the highest level at Normal difficulty. On Hard or Iron Man some values such as HP and attack stats are increased by 25%.
:
{{#ifeq:{{{LevelH|}}}|{{{LevelL|}}}||
* Lower level XP<nowiki>:</nowiki> {{XPcalc|{{{LevelL|}}}|{{{Race|}}}}}}}
:
:
{{{Notes|}}}
{{{Notes|}}}

Revision as of 12:15, 22 November 2020


== Usage ==

genSel

Select one field from a mob page

{{:MobName|Sel|Field}}

SelResist

Select all mobs with a weakness to selected element. Uses the RawResist value on mob pages

{{ListofMob|SelResist|Element}}

To select mobs with a different range

{{ListofMob|SelResist|Element|(< (default),>,!=,=)|Val(0 default)}}

SelDmg

Select all mobs using the selected element (only looks at extra damage)

{{ListofMob|SelDmg|Element}}

SelType

Select all mobs of a certain group (Old MobSub format)

{{ListofMob|SelType|type}}

SelTypeX

Select all mobs of a certain group (List format)

{{ListofMob|SelTypeX|type}}

MobSub (Deprecated)

MobTbl

MobTbl formatted Mobs

All Mobs
{{ListofMob|MobTbl}}

Single mob
{{:Mobname|MobTbl}}

Build

For detailed type pages

{{MobSub
|Type={{PAGENAME}}
|Step=Build
|Cat=Mob
|Description=
}}

{{ListofMob|SelType|{{PAGENAME}}}}

{{MobSub
|Step=Done
|Notes=
}}

BuildX

For list style type pages

{{MobSub
|Type={{PAGENAME}}
|Step=BuildX
|Cat=Mob
|Description=
}}

{{ListofMob|SelTypeX|{{PAGENAME}}}}

{{MobSub
|Step=DoneX
|Notes=
}}

mobIndv

See Mob Setup

Mob Setup

{{MobSub
|Step={{{1|mobIndv}}}
|Sel={{{2|}}}
|Icon=.png
|Image=.png
|Name=
|LevelL=|LevelH=
|Class=
|Attributes=(; separated list)
|Skills=[[Skillname]]: 1 (; separated list)
|HP=|Armor=|Movement=1.0
|Attack_Speed=10|Critical=0%
|RawDmg=0,0,0,0,0,0,0,0,0(Min, Max, Fire, Cold, Shock, Death, Toxic, Spirit, Min/Max Ele(0=Norm - 6=Spirit))
|RawResist=0,0,0,0,0,0 (Fire, Cold, Shock, Death, Toxic, Spirit)
|Groups=(no brackets)
|Quest=(; separated list)
|Drops=(; separated list)
|Long_Description=
|Location=(; separated list)
|Notes=
|Description=
}}

Resistance order

|RawResist=0,0,0,0,0,0

Fire, cold, shock, death, toxic, spirit