diff docs/specs/db/spell.md @ 182:3107ce017c3a

Misc: switch back to SDL Qt Quick and QML was an exciting experiment but it's definitely not enough flexible and easy to use for game development. Using SDL2 will let us focusing on our own drawing functions without any kind of overhead. While here, start massive cleanup.
author David Demelier <markand@malikania.fr>
date Fri, 19 Oct 2018 20:18:19 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/specs/db/spell.md	Fri Oct 19 20:18:19 2018 +0200
@@ -0,0 +1,19 @@
+# Spell
+
+Each `character` have a series of spell that is customized by the user.
+
+## Table recommandation
+
+| field         | type                      |
+|---------------|---------------------------|
+| id            | big integer (primary key) |
+| character_id  | big integer               |
+| classname     | string not null           |
+| level         | short int                 |
+
+## Fields
+
+  - **id**: unique idenfitier,
+  - **character_id**: references character.id,
+  - **classname**: the class name to create,
+  - **level**: spell level,