Modification de Module:Infobox/Armure
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 12 : | Ligne 12 : | ||
sd = localdata['sd '..type] | sd = localdata['sd '..type] | ||
end | end | ||
return | return rd..' [[Résistance aux dégâts|RD]] · '..sd..' [[Seuil de dégâts|SD]]' | ||
end | end | ||
Ligne 24 : | Ligne 22 : | ||
{ type = 'text', value = 'test' }, | { type = 'text', value = 'test' }, | ||
{ type = 'table', title = 'Statistiques', rows = { | { type = 'table', title = 'Statistiques', rows = { | ||
{ type = 'row', label = '[[Classe d\'armure]]', value = 'bonus ca' }, | { type = 'row', label = 'Bonus de [[Classe d\'armure|CA]]', value = 'bonus ca' }, | ||
{ type = 'row', label = 'Effets', value = 'effets' }, | { type = 'row', label = 'Effets', value = 'effets' }, | ||
{ type = 'row', label = 'Poids', value = 'poids' }, | { type = 'row', label = 'Poids', value = 'poids' }, | ||
{ type = 'row', label = 'Valeur', value = 'valeur' } | { type = 'row', label = 'Valeur', value = 'valeur' } | ||
}}, | }}, | ||
{ type = 'table', title = 'Résistances | { type = 'table', title = 'Résistances', rows = { | ||
{ type = 'row', label = 'Normal', value = function (localdata) return buildResistance(localdata, 'normal') end }, | { type = 'row', label = 'Normal', value = function (localdata) return buildResistance(localdata, 'normal') end }, | ||
{ type = 'row', label = 'Laser', value = function (localdata) return buildResistance(localdata, 'laser') end }, | { type = 'row', label = 'Laser', value = function (localdata) return buildResistance(localdata, 'laser') end }, | ||
{ type = 'row', label = 'Feu', value = function (localdata) return buildResistance(localdata, 'feu') end }, | { type = 'row', label = 'Feu', value = function (localdata) return buildResistance(localdata, 'feu') end }, | ||
{ type = 'row', label = 'Plasma', value = function (localdata) return buildResistance(localdata, 'plasma') end }, | { type = 'row', label = 'Énergie', value = function (localdata) return buildResistance(localdata, 'énergie') end }, | ||
{ type = 'row', label = 'Électricité', value = function (localdata) return buildResistance(localdata, 'élec') end }, | { type = 'row', label = 'Plasma', value = function (localdata) return buildResistance(localdata, 'plasma') end }, | ||
{ type = 'row', label = 'Explosif', value = function (localdata) return buildResistance(localdata, 'expl') end }, | { type = 'row', label = 'Électricité', value = function (localdata) return buildResistance(localdata, 'élec') end }, | ||
{ type = 'row', label = 'IEM', value = function (localdata) return buildResistance(localdata, 'iem') end } | { type = 'row', label = 'Explosif', value = function (localdata) return buildResistance(localdata, 'expl') end }, | ||
{ type = 'row', label = 'IEM', value = function (localdata) return buildResistance(localdata, 'iem') end } | |||
}}, | }}, | ||
{ type = 'table', title = 'Technique', rows = { | { type = 'table', title = 'Technique', rows = { |