Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Add spell 5437 (Corruptor's Boon) to WCIDs 29542 (Enscorcelled Robe) that don't already have that spell */

INSERT INTO BIOTA_PROPERTIES_SPELL_BOOK
(SELECT DISTINCT b1.ID, 5437, 2 FROM BIOTA b1
WHERE b1.WEENIE_CLASS_ID = 29542
AND b1.ID NOT IN (SELECT DISTINCT b2.ID FROM BIOTA b2
INNER JOIN BIOTA_PROPERTIES_SPELL_BOOK bpsb on bpsb.OBJECT_ID = b2.ID
WHERE b2.WEENIE_CLASS_ID = 29542 AND bpsb.SPELL = 5437)
);