loathers / greenbox

Script for examining and sharing a player's loadout of skills and items in the Kingdom of Loathing
https://greenbox.loathers.net
Apache License 2.0
6 stars 7 forks source link

Handle mutex skill groups a little better #73

Closed soolar closed 9 months ago

soolar commented 9 months ago

This will make it easier to add any future mutually exclusive skill groups that are added in the future (if that ever happens again), but more importantly it prevents them from being counted against the total number of permable skills in a way that isn't just hardcoding skills.length - 2, making the bar for skills possible to fill completely instead of always having at least a little sliver of grey.

Tested locally with this URL, the skills bar appears completely full. Compare to live with this URL which has a little grey sliver at the end.