Template:LotS Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Added SP to SMW properties)
m (Add DPS MW properties)
Line 52: Line 52:
<includeonly>{{#if: {{{hideCategory| }}}||[[Category:LotS/Item]][[Category:LotS/{{{type}}}]]}}</includeonly>
<includeonly>{{#if: {{{hideCategory| }}}||[[Category:LotS/Item]][[Category:LotS/{{{type}}}]]}}</includeonly>


{{#if:{{{attack|}}}|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}
<includeonly>
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Officer|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}}
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Crew|{{#set:sp={{#expr:{{{attack}}} * 1.44 + {{{defense}}} * .36}}}}|}}|}}
{{#if:{{{attack|}}}|{{#ifeq:{{{type}}}|Engineering|{{#set:sp={{#expr:{{{attack}}} * 2 + {{{defense}}} * .4}}}}|}}|}}
 
{{#set:statdps={{#expr: {{{attack}}} * 4 + {{{defense}}}}}}}
{{#set:minprocdps={{#if: {{{procRate}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }}
{{#set:maxprocdps={{#if: {{{procRate}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }}
{{#set:totalminprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate}}} | {{#expr: {{{procRate}}} / 100 * {{{procDmgMin}}} }} |0}} }} }}
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
{{#set:color={{{color|}}}}}
{{#set:color={{{color|}}}}}
{{#set:ability={{{ability|}}}}}
{{#set:ability={{{ability|}}}}}
Line 59: Line 68:
{{#set:used={{{used|}}}}}
{{#set:used={{{used|}}}}}
{{#set:notes={{{notes|}}}}}
{{#set:notes={{{notes|}}}}}
</includeonly>

Revision as of 17:12, 9 May 2015

Item Navigation
Main Hand | Off Hand | Helmet | Chest | Gloves | Pants | Boots | Trinkets | Utilities | Fusion
Tactics | Consumables | Ships | Officers | Crew | Sidekicks | Engineering | Best Items | Home


[[[name::{{{name}}}]] [[:Category:LotS/[[type::{{{type}}}]]|[[type::{{{type}}}]]]]
[[File:LotS_{{{name}}}.png|{{{name}}}]]