Active Coupon Buff

Added buff icons for active coupons the player has. Fixed a minor issue,
introduced on the last commit, that prevented coupons to become active
automatically.
This commit is contained in:
ronancpl
2017-05-30 23:28:31 -03:00
parent e1c95352c8
commit f30acb3b8a
40 changed files with 538 additions and 337 deletions
+40 -40
View File
@@ -16324,46 +16324,46 @@ CREATE TABLE IF NOT EXISTS `nxcoupons` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=41 ;
INSERT INTO `nxcoupons` (`id`, `couponid`, `rate`, `activeday`, `starthour`, `endhour`) VALUES
(1,5211000,2,1,18,20),
(2,5211004,2,1,7,11),
(3,5211005,2,1,10,14),
(4,5211006,2,1,13,17),
(5,5211007,2,1,16,20),
(6,5211008,2,1,19,23),
(7,5211009,2,1,7,11),
(8,5211010,2,1,10,14),
(9,5211011,2,1,13,17),
(10,5211012,2,1,16,20),
(11,5211013,2,1,19,23),
(12,5211014,2,1,7,11),
(13,5211015,2,1,10,14),
(14,5211016,2,1,13,17),
(15,5211017,2,1,16,20),
(16,5211018,2,1,19,23),
(17,5211037,2,1,0,4),
(18,5211038,2,1,0,4),
(19,5211039,2,1,0,4),
(20,5211040,2,1,3,7),
(21,5211041,2,1,3,7),
(22,5211042,2,1,3,7),
(23,5211043,2,1,6,10),
(24,5211044,2,1,6,10),
(25,5211045,2,1,6,10),
(26,5211046,2,1,0,24),
(27,5211048,2,1,0,24),
(28,5211049,2,1,0,24),
(29,5211052,3,1,0,24),
(30,5211060,3,1,0,24),
(31,5360000,2,1,0,24),
(32,5360001,2,1,7,11),
(33,5360002,2,1,10,14),
(34,5360003,2,1,13,17),
(35,5360004,2,1,16,20),
(36,5360005,2,1,19,23),
(37,5360006,2,1,0,4),
(38,5360007,2,1,3,7),
(39,5360008,2,1,6,10),
(40,5360042,2,1,0,24);
(1,5211000,2,254,18,20),
(2,5211004,2,124,7,11),
(3,5211005,2,124,10,14),
(4,5211006,2,124,13,17),
(5,5211007,2,124,16,20),
(6,5211008,2,124,19,23),
(7,5211009,2,130,7,11),
(8,5211010,2,130,10,14),
(9,5211011,2,130,13,17),
(10,5211012,2,130,16,20),
(11,5211013,2,130,19,23),
(12,5211014,2,254,7,11),
(13,5211015,2,254,10,14),
(14,5211016,2,254,13,17),
(15,5211017,2,254,16,20),
(16,5211018,2,254,19,23),
(17,5211037,2,124,0,4),
(18,5211038,2,130,0,4),
(19,5211039,2,254,0,4),
(20,5211040,2,124,3,7),
(21,5211041,2,130,3,7),
(22,5211042,2,254,3,7),
(23,5211043,2,124,6,10),
(24,5211044,2,130,6,10),
(25,5211045,2,254,6,10),
(26,5211046,2,254,0,24),
(27,5211048,2,254,0,24),
(28,5211049,2,254,0,24),
(29,5211052,3,255,0,24),
(30,5211060,3,255,0,24),
(31,5360000,2,254,0,24),
(32,5360001,2,254,7,11),
(33,5360002,2,254,10,14),
(34,5360003,2,254,13,17),
(35,5360004,2,254,16,20),
(36,5360005,2,254,19,23),
(37,5360006,2,254,0,4),
(38,5360007,2,254,3,7),
(39,5360008,2,254,6,10),
(40,5360042,2,254,0,24);
CREATE TABLE IF NOT EXISTS `pets` (