Moved spell level before page number for readability

merge-requests/36/head
Brian Haley 2019-08-28 16:56:50 -04:00
parent 6d23e8ed20
commit c15833057d
2 changed files with 37 additions and 164 deletions

View File

@ -17,54 +17,18 @@ INSERT INTO staff (
) )
VALUES VALUES
-- Animal Staff -- -- Animal Staff --
( (1, 'Animal Staff', 4, 90, 1, 'held in one hand', 'Cast a spell', NULL, NULL, "Supply one casting of all listed levels of all listed spells.", 1, 592, "This staff is topped with carved animal and monster heads. While wielding the staff, you gain a +2 circumstance bonus to Nature checks to identify animals." -- https://2e.aonprd.com/Equipment.aspx?ID=349 -- See if they fix <%ACTIONS#197> unsure what it is --
1, )
'Animal Staff', ,(2, 'Animal Staff (Greater)', 8, 460, 1, 'held in one hand', 'Cast a spell', NULL, NULL, "Supply one casting of all listed levels of all listed spells.", 1, 592, "This staff is topped with carved animal and monster heads. While wielding the staff, you gain a +2 circumstance bonus to Nature checks to identify animals." -- https://2e.aonprd.com/Equipment.aspx?ID=349 -- See if they fix <%ACTIONS#197> unsure what it is --
4, )
90, ,(3, 'Animal Staff (Major)', 12, 900, 1, 'held in one hand', 'Cast a spell', NULL, NULL, "Supply one casting of all listed levels of all listed spells.", 1, 592, "This staff is topped with carved animal and monster heads. While wielding the staff, you gain a +2 circumstance bonus to Nature checks to identify animals." -- https://2e.aonprd.com/Equipment.aspx?ID=349 -- See if they fix <%ACTIONS#197> unsure what it is --
1, )
'held in one hand',
'cast a spell',
NULL,
NULL,
"Supply one casting of all listed levels of all listed spells.",
1,
592,
"This staff is topped with carved animal and monster heads. While wielding the staff, you gain a +2 circumstance bonus to Nature checks to identify animals." -- https://2e.aonprd.com/Equipment.aspx?ID=349 -- See if they fix <%ACTIONS#197> unsure what it is --
),
(
2,
'Animal Staff (Greater)',
8,
460,
1,
'held in one hand',
'cast a spell',
NULL,
NULL,
"Supply one casting of all listed levels of all listed spells.",
1,
592,
"This staff is topped with carved animal and monster heads. While wielding the staff, you gain a +2 circumstance bonus to Nature checks to identify animals." -- https://2e.aonprd.com/Equipment.aspx?ID=349 -- See if they fix <%ACTIONS#197> unsure what it is --
),
(
3,
'Animal Staff (Major)',
12,
900,
1,
'held in one hand',
'cast a spell',
NULL,
NULL,
"Supply one casting of all listed levels of all listed spells.",
1,
592,
"This staff is topped with carved animal and monster heads. While wielding the staff, you gain a +2 circumstance bonus to Nature checks to identify animals." -- https://2e.aonprd.com/Equipment.aspx?ID=349 -- See if they fix <%ACTIONS#197> unsure what it is --
),
-- Mentalist's Staff -- -- Mentalist's Staff --
( ,(4, "Mentalist's Staff", 4, 230, 1, 'held in one hand', 'Cast a spell', NULL, NULL, "Supply one casting of all listed levels of all listed spells.", 1, 593, "This polished wooden staff bears a swirling motif reminiscent of the folds of a brain. While wielding the staff, you gain a +2 circumstance bonus to checks to identify mental magic."
)
,(5, "Mentalist's Staff (Greater)", 8, 900, 1, 'held in one hand', 'Cast a spell', NULL, NULL, "Supply one casting of all listed levels of all listed spells.", 1, 593, "This polished wooden staff bears a swirling motif reminiscent of the folds of a brain. While wielding the staff, you gain a +2 circumstance bonus to checks to identify mental magic."
)
(6, "Mentalist's Staff (Major)", 12, 4000, 1, 'held in one hand', 'Cast a spell', NULL, NULL, "Supply one casting of all listed levels of all listed spells.", 1, 593, "This polished wooden staff bears a swirling motif reminiscent of the folds of a brain. While wielding the staff, you gain a +2 circumstance bonus to checks to identify mental magic."
) )
INSERT INTO staff_spell ( INSERT INTO staff_spell (
staff_spell_id, staff_spell_id,
@ -74,120 +38,29 @@ INSERT INTO staff_spell (
) )
VALUES VALUES
-- Anmial Staff -- -- Anmial Staff --
( (1, 0, 253)
1, ,(1, 1, 273)
253, ,(1, 1, 442)
0
),
(
1,
273,
1
),
(
1,
442,
1
),
-- Animal Staff (Greater) -- Animal Staff (Greater)
( ,(2, 0, 253)
2, ,(2, 1, 273)
253, ,(2, 1, 442)
0 ,(2, 2, 19)
), ,(2, 2, 415)
( ,(2, 2, 442)
2, ,(2, 3, 18)
273, ,(2, 3, 442)
1
),
(
2,
442,
1
),
(
2,
19,
2
),
(
2,
415,
2
),
(
2,
442,
2
),
(
2,
18,
3
),
(
2,
442,
3
),
-- Animal Staff (Major) -- Animal Staff (Major)
( ,(3, 0, 253)
3, ,(3, 1, 273)
253, ,(3, 1, 442)
0 ,(3, 2, 19)
), ,(3, 2, 415)
( ,(3, 2, 442)
3, ,(3, 3, 18)
273, ,(3, 3, 442)
1 ,(3, 4, 442)
), ,(3, 5, 18)
( ,(3, 5, 299)
3, ,(3, 5, 442)
442, -- Mentalist's Staff --
1
),
(
3,
19,
2
),
(
3,
415,
2
),
(
3,
442,
2
),
(
3,
18,
3
),
(
3,
442,
3
),
(
3,
442,
4
),
(
3,
18,
5
),
(
3,
299,
5
)
(
3,
442,
5
)

View File

@ -24,9 +24,9 @@ CREATE TABLE staff (
CREATE TABLE staff_spell ( CREATE TABLE staff_spell (
staff_id INTEGER NOT NULL, staff_id INTEGER NOT NULL,
spell_id INTEGER NOT NULL,
"level" INTEGER NOT NULL, -- This represents the level of the spell in the staff where 0 = cantrip -- "level" INTEGER NOT NULL, -- This represents the level of the spell in the staff where 0 = cantrip --
-- Consider renaming this column -- -- Consider renaming this column --
spell_id INTEGER NOT NULL,
FOREIGN KEY (staff_id) REFERENCES staff(staff_id), FOREIGN KEY (staff_id) REFERENCES staff(staff_id),
FOREIGN KEY spell_id REFERENCES spells(spells_id) FOREIGN KEY spell_id REFERENCES spells(spells_id)
); );