You may want to look at the code in the feat Medium Armor Master to get an idea on how to work on it.
It shows how to add a DEX modifier that simulates medium armor having a max DEX of 3.
You'll obviously be looking at doing the reverse but the logic will be similar for both cases.
|