During my last Thursday session Eric the DM mentioned something about having to open the NPC sheets to get the effects. I made a note to get back to that and see if I couldn't improve it. Shortly there after a thread appeared mentioning that negative modifiers did not correctly process (i.e. 2d6-1). I took a look at it and quickly figured out what the problem was. I made a few changes and got a test version of them working.
Fixing the negative numbers, had me looking at the same functions that handle the highlighting of the CT. I quickly realized the reason the EFF/SA/SD didn't hightlight and were not draggable is because they were too complex. A power could have multiple effects, special damage or special attacks. I let it sit until Sunday.
On Sunday it dawned on me, that the special attacks/damages/effects all worked just fine from the power display. So after a bit of tinkering I managed to get highlighting to work for EFF/SA/SD:

Here's what it looks like when you double click on the EFF/SA/SD marker:

The restrained and stunned text was highlighted because I was hovering over it when I took the screenshot. Just like the full NPC sheet you can drag that effect (or anything you can normally drag off an npc power).
I messed around with it and decided I like it so much I'm probably going to remove the EFF/SA/SD highlighting and instead highlight the power name. This will allow the DM to double click open any power (even if it has no effects/special attacks/special damages) and view the "micropower" sheet. Hopefully this will make finding the details (range/keywords/etc) or all powers a lot easier.
No comments:
Post a Comment