forked from azerothcore/mod-azerothshard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Misc): add support new api (azerothcore#18)
- Loading branch information
1 parent
630e1bc
commit d217162
Showing
126 changed files
with
75,669 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# This file is part of the AzerothCore Project. See AUTHORS file for Copyright information | ||
# | ||
# This file is free software; as a special exception the author gives | ||
# unlimited permission to copy and/or distribute it, with or without | ||
# modifications, as long as this notice is preserved. | ||
# | ||
# This program is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the | ||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# | ||
|
||
######################################## | ||
# AzerothShard module configuration | ||
######################################## | ||
|
||
# | ||
# Difference between the position level and the player level to disable the reward | ||
# default: 0 (disabled) | ||
# | ||
|
||
ChallengeMode.noReward.deltaLevelHigher = 0 | ||
ChallengeMode.noReward.deltaLevelLower = 0 | ||
|
||
# | ||
# Position levels to start checking for the difference between the position and the player level | ||
# default: 0 (disabled) | ||
# | ||
|
||
ChallengeMode.noReward.startLevelHigher = 0 | ||
ChallengeMode.noReward.startLevelLower = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Copyright (С) since 2019 Andrei Guluaev (Winfidonarleyan/Kargatum) https://github.com/Winfidonarleyan | ||
# | ||
|
||
############################### | ||
# Custom configuration system # | ||
############################### | ||
[worldserver] | ||
|
||
################################################################################################### | ||
# SOLO 3v3 ARENA | ||
# | ||
# Solo.3v3.Enable | ||
# Description: Enable system | ||
# Default: 1 | ||
# | ||
|
||
Solo.3v3.Enable = 1 | ||
Solo.3v3.MinLevel = 80 | ||
Solo.3v3.Cost = 45 | ||
Solo.3v3.ArenaPointsMulti = 0.8 | ||
Solo.3v3.FilterTalents = 1 | ||
Solo.3v3.VendorRating = 1 | ||
Arena.1v1.BlockForbiddenTalents = 0 | ||
Arena.CheckEquipAndTalents = 1 | ||
Solo.3v3.CastDeserterOnAfk = 1 | ||
Solo.3v3.CastDeserterOnLeave = 1 | ||
Solo.3v3.StopGameIncomplete = 1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DROP TABLE IF EXISTS `reputation_vendor`; | ||
CREATE TABLE `reputation_vendor`( | ||
`vendorId` INT(10) NOT NULL COMMENT 'vendor id', | ||
`reputation` INT(10) NOT NULL DEFAULT 948 COMMENT 'faction required', | ||
`value` INT(10) NOT NULL DEFAULT 3000 COMMENT 'how much reputation is required', | ||
`gossipSatisfied` INT(10) NOT NULL COMMENT 'gossip id when enough reputation', | ||
`gossipUnsatisfied` INT(10) NOT NULL COMMENT 'gossip id when not enough reputation', | ||
PRIMARY KEY (`vendorId`) | ||
); | ||
|
||
-- vendor pvp only | ||
ALTER TABLE `reputation_vendor` | ||
ADD COLUMN `PvPVendor` INT(1) NOT NULL DEFAULT '0' AFTER `gossipUnsatisfied`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
DELETE FROM `reputation_vendor` WHERE vendorId IN (100002, 100003, 100004, 100005, 100006, 100100, 100101, 100102, 100103); | ||
INSERT INTO `reputation_vendor` (vendorId, reputation, `value`, gossipSatisfied, gossipUnsatisfied) VALUES | ||
(100002, 948, 0, 32001, 32010), | ||
(100003, 948, 3000, 32001, 32010), | ||
(100004, 948, 6000, 32001, 32010), | ||
(100005, 948, 12000, 32001, 32010), | ||
(100006, 948, 21000, 32001, 32010), | ||
(100100, 948, 3000, 32000, 32010), | ||
(100101, 948, 6000, 32002, 32010), | ||
(100102, 948, 0, 32003, 32010); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/*Table structure for table `armory_character_stats` */ | ||
|
||
DROP TABLE IF EXISTS `armory_character_stats`; | ||
|
||
CREATE TABLE `armory_character_stats` ( | ||
`guid` int(11) NOT NULL, | ||
`data` longtext NOT NULL, | ||
`save_date` int(11) DEFAULT NULL, | ||
PRIMARY KEY (`guid`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='World of Warcraft Armory table'; | ||
|
||
/*Table structure for table `armory_game_chart` */ | ||
|
||
DROP TABLE IF EXISTS `armory_game_chart`; | ||
|
||
CREATE TABLE `armory_game_chart` ( | ||
`gameid` int(11) NOT NULL, | ||
`teamid` int(11) NOT NULL, | ||
`guid` int(11) NOT NULL, | ||
`changeType` int(11) NOT NULL, | ||
`ratingChange` int(11) NOT NULL, | ||
`teamRating` int(11) NOT NULL, | ||
`damageDone` int(11) NOT NULL, | ||
`deaths` int(11) NOT NULL, | ||
`healingDone` int(11) NOT NULL, | ||
`damageTaken` int(11) NOT NULL, | ||
`healingTaken` int(11) NOT NULL, | ||
`killingBlows` int(11) NOT NULL, | ||
`mapId` int(11) NOT NULL, | ||
`start` int(11) NOT NULL, | ||
`end` int(11) NOT NULL, | ||
`date` timestamp NULL DEFAULT CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`gameid`,`teamid`,`guid`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='WoWArmory Game Chart'; | ||
|
||
/*Table structure for table `character_feed_log` */ | ||
|
||
DROP TABLE IF EXISTS `character_feed_log`; | ||
|
||
CREATE TABLE `character_feed_log` ( | ||
`guid` int(11) NOT NULL, | ||
`type` smallint(1) NOT NULL, | ||
`data` int(11) NOT NULL, | ||
`date` int(11) DEFAULT NULL, | ||
`counter` int(11) NOT NULL, | ||
`difficulty` smallint(6) DEFAULT '-1', | ||
`item_guid` int(11) DEFAULT '-1', | ||
`item_quality` smallint(6) NOT NULL DEFAULT '-1' | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
Oops, something went wrong.