修复炉石bug
This commit is contained in:
parent
efd3f16042
commit
cd44b02618
|
@ -154,6 +154,7 @@ card.extra={
|
|||
target:function(player,target){
|
||||
if(target.classList.contains('linked')) return 1;
|
||||
if(ai.get.attitude(player,target)>=0) return -1;
|
||||
if(player.isMin()) return -1;
|
||||
for(var i=0;i<game.players.length;i++){
|
||||
if(ai.get.attitude(player,game.players[i])<=-1&&
|
||||
game.players[i]!=target&&!game.players[i].isLinked()){
|
||||
|
|
|
@ -784,7 +784,12 @@ mode.stone={
|
|||
stone_yiji:['female','qun',1,['stone_yiji'],['minskin','stone'],[2,2]],
|
||||
},
|
||||
skill:{
|
||||
chaofeng:{},
|
||||
chaofeng:{
|
||||
mark:true,
|
||||
intro:{
|
||||
content:'已获得嘲讽'
|
||||
}
|
||||
},
|
||||
_chaofeng:{
|
||||
mod:{
|
||||
targetEnabled:function(card,player,target){
|
||||
|
@ -833,10 +838,23 @@ mode.stone={
|
|||
if(result.bool){
|
||||
event.chooser.line(result.targets[0]);
|
||||
game.delay();
|
||||
result.targets[0].loseHp();
|
||||
result.targets[0].addSkill('stone_sanxian2');
|
||||
}
|
||||
}
|
||||
},
|
||||
stone_sanxian2:{
|
||||
trigger:{global:'dieAfter'},
|
||||
forced:true,
|
||||
popup:false,
|
||||
unique:true,
|
||||
filter:function(event,player){
|
||||
return player.skills.contains('stone_sanxian2');
|
||||
},
|
||||
content:function(){
|
||||
player.loseHp();
|
||||
player.removeSkill('stone_sanxian2');
|
||||
}
|
||||
},
|
||||
stone_banxian:{
|
||||
trigger:{player:'dieBegin'},
|
||||
forced:true,
|
||||
|
|
Loading…
Reference in New Issue