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:
Sarjuuk
2015-07-31 12:05:52 +02:00
parent f6e15c35fc
commit 7f08708555
42 changed files with 1954 additions and 363 deletions

View File

@@ -770,6 +770,16 @@ var mn_currencies = [
[1,"Miscelánea","?currencies=1"],
[2,"Jugador contra Jugador","?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,"Ranura prismática","?enchantments&filter=ty=8"],
[5,"Atributos","?enchantments&filter=ty=5"],
[2,"Daño de arma","?enchantments&filter=ty=2"],
[6,"DPS","?enchantments&filter=ty=6"],
[4,"Defensa","?enchantments&filter=ty=4"]
];
var mn_talentCalc = [
[6,"Caballero de la muerte","?talent#j",,{className:"c6",tinyIcon:"class_deathknight"}],
[11,"Druida","?talent#0",,{className:"c11",tinyIcon:"class_druid"}],
@@ -836,7 +846,8 @@ var mn_database = [
[10,"Títulos","?titles",mn_titles],
[11,"Eventos del mundo","?events",mn_holidays],
[6,"Zonas","?zones",mn_zones],
[100,"Emociones","?emotes",null]
[100,"Emociones","?emotes",null],
[101,"Encantamientos","?enchantments",mn_enchantments]
];
var mn_tools = [
[0,"Calculadora de talentos","?talent",mn_talentCalc],
@@ -2607,6 +2618,7 @@ var LANG = {
lvnote_arenateamsfound: "$1 equipos de arena en total",
lvnote_arenateamsfound2: "$1 equipos de arena en total, $2 coincidente(s)",
lvnote_currenciesfound: "$1 monedas encontradas ($2 mostradas)",
lvnote_enchantmentsfound: "$1 encantamientos encontrados (mostrados $2)",
lvnote_createafilter: '<small><a href="$1">Crea un filtro</a></small>',
lvnote_filterresults: '<small><a href="$1">Filtrar estos resultados</a></small>',
@@ -3178,23 +3190,25 @@ var LANG = {
myaccount_purgesuccess: "¡Se han purgado los datos de los anuncios correctamente!",
types: {
1: ["PNJ", "PNJ" , "PNJs", "PNJs"],
2: ["Entidad", "entidad", "Entidades", "entidades"],
3: ["Objeto", "objeto", "Objetos", "objetos"],
4: ["Conjunto de objetos", "conjunto de objetos", "Conjuntos de objetos", "conjuntos de objetos"],
5: ["Misión", "misión", "Misiones", "misiones"],
6: ["Hechizo", "hechizo", "Hechizos", "hechizos"],
7: ["Zona", "zona", "Zonas", "zonas"],
8: ["Facción", "facción", "Facciones", "facciones"],
9: ["Mascota", "mascota", "Mascotas", "mascotas"],
10: ["Logro", "logro", "Logros", "logros"],
11: ["Título", "título", "Títulos", "títulos"],
12: ["Suceso mundial", "evento del mundo", "Eventos del mundo", "eventos del mundo"],
13: ["Clase", "Clase", "Clases", "Clases"],
14: ["Raza", "raza", "Razas", "razas"],
15: ["Habilidad", "habilidad", "Habilidades", "habilidades"],
16: ["Atributo", "atributo", "Atributos", "atributos"],
17: ["Monedas", "monedas", "Monedas", "monedas"]
1: ["PNJ", "PNJ" , "PNJs", "PNJs"],
2: ["Entidad", "entidad", "Entidades", "entidades"],
3: ["Objeto", "objeto", "Objetos", "objetos"],
4: ["Conjunto de objetos", "conjunto de objetos", "Conjuntos de objetos", "conjuntos de objetos"],
5: ["Misión", "misión", "Misiones", "misiones"],
6: ["Hechizo", "hechizo", "Hechizos", "hechizos"],
7: ["Zona", "zona", "Zonas", "zonas"],
8: ["Facción", "facción", "Facciones", "facciones"],
9: ["Mascota", "mascota", "Mascotas", "mascotas"],
10: ["Logro", "logro", "Logros", "logros"],
11: ["Título", "título", "Títulos", "títulos"],
12: ["Suceso mundial", "evento del mundo", "Eventos del mundo", "eventos del mundo"],
13: ["Clase", "Clase", "Clases", "Clases"],
14: ["Raza", "raza", "Razas", "razas"],
15: ["Habilidad", "habilidad", "Habilidades", "habilidades"],
16: ["Atributo", "atributo", "Atributos", "atributos"],
17: ["Monedas", "monedas", "Monedas", "monedas"],
501: ["Emoción", "emoción", "Emociones", "emociones"],
502: ["Encantamiento", "encantamiento", "Encantamientos", "encantamientos"]
},
timeunitssg: ["año", "mes", "semana", "día", "hora", "minuto", "segundo"],
@@ -3870,6 +3884,18 @@ var LANG = {
teamcontrib5v5: "Contribución de equipo de arena 5v5"
},
// custom
fienchantments: {
id: "ID",
hascondition: "[Requires a combination of gems]",
requiresprof: "Requiere una profesión",
sepcommunity: "Comunidad",
hascomments: "Tiene comentarios",
hasscreenshots: "Tiene capturas de pantalla",
hasvideos: "Tiene vídeos",
},
pr_notice: '¿La primera vez? &ndash; ¡No temas! ¡Visita nuestra <a href="?help=profiler" target="_blank">página de ayuda</a>! &nbsp; <small class="q0"><a href="javascript:;">cerrar</a></small>',
pr_datasource: 'Los datos de esta pestaña se actualizarón por última vez el $2 por <a href="?user=$1" target="_blank">$1</a>.',
pr_purgedata: "Haz click para eliminar todos los datos recogidos en la pestaña actual.<br />Solo aquel que ha subido los datos puede hacerlo.",