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
-- 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 --
),
(
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 --
),
(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 --
)
,(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 --
(
,(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 (
staff_spell_id,
@ -74,120 +38,29 @@ INSERT INTO staff_spell (
)
VALUES
-- Anmial Staff --
(
1,
253,
0
),
(
1,
273,
1
),
(
1,
442,
1
),
(1, 0, 253)
,(1, 1, 273)
,(1, 1, 442)
-- Animal Staff (Greater)
(
2,
253,
0
),
(
2,
273,
1
),
(
2,
442,
1
),
(
2,
19,
2
),
(
2,
415,
2
),
(
2,
442,
2
),
(
2,
18,
3
),
(
2,
442,
3
),
,(2, 0, 253)
,(2, 1, 273)
,(2, 1, 442)
,(2, 2, 19)
,(2, 2, 415)
,(2, 2, 442)
,(2, 3, 18)
,(2, 3, 442)
-- Animal Staff (Major)
(
3,
253,
0
),
(
3,
273,
1
),
(
3,
442,
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
)
,(3, 0, 253)
,(3, 1, 273)
,(3, 1, 442)
,(3, 2, 19)
,(3, 2, 415)
,(3, 2, 442)
,(3, 3, 18)
,(3, 3, 442)
,(3, 4, 442)
,(3, 5, 18)
,(3, 5, 299)
,(3, 5, 442)
-- Mentalist's Staff --

View File

@ -24,9 +24,9 @@ CREATE TABLE staff (
CREATE TABLE staff_spell (
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 --
-- Consider renaming this column --
spell_id INTEGER NOT NULL,
FOREIGN KEY (staff_id) REFERENCES staff(staff_id),
FOREIGN KEY spell_id REFERENCES spells(spells_id)
);