增加【冲应神符】ai
This commit is contained in:
parent
1ce0f4623a
commit
d0089bde64
|
@ -13185,6 +13185,24 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
content:function(){
|
||||
trigger.num--;
|
||||
},
|
||||
ai:{
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(typeof card=='object'&&target.storage.gx_chongyingshenfu_effect&&target.getStorage('gx_chongyingshenfu_effect').includes(card.name)&&!target.hasSkillTag('unequip2')&&
|
||||
get.itemtype(player)!=='player'||!player.hasSkillTag('jueqing',false,target)&&!player.hasSkillTag('unequip',false,{
|
||||
name:card.name,
|
||||
target:target,
|
||||
card:card,
|
||||
}))){
|
||||
if(player&&player.hasSkillTag('damageBonus',true,{
|
||||
target:target,
|
||||
card:card
|
||||
})) return 0.5;
|
||||
return 'zeroplayertarget';
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
onremove:true,
|
||||
intro:{
|
||||
content:'受到$造成的伤害-1',
|
||||
|
|
Loading…
Reference in New Issue