Merge pull request #318 from nofficalfs/PR-Suggest-ExtSkill-Append-Translate
[Suggest] Extension Skill Support Append Info
This commit is contained in:
commit
406583ba67
|
@ -9750,7 +9750,9 @@
|
|||
if(lib.extensions[i][4].skill){
|
||||
for(var j in lib.extensions[i][4].skill.skill){
|
||||
game.addSkill(j,lib.extensions[i][4].skill.skill[j],
|
||||
lib.extensions[i][4].skill.translate[j],lib.extensions[i][4].skill.translate[j+'_info']);
|
||||
lib.extensions[i][4].skill.translate[j],
|
||||
lib.extensions[i][4].skill.translate[j+'_info'],
|
||||
lib.extensions[i][4].skill.translate[j+'_append']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36248,7 +36250,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
addSkill:function(name,info,translate,description){
|
||||
addSkill:function(name,info,translate,description,appendInfo){
|
||||
if(lib.skill[name]){
|
||||
return false;
|
||||
}
|
||||
|
@ -36258,6 +36260,7 @@
|
|||
lib.skill[name]=info;
|
||||
lib.translate[name]=translate;
|
||||
lib.translate[name+'_info']=description;
|
||||
lib.translate[name+'_append']=appendInfo;
|
||||
return true;
|
||||
},
|
||||
addMode:function(name,info,info2){
|
||||
|
|
Loading…
Reference in New Issue