Removed side effect of setting primary glyph distribution to 4 when
setting QL

fixes #18
Merge branch 'bugfix/issue/18' into develop

closes #18
Did some refactor

Extracted ql and role extraction from event to own functions
Changed some variable names to something less ambiguous
Did some refactoring

Used slotObj instead of slot name to check if slot is a weapon
Removed redundant else branch
Did some refactor

Detached slotState from slot URL creation