Шаблон:Component/explosive: различия между версиями

Новая страница: «{{#vardefine:explosiveRadius| {{#ifexpr: {{{totalIntensity}}} <= {{#expr: 3.141592653589793 / 3 * ({{{maxIntensity}}}^3) / ({{{intensitySlope}}}^2) }} | <!-- если {{{totalIntensity}}} <= v0 --> {{#expr: (3 * {{{totalIntensity}}} / ({{{intensitySlope}}} * 3.141592653589793))^(1/3) round 2 }} | <!-- иначе: усечённый конус --> {{#expr: ({{{maxIntensity}}} / {{{intensitySlope}}}) * ( sqrt( 12 * {{{totalIntensity}}...»
 
Нет описания правки
Строка 16: Строка 16:
|cardLabel_Взрывчатка_Эффект = Эффект
|cardLabel_Взрывчатка_Эффект = Эффект
|cardContent_Взрывчатка_Эффект = Наносит:
|cardContent_Взрывчатка_Эффект = Наносит:
{{serialization/damage|{{#invoke:GetField|get|{{{explosionType}}}|prototype/explosion.json|damagePerIntensity.types}}|value_replace=<nowiki>'''{{цвет|text|\2|c={{#expr: \1 * {{#var:explosiveIntensity}} }} }}'''</nowiki>}}
{{serialization/damage|type=list|{{#invoke:GetField|get|{{{explosionType}}}|prototype/explosion.json|damagePerIntensity.types}}|value_replace=<nowiki>'''{{цвет|text|\2|c={{#expr: \1 * {{#var:explosiveIntensity}} }} }}'''</nowiki>}}


|cardLabel_Взрывчатка_Радиус = Радиус
|cardLabel_Взрывчатка_Радиус = Радиус