File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " roc-launcher" ,
3
- "version" : " 0.9.5 " ,
3
+ "version" : " 0.9.6 " ,
4
4
"description" : " Relics of Corbantis Official SWGEMU Launcher" ,
5
5
"main" : " main.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -133,6 +133,10 @@ function selectProfession(name) {
133
133
var profession = professions . find ( k => k . NAME == name ) ;
134
134
$ ( '#title' ) . innerHTML = skillNames [ profession . NAME ] ;
135
135
drawTree ( $ ( '#proftree' ) , profession , true ) ;
136
+ let div = document . createElement ( 'div' ) ;
137
+ div . className = 'pointsused' ;
138
+ div . innerHTML = `Points Used: ${ build . pointsUsed } <br/>Points Left: ${ 250 - build . pointsUsed } ` ;
139
+ $ ( '#proftree' ) . appendChild ( div ) ;
136
140
}
137
141
138
142
function drawTree ( tree , profession , drawText ) {
@@ -217,10 +221,6 @@ function drawBuild() {
217
221
div . addEventListener ( 'click' , e => selectProfession ( prof . NAME ) ) ;
218
222
$ ( '#build' ) . appendChild ( div ) ;
219
223
}
220
- let div = document . createElement ( 'div' ) ;
221
- div . className = 'pointsused' ;
222
- div . innerHTML = `Points Used: ${ build . pointsUsed } <br/>Points Left: ${ 250 - build . pointsUsed } ` ;
223
- $ ( '#proftree' ) . appendChild ( div ) ;
224
224
}
225
225
226
226
function drawAllLists ( ) {
You can’t perform that action at this time.
0 commit comments