First working version

This commit is contained in:
Gonçalo Correia 2026-04-11 16:05:04 +01:00
commit 150e52842e
12 changed files with 515 additions and 0 deletions

38
docs/1-interface.md Normal file
View file

@ -0,0 +1,38 @@
# Feature: Interface
- The addon's main interface is a simple dialog window.
- This window can be shown/hidden via:
- A slash command `/altsystem`
- A button inside the TRP toolbar
- A button in the minimap menu
## Window features
### Skill dropdown
- A small dropdown menu to select the skill to be used. (use dummy data for now)
- 1 skill per line
- Each skill has a name, an icon, a level (Novice, Adept, Expert, Master), and a corresponding modifier
- Novice: -2
- Adept: +0
- Expert: +2
- Master: +4
### Item dropdown
- A small dropdown menu to select if an item should be used or not.
- Default to no item selected
- Static data for available selections:
- Rare item (+3 modifier)
- Epic item (+5 modifier)
### Defense dropdown
- A small dropdown menu to select the defense to be used.
- Static data for available selections:
- Base armor (+0)
- Extra small armor (+1)
- Extra large armor (+2)
- Default to Base armor
### Shield checkbox
- A checkbox to select if a shield (+1) should be used or not.
- Default to unchecked
### Roll buttons
- Two buttons, each will perform the WoW native `/roll 20` command when clicked
### Roll result
- A small area, to show the result of the rolls based on which button was clicked
- The 'Attack Roll' button will show the sum of the roll, plus any skill and item modifiers
- The 'Defense Roll' button will show the sum of the roll, plus any skill, item, defense, and shield modifier