This commit is contained in:
Sukincen 2019-07-04 15:36:07 +08:00 committed by GitHub
parent 30160455fa
commit 33b53def7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

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