mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Achievement:
- improved handling of rewards Spell: - moved calcuation of effectValue to separate function, use realPointsPerLevel - eval: applied proper format, fixed evalable string when facing multiple signs in a row - display modelviewer for summons Titles: - looks like titles behave differently when using "faction" or "side" Achievement: - implemented rewards (which i have forgotten for almost 2 years) * reworked pet-setup * typos and forgotten changes, that broke code here and there
This commit is contained in:
@@ -12246,33 +12246,6 @@ Listview.templates = {
|
||||
}
|
||||
}
|
||||
},
|
||||
/* old: doesn't support text sent by server
|
||||
getVisibleText: function(l) {
|
||||
var h = {
|
||||
achievements: g_achievements,
|
||||
quests: g_quests
|
||||
},
|
||||
m = "",
|
||||
d = 0;
|
||||
for (var f in h) {
|
||||
var g = h[f],
|
||||
a = l[f];
|
||||
if (!g || !a) {
|
||||
continue
|
||||
}
|
||||
for (var e = 0, c = a.length; e < c; ++e) {
|
||||
if (g[a[e]]) {
|
||||
var b = (f == "achievements" ? "name": "name_" + g_locale.name);
|
||||
if (d++>0) {
|
||||
m += " "
|
||||
}
|
||||
m += g[a[e]][b]
|
||||
}
|
||||
}
|
||||
}
|
||||
return m
|
||||
},
|
||||
*/
|
||||
getVisibleText: function(title) {
|
||||
var buff = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user