fix follower issue that allowed sheilds to infinitely stack

This commit is contained in:
RussellChamp committed 2022-08-05 22:39:57 -04:00
1 parent 9d0d8ceed9
commit db681e6217
1 file changed
+1 -1
+1 -1
View File
@@ -243,7 +243,7 @@ const armors: Armor[] = [
];
function rollArmor(): Armor {
let armor = sample(armors);
let armor = { ...sample(armors) };
if (random(1, 2) == 2) {
armor.description += " and a shield";
armor.value += 1;