Template:MobSub: Difference between revisions

From Exiled Kingdoms Wiki
mNo edit summary
No edit summary
(30 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|}}}}}}
|SelResist={{#ifeq:{{Resistances|{{{RawResist}}}|Vuln|{{{Sel}}}}}|1|{{#if:{{{RawDmg|}}}|
|findItem={{#if: {{#pos: {{{Drops}}} | [[{{{Sel}}}]]}} |;[[{{{Name}}}]]}}
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Quest|}}}|{{{Drops|}}}|R}}
|SelResist={{#ifeq:{{Resistances|{{{RawResist}}}|Vuln|{{{Sel}}}|<}}|1|
|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}}}}}}
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
|SelDmg={{#if:{{{RawDmg|}}}|{{#ifeq:{{Damage|{{{RawDmg}}}|EleChk|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Quest|}}}|{{{Drops|}}}|R}}}}
|SelDmg={{#ifeq:{{Damage|{{{RawDmg|}}}|EleChkN|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
|{{#ifeq:({{{Sel}}}|{{#explode:{{{Extra_damage|}}}|)|0}}|
|SelProc={{#ifeq:{{Damage|{{{RawDmg|}}}|ProcChk|{{{Sel}}}}}|1|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{RawResist|}}}}}}}
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}}}}}}
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
== [[{{{Name}}}]] ==
== [[{{{Name}}}]] ==
Line 28: Line 26:
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{#if:{{{RawDmg|}}}|{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{RawResist|}}}}}|{{Tables|MobSub2Input|{{{Base_damage|}}}|{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{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}}}|
{{#if:{{{RawDmg|}}}|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Quest|}}}|{{{Drops|}}}|R}}
{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL}}}|{{{LevelH}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}}}}}
|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}}}}}}
|MobTbl={{#if:{{{Sel|}}}|
|MobTbl={{#if:{{{RawDmg|}}}|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Quest|}}}|{{{Drops|}}}|R}}
{{#ifeq:{{{Rarity|Common}}}|{{{Sel}}}|
|{{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|?}}}|{{{LevelH|?}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}}}}
{{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 55: 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 65: 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}}
{{#if:{{{RawDmg|}}}|{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{RawResist|}}}}}
{{Tables|MobSub2RInput|{{{RawDmg|}}}|{{{RawResist|}}}}}
|{{Tables|MobSub2Input|{{{Base_damage|}}}|{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{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 85: 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}}
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}|{{{Class|}}}}}
{{Tables|MobIndvInput|{{{Groups}}}|{{{LevelLV2}}}|{{{LevelHV2}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MPV2|}}}|{{{MovementV2|}}}|{{{Race|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{#if:{{{RawDmgV2|}}}|{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|{{{Attack_SpeedV2|}}}|{{{CriticalV2|}}}|{{{RawResistV2|}}}}}|{{Tables|MobSub2Input|{{{Base_damageV2|}}}|{{{Extra_damageV2|}}}|{{{Attack_SpeedV2|}}}|{{{CriticalV2|}}}|{{{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|}}}
:
 
{{#if:{{{RawResist|}}}||
Add to mob page:{{Resistances|{{{Resistances}}}|DispRaw}}}}
:
{{#if:{{{RawDmg|}}}|{{#if:{{{WpnID|}}}|
{{!}}RawDmg={{MobWpnData|{{{WpnID|}}}}}}}|:
Add to mob page: {{#if:{{{WpnID|}}}|
{{!}}RawDmg={{MobWpnData|{{{WpnID|}}}}}
:
DPS: {{Damage|{{{RawDmg|}}}|DPS}}
:
MDispN: {{Damage|{{{RawDmg|}}}|MDispN}}
:
EleN: {{Damage|{{{RawDmg|}}}|EleN}}
|{{Damage|{{{Base_damage|}}}|MobDmg|{{{Extra_damage|}}}}}}}
{{#if:{{{NameV2|}}}|:
Mobv2: {{Damage|{{{Base_damageV2|}}}|MobDmg|{{{Extra_damageV2|}}}}}}}
}}
|BuildX=
|BuildX=
<!-- Build with XHTML tables -->
<!-- Build with XHTML tables -->

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