From f2c1c9f70ebe9a7fe6b2e0960e1068e82982ecb7 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 8 Jan 2014 14:06:39 -0500 Subject: [PATCH] Added required SQL for previous changes --- common/spdat.h | 2 +- .../git/required/2014_01_08_SpellsNewAdditions.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 utils/sql/git/required/2014_01_08_SpellsNewAdditions.sql diff --git a/common/spdat.h b/common/spdat.h index c6ffc062f..0dfc202db 100644 --- a/common/spdat.h +++ b/common/spdat.h @@ -725,7 +725,7 @@ struct SPDat_Spell_Struct /* 219 */ //int maxtargets; // is used for beam and ring spells for target # limits (not implemented) /* 220 - 223 */ /* 224 */ bool persistdeath; // buff doesn't get stripped on death -/* 225 - 236 */ +/* 225 - 236 */ // Not in DB uint8 DamageShieldType; // This field does not exist in spells_us.txt }; diff --git a/utils/sql/git/required/2014_01_08_SpellsNewAdditions.sql b/utils/sql/git/required/2014_01_08_SpellsNewAdditions.sql new file mode 100644 index 000000000..cfd05e7be --- /dev/null +++ b/utils/sql/git/required/2014_01_08_SpellsNewAdditions.sql @@ -0,0 +1,12 @@ +ALTER TABLE `spells_new` CHANGE `field200` `suspendable` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` CHANGE `field202` `songcap` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field215` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field216` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field217` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field218` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `maxtargets` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field220` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field221` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field222` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `field223` INT(11) DEFAULT '0'; +ALTER TABLE `spells_new` ADD `persistdeath` INT(11) DEFAULT '0';