lib.card.sizhaojian.onLose()→get destroy()

This commit is contained in:
mengxinzxz 2024-03-04 12:17:00 +08:00
parent b75880587a
commit 46373d27f8
1 changed files with 2 additions and 7 deletions

View File

@ -30,13 +30,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
fullskin:true,
type:'equip',
subtype:'equip1',
onLose(){
if(!lib.card.sizhaojian.inShanShanFestival()){
card.fix();
card.remove();
card.destroyed=true;
game.log(card,'被销毁了');
}
get destroy(){
return !lib.card.sizhaojian.inShanShanFestival();
},
inShanShanFestival(){
//闪闪节外离开装备区会销毁