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:
Sarjuuk
2013-07-06 16:33:30 +02:00
parent a3f16f0e0d
commit 9c9d03dbb8
13 changed files with 219 additions and 122 deletions

View File

@@ -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 = '';