Skip to content

Instantly share code, notes, and snippets.

View s884812's full-sized avatar
😆
Happy

Legend Chen s884812

😆
Happy
View GitHub Profile
CREATE TABLE `donate` (
`id` int(11) NOT NULL,
`username` text NOT NULL,
`amount` text NOT NULL,
`paymentMethod` text NOT NULL,
`date` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `gashapons` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`npcId` int(11) NOT NULL,
CREATE TABLE `gashapon_items` (
`gashaponsid` int(11) NOT NULL,
`itemid` int(11) NOT NULL,
`chance` int(11) NOT NULL,
`showmsg` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
UNIQUE KEY `gashaponsid_itemid` (`gashaponsid`,`itemid`),
KEY `itemid` (`itemid`),
CONSTRAINT `gashapon_items_ibfk_1` FOREIGN KEY (`gashaponsid`) REFERENCES `gashapons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8
var points;
var NxPoints;
var status = -1;
var sel, select;
var bosspq = 682020000;
var items = [
/*永恆武器*/
[
[1302081, 130000, 1, -1],
[1312037, 130000, 1, -1],