Modification de Module:Fiche de créature/Fallout
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 2 : | Ligne 2 : | ||
function resistance(localdata, type) | function resistance(localdata, type) | ||
local sd = localdata[type .. ' sd'] | local sd = localdata[type .. ' sd '] | ||
local rd = localdata[type .. ' rd'] | local rd = localdata[type .. ' rd '] | ||
if not sd or not rd then | if not sd or not rd then | ||
return nil | return nil |