completed rollMagicWeapon() and related methods in LootDB