I'm really not sure about the fine details of the UI design. It is far from my forte. I think having Active out there is obvious to anyone new using the character sheet. Another word might be better like "ongoing". I also need to make is so folks who don't speak English as their first language can easily understand it. Changing colors would be a good idea as well. Preferably this would be something in the CharacterSheet_css macro that is changeable as part of the overall color scheme.Amaril wrote:This is amazing work, RPTroll!RPTroll wrote:OK. Here's the latest with Super Powers included.
As you can see, a character's super powers now show up in the Skills section along with any other arcane skill the character might have. Super powers work differently from other AB powers and get their own skill.
Other updates include adding "- Active" next to a power that is active and a new radio button so that if a power is active the player can deactivate it.
Regarding deactiviation, is there a reason why one wouldn't simply have a button that just says "Deactivate", or is that clunky to do in MapTool? Are there cases where there might be other actions that can be taken beyond deactivation?
Another possible solution for indicating active powers is a superscript A (maybe a red A)at the end of the power name using the CSS style {vertical-align: super;}
Regarding deactivate button: I had it this way in one iteration but decided to use the radio button in stead. It made the code cleaner but it doesn't' meant its the best choice for the UI. Under the covers, if you use a power again its going to replace the old instance of the active power. So having the radio button allows only one option to be selected. If someone wanted to deactivate and cast the spell they would simply need to use the power twice. Once to deactivate and one to cast it again.
This could be a problem if someone wanted to cast three separate Barriers and maintain them but I decided to go the easy route and allow only one active power of that name. If I were to allow multiple instantiations of the same power the UI coding gets hairier and I really wanted to get SOMETHING out that handled the majority of situations.