From c159a3c4ffd414d7423b3504a282cce1111b7874 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 30 Oct 2013 18:42:58 -0200 Subject: Account-wide Exp/Drop/Death Modifiers Attempting to mimic the official as suggested in http://hercules.ws/board/topic/250-official-vip-system/ The variables can be read and modified thru scripting as well as sql, the patch introduces 3 new pc-arams 'ModExp','ModDrop' and 'ModDeath' for that purpose. The OnLogin modifier display is not the real deal though -- wasn't able to get it to output properly (though that might have been my client files failt) Up for review. Signed-off-by: shennetsind --- sql-files/upgrades/2013-10-30--19-53.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql-files/upgrades/2013-10-30--19-53.sql (limited to 'sql-files/upgrades/2013-10-30--19-53.sql') diff --git a/sql-files/upgrades/2013-10-30--19-53.sql b/sql-files/upgrades/2013-10-30--19-53.sql new file mode 100644 index 000000000..05481cff4 --- /dev/null +++ b/sql-files/upgrades/2013-10-30--19-53.sql @@ -0,0 +1,5 @@ +#1383162785 +ALTER TABLE `account_data` ADD `base_exp` TINYINT( 4 ) UNSIGNED NOT NULL default '0'; +ALTER TABLE `account_data` ADD `base_drop` TINYINT( 4 ) UNSIGNED NOT NULL default '0'; +ALTER TABLE `account_data` ADD `base_death` TINYINT( 4 ) UNSIGNED NOT NULL default '0'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1383162785); \ No newline at end of file -- cgit v1.2.3-70-g09d2