Template:MobSub: Difference between revisions

From Exiled Kingdoms Wiki
No edit summary
No edit summary
Line 5: Line 5:
|findItem={{#if: {{#pos: {{{Drops}}} | [[{{{Sel}}}]]}} |;[[{{{Name}}}]]}}
|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}}}|{{{Quest|}}}}}}}
|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}}}|{{{Quest|}}}}}}}
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
== [[{{{Name}}}]] ==
== [[{{{Name}}}]] ==
Line 31: Line 31:
}}
}}
|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={{Tables|MobTblInput|{{{Icon|}}}|{{{Name|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP}}}|{{{Armor|}}}|{{{RawDmg}}}|{{{Quest|}}}}}
|Build=
|Build=
<includeonly>[[Category:Bestiary]]</includeonly>
<includeonly>[[Category:Bestiary]]</includeonly>
Line 93: Line 93:
== 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 18:40, 27 August 2017


== 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