diff --git a/character/sp.js b/character/sp.js index a7252e2f4..1dd206cc8 100644 --- a/character/sp.js +++ b/character/sp.js @@ -7146,30 +7146,78 @@ character.sp={ } }, huxiao:{ - audio:2, - trigger:{player:'shaMiss'}, - forced:true, - content:function(){ - player.storage.huxiao++; - }, - check:function(event,player){ - return player.countCards('h','sha')>0; - }, - mod:{ - cardUsable:function(card,player,num){ - if(card.name=='sha') return num+player.storage.huxiao; - } - }, - group:'huxiao2' - }, - huxiao2:{ - trigger:{player:'phaseUseBegin'}, + trigger:{source:'damageEnd'}, forced:true, popup:false, silent:true, - content:function(){ - player.storage.huxiao=0; + filter:function(event,player){ + return event.nature=='fire'; }, + content:function(){ + if(!player.storage.huxiao){ + player.storage.huxiao=[]; + } + player.storage.huxiao.add(trigger.player); + }, + group:['huxiao_draw','huxiao_clear'], + subSkill:{ + draw:{ + trigger:{source:'damageAfter'}, + priority:-6, + filter:function(event,player){ + if(!player.storage.huxiao||!player.storage.huxiao.length) return false; + for(var i=0;i