Forked from
pregmodfan / fc-pregmod
Source project has a limited visibility.
-
svornost authored
1. Remove albinism stuff from getHeroSlave and just let deepAssign handle the albinism override. 2. Make deepAssign handle null values better, so it doesn't puke over the albinism override. 3. Refactor hero slave cost calculation to a separate function instead of repeating the same inscrutable logic multiple places.
svornost authored1. Remove albinism stuff from getHeroSlave and just let deepAssign handle the albinism override. 2. Make deepAssign handle null values better, so it doesn't puke over the albinism override. 3. Refactor hero slave cost calculation to a separate function instead of repeating the same inscrutable logic multiple places.