Skip to content

Commit 7466106

Browse files
committed
If armor is a Shield and SteelPlate, convert to Steel
1 parent 897b8e0 commit 7466106

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

addEnchantedVariantsToLeveledLists.pas

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,12 @@ function Process(e: IInterface): integer;
698698
tier := 'Leather';
699699
end;
700700

701+
// Convert SteelPlate to Steel if a Shield
702+
if pos('Shield', armor_type) > 0 then begin
703+
if pos('SteelPlate', tier) > 0 then
704+
tier := 'Steel';
705+
end;
706+
701707
// Convert ImperialHeavy to Steel
702708
if pos('ImperialHeavy', tier) > 0 then
703709
tier := 'Steel';

0 commit comments

Comments
 (0)