Шаблон:Выживаемость: различия между версиями
Перейти к навигации
Перейти к поиску
U4843235 (обсуждение | вклад) Нет описания правки |
U4843235 (обсуждение | вклад) Нет описания правки |
||
Строка 1: | Строка 1: | ||
<includeonly> | <includeonly> | ||
{{# | |||
{{#ifexpr: {{{hull_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_kinetic}}} / 100 ) }} }} | |||
{{#ifexpr: {{{hull_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_emp}}} / 100 ) }} }} | |||
{{#ifexpr: {{{hull_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_thermal}}} / 100 ) }} }} | |||
{{#ifexpr: {{{shield_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_kinetic}}} / 100 ) }} }} | |||
{{#ifexpr: {{{shield_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_emp}}} / 100 ) }} }} | |||
{{#ifexpr: {{{shield_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_thermal}}} / 100 ) }} }} | |||
<!-- average value --> | |||
{{#expr: (({{#ifexpr: {{{hull_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_kinetic}}} / 100 ) }} }})+({{#ifexpr: {{{hull_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_emp}}} / 100 ) }} }})+( | |||
{{#ifexpr: {{{hull_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_thermal}}} / 100 ) }} }}))/3 }} | |||
{{#expr: (({{#ifexpr: {{{shield_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_kinetic}}} / 100 ) }} }})+({{#ifexpr: {{{shield_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_emp}}} / 100 ) }} }})+({{#ifexpr: {{{shield_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_thermal}}} / 100 ) }} }}))/3 }} | |||
'''{{#expr: ({{{hull_max_syn10}}}*(1/{{#expr: (({{#ifexpr: {{{hull_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_kinetic}}} / 100 ) }} }})+({{#ifexpr: {{{hull_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_emp}}} / 100 ) }} }})+({{#ifexpr: {{{hull_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{hull_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{hull_resist_thermal}}} / 100 ) }} }}))/3 }}))+({{{shield_max_syn10}}}*(1/{{#expr: (({{#ifexpr: {{{shield_resist_kinetic}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_kinetic}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_kinetic}}} / 100 ) }} }})+({{#ifexpr: {{{shield_resist_emp}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_emp}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_emp}}} / 100 ) }} }})+({{#ifexpr: {{{shield_resist_thermal}}} >= 0 | {{#expr: 1 / ( 1 + {{{shield_resist_thermal}}} / 100 ) }} | {{#expr: 1 * ( 1 - {{{shield_resist_thermal}}} / 100 ) }} }}))/3 }})) round 0 }}''' | |||
</includeonly> | </includeonly> |