custom: added armory-formated string to TalentCalc summary (addon compatibility)

This commit is contained in:
Sarjuuk
2014-09-17 21:52:49 +02:00
parent 712c063cda
commit 425aede92e

View File

@@ -603,6 +603,12 @@ function TalentCalc() {
buffer += '</h2>';
buffer += '<p></p>';
// custom: deploy old armory-string
buffer += '<h3>' + LANG.tc_export + LANG.colon + '</h3>';
buffer += '<blockquote style="font-family: \'Courier New\';">?cid=' + _currentClass + '&tal=' + $WowheadTalentCalculator.getBlizzBuild() + '</blockquote>';
buffer += '<p></p>';
// custom end
for (i = 0; i < _nTrees; ++i) {
buffer += '<h3>' + c[i].n + ' (' + c[i].k + ' ' + LANG[c[i].k == 1 ? 'tc_point': 'tc_points'] + ')</h3>';
buffer += '<blockquote>';