subskill
This commit is contained in:
parent
adb8192661
commit
0b9a94bc5e
10
game/game.js
10
game/game.js
|
@ -12317,7 +12317,15 @@
|
||||||
if(lib.skill[i].subSkill){
|
if(lib.skill[i].subSkill){
|
||||||
for(var j in lib.skill[i].subSkill){
|
for(var j in lib.skill[i].subSkill){
|
||||||
lib.skill[i+'_'+j]=lib.skill[i].subSkill[j];
|
lib.skill[i+'_'+j]=lib.skill[i].subSkill[j];
|
||||||
lib.translate[i+'_'+j]=lib.translate[i];
|
if(lib.skill[i].subSkill[j].name){
|
||||||
|
lib.translate[i+'_'+j]=lib.skill[i].subSkill[j].name;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
lib.translate[i+'_'+j]=lib.translate[i];
|
||||||
|
}
|
||||||
|
if(lib.skill[i].subSkill[j].description){
|
||||||
|
lib.translate[i+'_'+j+'_info']=lib.skill[i].subSkill[j].description;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(i[0]=='_'){
|
if(i[0]=='_'){
|
||||||
|
|
Loading…
Reference in New Issue