Template:LotS Item: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
(Missed else statements of if, see if pages break afterwards)
Line 58: Line 58:
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
{{#set:totalmaxprocdps={{#expr: {{{attack}}} * 4 + {{{defense}}} + {{#if: {{{procRate|}}} | {{#expr: {{{procRate}}} / 100 * {{#if: {{{procDmgCap|}}} | {{{procDmgCap}}} | {{{procDmgMin}}} }} }} |0}} }} }}
|}}
|}}
<noinclude>{{#set:avattack={{#expr: {{{attack}}} + {{{defense}}} * 0.25 + {{#if {{{pvp}}} | {{{pvp}}} }}
{{#set:avattack={{#expr: {{{attack}}} + {{{defense}}} * 0.25 + {{#if {{{pvp}}} | {{{pvp}}} | 0}}
{{#set:avdefense={{#expr: {{{attack}}} * 0.25 + {{{defense}}} + {{#if {{{pvp}}} | {{{pvp}}} }}
{{#set:avdefense={{#expr: {{{attack}}} * 0.25 + {{{defense}}} + {{#if {{{pvp}}} | {{{pvp}}} | 0 }}
{{#set:melee={{#expr: {{{attack}}} * 0.3 + {{{defense}}} + {{#if {{{pvp}}} | {{{pvp}}} }}
{{#set:melee={{#expr: {{{attack}}} * 0.3 + {{{defense}}} + {{#if {{{pvp}}} | {{{pvp}}} | 0 }}
{{#set:tank={{#expr: {{{attack}}} * 0.5 + {{{defense}}} * 0.8 + {{#if {{{pvp}}} | {{{pvp}}} }}
{{#set:tank={{#expr: {{{attack}}} * 0.5 + {{{defense}}} * 0.8 + {{#if {{{pvp}}} | {{{pvp}}} | 0 }}
{{#set:ranged={{#expr: {{{attack}}} * 0.8 + {{{defense}}} * 0.5 + {{#if {{{pvp}}} | {{{pvp}}} }}
{{#set:ranged={{#expr: {{{attack}}} * 0.8 + {{{defense}}} * 0.5 + {{#if {{{pvp}}} | {{{pvp}}} | 0 }}
{{#set:healer={{#expr: {{{attack}}} * 0.2 + {{{defense}}} * 1.1 + {{#if {{{pvp}}} | {{{pvp}}} }}</noinclude>
{{#set:healer={{#expr: {{{attack}}} * 0.2 + {{{defense}}} * 1.1 + {{#if {{{pvp}}} | {{{pvp}}} | 0 }}
{{#set:stamina={{{stamina|0}}}}}
{{#set:stamina={{{stamina|0}}}}}
{{#set:energy={{{energy|0}}}}}
{{#set:energy={{{energy|0}}}}}

Revision as of 01:05, 9 September 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}}}]]