Monday, April 6, 2009

Thursday's aftermath

When the CT was first changed to display the SD/SA/EFF markers, I wondered if I couldn't do something more to make them usable. The way I turned the Recharge markers into effects that handle power recharge. Then Dungeon Delve and PHB2 came out and I forgot all about it.

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:

The hard part was figuring out what to do with them. I played around with a few ideas and eventually decided that the best option was to build a small powers display. This would show the power exactly like it appears on the NPC sheet, but save you the hassle (and screen real estate) of opening the npc sheet, going to the powers tab, then locating the specific power.

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: