mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
added enchantments to DB
* added markdown [enchantment=123] and [emote=456] * updated item_stats to accomodate enchantments * updated tables for community content to handle emotes and enchantments Spells: * getStatGain() now reads aura 123 as Spell Penetration * fixed error in tooltips when displaying effect ranges (e.g. 10 - 10 damage) * display the miscValue of aura 50, 102, 131 and 180 human readable Emote: * no longer displays empty quickInfo on detail page * detail page no longer pretends to be a pet Setup: * sync no longer regenerates all tables/files, when the supplied world-table affects nothing * fixed dependancy of ?_source from ?_achievment (damn plural-s) Misc: * FireFox doesn't understand <node>.innerText, use <node>.textContent instead please refresh the affected tables and files php aowow --sql=itemenchantment,item_stats php aowow --build=enchants,gems
This commit is contained in:
@@ -816,6 +816,16 @@ var mn_currencies = [
|
||||
[1,"Miscellaneous","?currencies=1"],
|
||||
[2,"Player vs. Player","?currencies=2"]
|
||||
];
|
||||
var mn_enchantments = [
|
||||
[1,"Proc Spell","?enchantments&filter=ty=1"],
|
||||
[3,"Equip Spell","?enchantments&filter=ty=3"],
|
||||
[7,"Use Spell","?enchantments&filter=ty=7"],
|
||||
[8,"Prismatic Socket","?enchantments&filter=ty=8"],
|
||||
[5,"Statistics","?enchantments&filter=ty=5"],
|
||||
[2,"Weapon Damage","?enchantments&filter=ty=2"],
|
||||
[6,"DPS","?enchantments&filter=ty=6"],
|
||||
[4,"Defense","?enchantments&filter=ty=4"]
|
||||
];
|
||||
var mn_talentCalc = [
|
||||
[6,"Death Knight","?talent#j",,{className:"c6",tinyIcon:"class_deathknight"}],
|
||||
[11,"Druid","?talent#0",,{className:"c11",tinyIcon:"class_druid"}],
|
||||
@@ -882,7 +892,8 @@ var mn_database = [
|
||||
[10,"Titles","?titles",mn_titles],
|
||||
[11,"World Events","?events",mn_holidays],
|
||||
[6,"Zones","?zones",mn_zones],
|
||||
[100,"Emotes","?emotes",null]
|
||||
[100,"Emotes","?emotes",null],
|
||||
[101,"Enchantments","?enchantments",mn_enchantments]
|
||||
];
|
||||
var mn_tools = [
|
||||
[0,"Talent Calculator","?talent",mn_talentCalc],
|
||||
@@ -2652,6 +2663,7 @@ var LANG = {
|
||||
lvnote_arenateamsfound: "$1 total arena teams",
|
||||
lvnote_arenateamsfound2: "$1 total arena teams, $2 matching",
|
||||
lvnote_currenciesfound: "$1 currencies found ($2 displayed)",
|
||||
lvnote_enchantmentsfound: "$1 enchantments found ($2 displayed)",
|
||||
|
||||
lvnote_createafilter: '<small><a href="$1">Create a filter</a></small>',
|
||||
lvnote_filterresults: '<small><a href="$1">Filter these results</a></small>',
|
||||
@@ -3223,23 +3235,25 @@ var LANG = {
|
||||
myaccount_purgesuccess: "Announcement data has been successfully purged!",
|
||||
|
||||
types: {
|
||||
1: ["NPC", "NPC" , "NPCs", "NPCs"],
|
||||
2: ["Object", "object", "Objects", "objects"],
|
||||
3: ["Item", "item", "Items", "items"],
|
||||
4: ["Item Set", "item set", "Item Sets", "item sets"],
|
||||
5: ["Quest", "quest", "Quests", "quests"],
|
||||
6: ["Spell", "spell", "Spells", "spells"],
|
||||
7: ["Zone", "zone", "Zones", "zones"],
|
||||
8: ["Faction", "faction", "Factions", "factions"],
|
||||
9: ["Pet", "pet", "Pets", "pets"],
|
||||
10: ["Achievement", "achievement", "Achievements", "achievements"],
|
||||
11: ["Title", "title", "Titles", "titles"],
|
||||
12: ["World Event", "world event", "World Events", "world events"],
|
||||
13: ["Class", "class", "Classes", "classes"],
|
||||
14: ["Race", "race", "Races", "races"],
|
||||
15: ["Skill", "skill", "Skills", "skills"],
|
||||
16: ["Statistic", "statistic", "Statistics", "statistics"],
|
||||
17: ["Currency", "currency", "Currencies", "currencies"]
|
||||
1: ["NPC", "NPC" , "NPCs", "NPCs"],
|
||||
2: ["Object", "object", "Objects", "objects"],
|
||||
3: ["Item", "item", "Items", "items"],
|
||||
4: ["Item Set", "item set", "Item Sets", "item sets"],
|
||||
5: ["Quest", "quest", "Quests", "quests"],
|
||||
6: ["Spell", "spell", "Spells", "spells"],
|
||||
7: ["Zone", "zone", "Zones", "zones"],
|
||||
8: ["Faction", "faction", "Factions", "factions"],
|
||||
9: ["Pet", "pet", "Pets", "pets"],
|
||||
10: ["Achievement", "achievement", "Achievements", "achievements"],
|
||||
11: ["Title", "title", "Titles", "titles"],
|
||||
12: ["World Event", "world event", "World Events", "world events"],
|
||||
13: ["Class", "class", "Classes", "classes"],
|
||||
14: ["Race", "race", "Races", "races"],
|
||||
15: ["Skill", "skill", "Skills", "skills"],
|
||||
16: ["Statistic", "statistic", "Statistics", "statistics"],
|
||||
17: ["Currency", "currency", "Currencies", "currencies"],
|
||||
501: ["Emote", "emote", "Emotes", "emotes"],
|
||||
502: ["Enchantment", "enchantment", "Enchantments", "enchantments"]
|
||||
},
|
||||
|
||||
timeunitssg: ["year", "month", "week", "day", "hour", "minute", "second"],
|
||||
@@ -3912,6 +3926,18 @@ var LANG = {
|
||||
teamcontrib5v5: "5v5 arena team contribution"
|
||||
},
|
||||
|
||||
// custom
|
||||
fienchantments: {
|
||||
id: "ID",
|
||||
hascondition: "Requires a combination of gems",
|
||||
requiresprof: "Requires a profession",
|
||||
|
||||
sepcommunity: "Community",
|
||||
hascomments: "Has comments",
|
||||
hasscreenshots: "Has screenshots",
|
||||
hasvideos: "Has videos"
|
||||
},
|
||||
|
||||
pr_notice: 'First time? – Don\'t be shy! Just check out our <a href="?help=profiler" target="_blank">Help page</a>! <small class="q0"><a href="javascript:;">close</a></small>',
|
||||
pr_datasource: 'Data in this tab was last updated $2 by <a href="?user=$1" target="_blank">$1</a>.',
|
||||
pr_purgedata: "Click to delete all completion data in the current tab.<br />Only the user who uploaded the data may purge it.",
|
||||
|
||||
Reference in New Issue
Block a user