diff --git a/game/game.js b/game/game.js index 46c4c6b1e..e8c11bdb3 100644 --- a/game/game.js +++ b/game/game.js @@ -25776,7 +25776,7 @@ } return this; }, - markSkillCharacter:function(id,target,name,content,broadcast){ + markSkillCharacter:function(id,target,name,content,nobroadcast){ if(typeof target=='object'){ target=target.name; } @@ -25813,7 +25813,7 @@ } } func(this,target,name,content,id); - if(!nobroadcast) game.broadcastAll(func,this,target,name,content,id); + if(!nobroadcast) game.broadcast(func,this,target,name,content,id); return this; }, markCharacter:function(name,info,learn,learn2){ diff --git a/game/pinyinjs.js b/game/pinyinjs.js index 6bb5c691f..9d7682f3c 100644 --- a/game/pinyinjs.js +++ b/game/pinyinjs.js @@ -41586,7 +41586,7 @@ var pinyin_dict_withtone = "yī,dīng zhēng,kǎo qiǎo yú,qī,shàng,xià,hǎn temp = ''; for (var j = 0; j < max && (i + j) < chinese.length; j++) { if (!dict.withtone[chinese[i]]) { - i+=(result[i].length-1); + i+=(result[m].length-1); break; } // 如果碰到非汉字直接停止本次查找 temp += chinese[i + j];