flackr / dungeon

A D&D based multiplayer role playing game.
13 stars 4 forks source link

Implement dialog to fill in missing details about powers. #15

Open kellis opened 12 years ago

kellis commented 12 years ago

Summary

Imported character and monster files often contain only partial information about powers. Details regarding attack bonus, defense and base damage can usually be extracted, but additional effects are generally restricted to URL links in the file. A means of injecting missing rules for powers is required.

Implementation

The file character-details-page.js is responsible for laying out all of the powers for a character in tabular form, and serves as a convenient location for refining rules. For each power, there is a core set of attributes that must be set. A check can be performed to add an appropriate icon to any power that is incompletely specified. In addition, an edit button can be inserted to modify/clarify a power.

From a cursory look over the player handbooks, it appears that most of the missing information can be filled in quickly by making a few selections from combo-boxes. and filling in a few input fields. A description field would also be nice for the user.

A small percentage of powers contain rather unusual effects. In such cases, it might be necessary to mark the power as requiring DM intervention.