mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-29 22:29:44 -04:00
added values for ability scores in binary form
This commit is contained in:
1 parent
f9135fcfc0
commit
598fbb6581
1 file changed
+17
@@ -26,3 +26,20 @@ sqlite database.
|
||||
2. Write script to generate sqlite database from sql code;
|
||||
3. Write sql code; and
|
||||
4. Drinks for all when finished!
|
||||
|
||||
# Conventions in the Code
|
||||
|
||||
## Ability Scores in Integer Representation
|
||||
|
||||
| Ability Type | Value |
|
||||
|--------------|-------|
|
||||
| STR | 1 |
|
||||
| DEX | 2 |
|
||||
| CON | 4 |
|
||||
| INT | 8 |
|
||||
| WIS | 16 |
|
||||
| CHA | 32 |
|
||||
|
||||
If I wanted to say STR and DEX, I would use a `3`. If I wanted STR, WIS, and
|
||||
CHA, that would be 1 + 16 + 32 = `49`. This is to not have to have more database
|
||||
tables than necessary when trying to list one or more ability scores.
|
||||
Reference in new issue
Block a user