Skip to content

Commit

Permalink
convert leather shields to hide shields
Browse files Browse the repository at this point in the history
  • Loading branch information
zediious committed Aug 21, 2024
1 parent 97c071e commit 8b6af15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addEnchantedVariantsToLeveledLists.pas
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,12 @@ function Process(e: IInterface): integer;
tier := 'Leather';
end;

// Convert Leather to Hide, if a Shield
if pos('Leather', tier) > 0 then begin
if pos('Shield', armor_type) > 0 then
tier := 'Hide';
end;

// Convert SteelPlate to Steel if a Shield
if pos('Shield', armor_type) > 0 then begin
if pos('SteelPlate', tier) > 0 then
Expand Down

0 comments on commit 8b6af15

Please sign in to comment.