v1.9.89.(part3)

This commit is contained in:
Spmario233 2019-07-04 22:35:41 +08:00 committed by GitHub
parent df02141403
commit edd43b550e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
game.import('character',function(lib,game,ui,get,ai,_status){
return {
name:'extra',
connect:true,
character:{
shen_guanyu:['male','shen',5,['new_wuhun','wushen'],['shu']],
shen_zhaoyun:['male','shen',2,['xinjuejing','xinlonghun'],['shu']],
@ -109,7 +110,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
"new_guixin":{
audio:"guixin",
audio:"ext:无名扩展:2",
trigger:{
player:"damageEnd",
},
@ -2151,7 +2152,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
check:function(event,player){
var list=[];
var skills=event.player.skills.slice(0);
var skills=trigger.player.skills.slice(0);
for(var i=0;i<skills.length;i++){
var info=get.info(skills[i])
if(info!=undefined&&!info.charlotte&&(!info.unique||info.gainable)) list.push(skills[i]);