jpw1991 / chebs-necromancy

Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks.
The Unlicense
10 stars 4 forks source link

expose quality ranges to config #30

Closed jpw1991 closed 1 year ago

jpw1991 commented 1 year ago

Quality (how many stars a creature has) is currently hardcoded to necromancy level:

int quality = 1;
if (playerNecromancyLevel >= 70) { quality = 3; }
else if (playerNecromancyLevel >= 35) { quality = 2; }

To permit greater user control, we should expose these ranges to the config.

Places to check:

  1. Skeleton Wand
  2. Draugr Wand
  3. Guardian Wraith
  4. Spirit Pylon
  5. Possibly elsewhere - anywhere a minion is instantiated