From 4b5c2d000522905a9048948f9d4f3d2d36be1dd8 Mon Sep 17 00:00:00 2001 From: Rintim Date: Sun, 10 Sep 2023 23:36:32 +0800 Subject: [PATCH] add append. --- game/game.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index c86ead9e0..dfd271977 100644 --- a/game/game.js +++ b/game/game.js @@ -9749,7 +9749,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']); } } } @@ -36245,7 +36247,7 @@ } } }, - addSkill:function(name,info,translate,description){ + addSkill:function(name,info,translate,description,appendInfo){ if(lib.skill[name]){ return false; } @@ -36255,6 +36257,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){