Template:NPCSub: Difference between revisions
From Exiled Kingdoms Wiki
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|findItem={{#if:{{{Drops|}}}|{{#if:{{#pos:{{{Drops}}}|[[{{{Sel}}}]]}}|;[[{{{Name}}}]]}}}} | |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}}}]]}}}}}}}} | |findVendItem={{#if:{{{Inventory|}}}|{{#if:{{#pos:;{{{InvI}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvA}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]|{{#if:{{#pos:;{{{InvW}}};|;{{{Sel}}};}}|;[[{{{Name}}}]]}}}}}}}} | ||
|GetVendor={{#if:{{{Inventory|}}}|[[{{{Name}}}]] | |GetVendor={{#if:{{{Inventory|}}}|* [[{{{Name}}}]]}} | ||
|GetQuests={{#if:{{{Quest|}}}| | |GetQuests={{#if:{{{Quest|}}}|* [[{{{Name}}}]]}} | ||
* [[{{{Name}}}]]}} | |||
|GetUseless={{#if:{{{Quest|}}}||{{#if:{{{Actions|}}}||{{#if:{{{Inventory|}}}||* [[{{{Name}}}]]}}}}}} | |GetUseless={{#if:{{{Quest|}}}||{{#if:{{{Actions|}}}||{{#if:{{{Inventory|}}}||* [[{{{Name}}}]]}}}}}} | ||
|GetActions={{#if:{{#pos:{{{Actions}}}|{{{Sel}}}}}|[[{{{Name}}}]];}} | |GetActions={{#if:{{#pos:{{{Actions}}}|{{{Sel}}}}}|[[{{{Name}}}]];}} | ||
Line 28: | Line 27: | ||
{{{RawResist|}}}}} | {{{RawResist|}}}}} | ||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}} | {{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}} | ||
</td></tr> | </td></tr> | ||
}} | }} | ||
Line 50: | Line 49: | ||
{{{RawResist|}}}}} | {{{RawResist|}}}}} | ||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}}} | {{Tables|MobSub3Input|{{{Attributes|}}}|{{{Skills|}}}|{{{RawDmg|}}}}} | ||
|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|}}}|{{{Drops|}}}}} | ||
|npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}} | |npcTbl={{Tables|NPCTblInput|{{{Image|{{{Icon}}}}}}|{{{Name|}}}|{{{Faction|}}}|{{{Location1|}}}|{{{Location2|}}}|{{{Quest|}}}|{{{Actions|}}}}} | ||
Line 96: | Line 95: | ||
{{Tables|AreaMerchant|{{PAGENAME}}'s Wares}} | {{Tables|AreaMerchant|{{PAGENAME}}'s Wares}} | ||
{{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}} | {{#invoke:Inventory|getItems|{{{InvI|}}}|{{{InvA|}}}|{{{InvW|}}}|{{{Markup|}}}}} | ||
</table> | </table>}}{{#if:{{ListofTraitChecks|NPCSel|[[{{{Name|}}}]]}}|: | ||
}}{{#if:{{{Combatant|}}}|: | == Trait Checks == | ||
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|TraitTbl|NPCSel}} | |||
{{ListofTraitChecks|NPCSel|[[{{{Name|}}}]]}} | |||
</table>}}{{#if:{{{Combatant|}}}|: | |||
<includeonly>[[Category:Bestiary]]</includeonly> | <includeonly>[[Category:Bestiary]]</includeonly> | ||
== Combatant Stats == | == Combatant Stats == | ||
{{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|}}}| | {{Tables|MobSub2RInput|{{{RawDmg|}}}| | ||
{{{RawResist|}}}}} | {{{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|}}}|{{{LevelLV2|}}}|{{{LevelHV2|}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}}} | {{Tables|MobIndvInput|{{{Groups|}}}|{{{LevelLV2|}}}|{{{LevelHV2|}}}|{{{ArmorV2|}}}|{{{HPV2|}}}|{{{MovementV2|}}}|{{{RaceV2|}}}|{{{Class|}}}}} | ||
{{Tables|MobSub2}} | {{Tables|MobSub2}} | ||
{{Tables|MobSub2RInput|{{{RawDmgV2|}}}| | {{Tables|MobSub2RInput|{{{RawDmgV2|}}}| | ||
{{{RawResistV2|}}}}} | {{{RawResistV2|}}}}} | ||
{{Tables|MobSub3}} | {{Tables|MobSub3}} | ||
{{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}}} | {{Tables|MobSub3Input|{{{AttributesV2|}}}|{{{SkillsV2|}}}|{{{RawDmgV2|}}}}} | ||
}} | }} | ||
=== Drops === | === Drops === | ||
{{ | {{Columns|{{TextC|{{{Drops|}}}|SListCol}}|{{TextC|{{{Drops|}}}|SList}}}} | ||
}} | }} | ||
==Notes== | ==Notes== |