修复拼音库bug+markSkillCharacter bug
This commit is contained in:
parent
808f0ee48b
commit
2a9e2a20a9
|
@ -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){
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue