Template:NPCSub: Difference between revisions

From Exiled Kingdoms Wiki
mNo edit summary
No edit summary
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>{{#switch: {{{Step}}}
{{#switch: {{{Step}}}
|findItem={{#if:{{{Drops|}}}|{{#if:{{#pos:{{{Drops}}}|[[{{{Sel}}}]]}}|;[[{{{Name}}}]]}}}}
|findVendItem={{#if:{{{Inventory|}}}|{{#if:{{#pos:;{{{InvI}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvA}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvW}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]}}}}}}}}
|GetVendor={{#if:{{{Inventory|}}}|* [[{{{Name}}}]]}}
|GetQuests={{#if:{{{Quest|}}}|* [[{{{Name}}}]]}}
|GetUseless={{#if:{{{Quest|}}}||{{#if:{{{Actions|}}}||{{#if:{{{Inventory|}}}||* [[{{{Name}}}]]}}}}}}
|GetActions={{#if:{{#pos:{{{Actions}}}|{{{Sel}}}}}|[[{{{Name}}}]];}}
|GetJob={{#if:{{#pos:{{{Job}}}|{{{Sel}}}}}|[[{{{Name}}}]];}}
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
== [[{{{Name}}}]] ==
== [[{{{Name}}}]] ==
Line 11: Line 17:
===Quests===
===Quests===
{{columns |2|
{{columns |2|
{{TextC|{{{Quest|}}}|SList}}}}}}
{{#invoke:TextC|SList|{{{Quest|}}}}}}}}}
===Drops===
===Drops===
{{columns|2|{{TextC|{{{Drops|}}}|SList}}}}
{{columns|2|
{{#invoke:TextC|SList|{{{Drops|}}}}}}}
{{Tables|MobSub1}}
{{Tables|MobSub1}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{Level|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2Input|{{{Base_damage|}}}|
{{Tables|MobSub2RInput|{{{RawDmg|}}}|
{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{Resistances|}}}}}
{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}
</td></tr>
</td></tr>
}}
}}
Line 33: Line 40:
===Quests===
===Quests===
{{columns |2|
{{columns |2|
{{TextC|{{{Quest|}}}|SList}}}}}}
{{#invoke:TextC|SList|{{{Quest|}}}}}}}}}
===Drops===
===Drops===
{{columns|2|{{TextC|{{{Drops|}}}|SList}}}}
{{columns|2|{{#invoke:TextC|SList|{{{Drops|}}}}}}}
{{Tables|MobSub1}}
{{Tables|MobSub1}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{Level|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub1Input|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2Input|{{{Base_damage|}}}|
{{Tables|MobSub2Input|{{{RawDmg|}}}|
{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{Resistances|}}}}}
{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name}}}|{{{LevelL|}}}|{{{Level|}}}|{{{Faction|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{Base_damage|}}}|{{{Attack_Speed}}}|{{{Critical|}}}|{{{Extra_damage|}}}|{{{Quest|}}}|{{{Drops|}}}}}
|MobTbl={{Tables|MobTblInput|{{{Icon|}}}|{{{Name}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Groups|}}}|{{{Race|}}}|{{{HP|}}}|{{{Armor|}}}|{{{RawDmg|}}}|{{{Quest|}}}|{{{Drops|}}}}}
|npcTbl={{Tables|NPCTblInput|{{{Image|}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}}
|npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}}
|npcInv={{#if:{{{Sel|}}}|{{{Inventory{{{Sel}}}|}}}|{{{Inventory|}}}}}
|npcInv={{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}}
|npcInvList={{#invoke:Inventory|makeList|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}}
|npcSel={{{{{{Sel|}}}}}}
|npcSel={{{{{{Sel|}}}}}}
|genSel={{{{{{Sel|}}}}}}
|genSel={{{{{{Sel|}}}}}}
Line 75: Line 83:
* {{{Location5|}}}}}{{#if:{{{Quest|}}}|:
* {{{Location5|}}}}}{{#if:{{{Quest|}}}|:
=== Quests ===
=== Quests ===
{{TextC|{{{Quest|}}}|SList}}}}{{#if:{{{Actions|}}}|:
{{#invoke:TextC|SList|{{{Quest|}}}}}}}{{#if:{{{Actions|}}}|:
=== Actions ===
=== Actions ===
{{{Actions}}}{{#ifeq:{{{Transport}}}|Yes|<includeonly>
{{{Actions}}}{{#ifeq:{{{Transport}}}|Yes|<includeonly>
Line 82: Line 90:
=== Situational ===
=== Situational ===
* {{{Situational}}}
* {{{Situational}}}
}}{{#if:{{{Inventory|}}}|:  
}}{{#if:{{{Inventory|}}}|:
=== Inventory ===
=== Inventory ===
<includeonly>
<includeonly>[[Category:NPC:Merchants]]</includeonly>
[[Category:NPC:Merchants]]
</includeonly>
{{#if: {{{Inventory2|}}}|:
===={{{Inv1Loc}}}====
}}
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}}
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}}
{{{Inventory}}}
{{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}}
</table>
</table>}}{{#if:{{ListofTraitChecks|NPCSel|[[{{{Name|}}}]]}}|:
{{#if: {{{Inventory2|}}}|:
== Trait Checks ==
===={{{Inv2Loc}}}====
The following [[Trait]] checks are associated with this character. Those marked with [[File:Decisive.png|16px]] are mandatory for achieving certain outcomes or rewards which can not be accomplished otherwise.
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}}
{{Tables|TraitTbl|NPCSel}}
{{{Inventory2}}}
{{ListofTraitChecks|NPCSel|[[{{{Name|}}}]]}}
</table>
</table>}}{{#if:{{{Combatant|}}}|:
}}
<includeonly>[[Category:Bestiary]]</includeonly>
}}{{#if:{{{Movement|}}}|:
<includeonly>
[[Category:Bestiary]]
</includeonly>
== Combatant Stats ==
== Combatant Stats ==
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}}
{{Tables|MobIndv|{{#if:{{{Race|}}}|1}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelL|}}}|{{{Level|}}}|{{{Armor|}}}|{{{HP|}}}|{{{MP|}}}|{{{Movement|}}}|{{{Race|}}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelL|}}}|{{{LevelH|}}}|{{{Armor|}}}|{{{HP|}}}|{{{Movement|}}}|{{{Race|}}}|{{{Class|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2Input|{{{Base_damage|}}}|
{{Tables|MobSub2RInput|{{{RawDmg|}}}|
{{{Extra_damage|}}}|{{{Attack_Speed|}}}|{{{Critical|}}}|{{{Resistances|}}}}}
{{{RawResist|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}}{{#if:{{{NameV2|}}}|:
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}}{{#if:{{{NameV2|}}}|:
=== {{{Name}}} ({{{NameV2}}}) ===
=== {{{Name}}} ({{{NameV2}}}) ===
{{Tables|MobIndv|{{#if:{{{RaceV2|}}}|1}}}}
{{Tables|MobIndv|{{#if:{{{RaceV2|}}}|1}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelL|}}}|{{{Level|}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MPV2|}}}|{{{MovementV2|}}}|{{{Race|}}}}}
{{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelLV2|}}}|{{{LevelHV2|}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}|{{{Class|}}}}}
{{Tables|MobSub2}}
{{Tables|MobSub2}}
{{Tables|MobSub2Input|{{{Base_damageV2|}}}|
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}|
{{{Extra_damageV2|}}}|{{{Attack_SpeedV2|}}}|{{{CriticalV2|}}}|{{{ResistancesV2|}}}}}
{{{RawResistV2|}}}}}
{{Tables|MobSub3}}
{{Tables|MobSub3}}
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}}
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}|{{{RawDmgV2|}}}}}
}}
=== Drops ===
=== Drops ===
{{TextC|{{{Drops|}}}|SList}}
{{Columns|{{TextC|{{{Drops|}}}|SListCol}}|{{TextC|{{{Drops|}}}|SList}}}}
}}}}
}}
==Notes==
==Notes==
{{#if:{{{Movement|}}}|
{{#if:{{{Movement|}}}|
* 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%.
:
}}
}}
{{{Notes|}}}
{{{Notes|}}}
}}
}}

Latest revision as of 20:25, 18 November 2020