fix:部分技能中坐骑代码没加equip6

This commit is contained in:
lieren2023 2024-02-24 19:54:24 +08:00 committed by GitHub
parent 9ef717e6c8
commit fe367b3266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -12062,7 +12062,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
if(get.type(he[i])=='equip'){
var subtype=get.subtype(he[i]);
if(subtype=='equip3'||subtype=='equip4'){
if(subtype=='equip3'||subtype=='equip4'||subtype=='equip6'){
num++;
}
}
@ -12078,7 +12078,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
if(get.type(he[i])=='equip'){
var subtype=get.subtype(he[i]);
if(subtype=='equip3'||subtype=='equip4'){
if(subtype=='equip3'||subtype=='equip4'||subtype=='equip6'){
list.push(he[i]);
}
}
@ -13879,7 +13879,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(result.bool){
var card=result.cards[0];
if(get.position(card)=='d'){
if(get.subtype(card)=='equip3'||get.subtype(card)=='equip4'){
if(get.subtype(card)=='equip3'||get.subtype(card)=='equip4'||get.subtype(card)=='equip6'){
player.gain(card,player,'gain2');
}
}
@ -13902,7 +13902,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(result.bool){
var card=result.cards[0];
if(get.position(card)=='d'){
if(get.subtype(card)=='equip3'||get.subtype(card)=='equip4'){
if(get.subtype(card)=='equip3'||get.subtype(card)=='equip4'||get.subtype(card)=='equip6'){
player.gain(card,player,'gain2');
}
}