summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-08 22:09:40 -0200
committershennetsind <ind@henn.et>2013-11-08 22:09:40 -0200
commit8ed38f98894fb04b4403b44dc0f36281cfd36326 (patch)
tree4e5c3b06e3ffcb5e6e74815a33cbe61bf03f75c5 /sql-files
parent7803b4e0d437681aa09113b5240363d03d85a1b8 (diff)
downloadhercules-8ed38f98894fb04b4403b44dc0f36281cfd36326.tar.gz
hercules-8ed38f98894fb04b4403b44dc0f36281cfd36326.tar.bz2
hercules-8ed38f98894fb04b4403b44dc0f36281cfd36326.tar.xz
hercules-8ed38f98894fb04b4403b44dc0f36281cfd36326.zip
Adjusted account-modifiers default values to 100.
Special Thanks to Haruna, ossi0110. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql7
-rw-r--r--sql-files/upgrades/2013-11-09--00-03.sql5
-rw-r--r--sql-files/upgrades/index.txt3
3 files changed, 11 insertions, 4 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index 387d01893..23170096f 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -667,6 +667,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1382892428);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1383162785);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1383167577);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1383205740);
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1383955424);
--
-- Table structure for table `sstatus`
@@ -721,9 +722,9 @@ INSERT INTO `interreg` (`varname`, `value`) VALUES
CREATE TABLE IF NOT EXISTS `account_data` (
`account_id` int(11) unsigned NOT NULL default '0',
`bank_vault` int(11) unsigned NOT NULL default '0',
- `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '0',
- `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '0',
- `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '0',
+ `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '100',
+ `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '100',
+ `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '100',
PRIMARY KEY (`account_id`)
) ENGINE=MyISAM;
diff --git a/sql-files/upgrades/2013-11-09--00-03.sql b/sql-files/upgrades/2013-11-09--00-03.sql
new file mode 100644
index 000000000..09c63307f
--- /dev/null
+++ b/sql-files/upgrades/2013-11-09--00-03.sql
@@ -0,0 +1,5 @@
+#1383955424
+ALTER TABLE `account_data` MODIFY `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '100';
+ALTER TABLE `account_data` MODIFY `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '100';
+ALTER TABLE `account_data` MODIFY `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '100';
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1383955424); \ No newline at end of file
diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt
index 133366319..9074f5c62 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -9,4 +9,5 @@
2013-10-27--16-47.sql
2013-10-30--19-53.sql
2013-10-30--21-12.sql
-2013-10-31--07-49.sql \ No newline at end of file
+2013-10-31--07-49.sql
+2013-11-09--00-03.sql \ No newline at end of file