play.strategy={ mode:['identity','guozhan','infinity'], game:{ checkResult:function(){ if(get.population('zhong')==0||(get.population('fan')+get.population('nei')==0)){ for(var i=0;i0) return; if(lib.storage.test){ if(game.zhu.isAlive()){ console.log('主忠胜利'); } else if(game.players[0].identity=='nei'&&game.players.length==1){ console.log('内奸胜利'); } else{ console.log('反贼胜利'); } } for(var i=0;i0&&game.zhu.classList.contains('dead')){ game.over(true); } else{ game.over(false); } } }, }, skill:{ _zhaoxiang:{ mode:['identity','infinity'], enable:'chooseToUse', filter:function(event,player){ if(player.num('h')==0) return false; if(player.spy) return false; if(event.dying==player) return false; if(event.type!='dying') return false; if(event.dying.storage._zhaoxiang) return false; if(event.dying.storage.zhaoxiang2==player&&event.dying.skills.contains('zhaoxiang2')) return false; if(lib.config.mode=='infinity'){ if(player==game.me){ if(get.population('zhong')=0.4&&player.num('h')