2,875
edits
m (Add deep copy method instead of implied copy.) |
mNo edit summary |
||
Line 51: | Line 51: | ||
-- Clamp economy values (clamp the verified copy values) | -- Clamp economy values (clamp the verified copy values) | ||
self.preservationChanceP = number.clamp( | self.preservationChanceP = number.clamp(self.preservationChance, 0, 80) / 100 | ||
self.duplicationChanceP = number.clamp( | self.duplicationChanceP = number.clamp(self.duplicationChance, 0, 100) / 100 | ||
self.extraItemChanceP = number.clamp( | self.extraItemChanceP = number.clamp(self.extraItemChance, 0, 100) / 100 | ||
self.extraBaseItemChanceP = number.clamp( | self.extraBaseItemChanceP = number.clamp(self.extraBaseItemChance, 0, 100) / 100 | ||
return self | return self |
edits