This commit is contained in:
libccy 2017-01-14 14:20:15 +08:00
parent 16861b3f84
commit 8ee21026da
6 changed files with 33 additions and 19 deletions

View File

@ -306,6 +306,7 @@ card.sp={
result.targets[0].equip(card);
player.addTempSkill('muniu_skill6','equipAfter');
player.$give(card,result.targets[0]);
player.line(result.targets,'green');
game.delay();
}
},

View File

@ -70,7 +70,6 @@ character.refresh={
}
player.storage.rerende2.push(target);
target.gain(cards,player);
game.delay();
if(typeof player.storage.rerende!='number'){
player.storage.rerende=0;
}

View File

@ -1811,6 +1811,7 @@ character.shenhua={
ui.selected.cards.length);
},
multitarget:true,
multiline:true,
content:function(){
'step 0'
event.cards0=targets[0].get('h');

View File

@ -500,7 +500,6 @@ character.standard={
},
content:function(){
target.gain(cards,player);
game.delay();
if(typeof player.storage.rende!='number'){
player.storage.rende=0;
}

View File

@ -5338,10 +5338,6 @@ character.yijiang={
"step 3"
if(event.bool||result.bool==false){
player.gainPlayerCard('he',event.target,Math.min(2,event.target.num('he')),true);
event.target.draw();
}
else{
player.draw();
}
},
ai:{
@ -6460,6 +6456,20 @@ character.yijiang={
if(get.tag(card,'damage')) return [1,0,0,-0.7];
}
}
},
group:'xinenyuan2'
},
xinenyuan2:{
trigger:{player:'gainEnd'},
filter:function(event,player){
return event.source&&event.source.isAlive()&&event.source!=player&&event.cards.length>=2;
},
logTarget:'source',
check:function(event,player){
return ai.get.attitude(player,event.source)>0;
},
content:function(){
trigger.source.draw();
}
},
enyuan:{
@ -7554,9 +7564,10 @@ character.yijiang={
jianying:'渐营',
jianying_info:'每当你于出牌阶段内使用的牌与此阶段你使用的上一张牌点数或花色相同时,你可以摸一张牌',
xinenyuan:'恩怨',
xinenyuan_info:'每当你受到1点伤害后你可以令伤害来源选择一项交给你一张手牌或失去1点体力。',
xinenyuan2:'恩怨',
xinenyuan_info:'当你获得一名其他角色两张或更多的牌后你可以令其摸一张牌当你受到1点伤害后你可以令伤害来源选择一项1、将一张手牌交给你2、失去1点体力',
xinxuanhuo:'眩惑',
xinxuanhuo_info:'摸牌阶段开始时,你可以放弃摸牌并选择一名其他角色,改为令其摸两张牌,然后该角色需对其攻击范围内你选择的另一名角色使用一张杀,若其未如此做或其攻击范围内没有使用杀的目标,你获得其两张牌,然后其摸一张牌',
xinxuanhuo_info:'摸牌阶段开始时,你可以放弃摸牌并选择一名其他角色。若如此做,该角色摸两张牌,然后该角色需对其攻击范围内你选择的另一名角色使用一张【杀】,否则你获得其两张牌',
fuhun:'父魂',
fuhun2:'父魂',
fuhun_info:'你可以将两张手牌当杀使用或打出;出牌阶段,若你以此法使用的杀造成了伤害,你获得技能“武圣”、“咆哮”直到回合结束。',

View File

@ -7329,7 +7329,6 @@
for(var i=0;i<event.result.links.length;i++){
cards.push(event.result.links[i]);
}
target.lose(cards);
event.cards=cards;
var hs=[],oths=[];
for(var i=0;i<cards.length;i++){
@ -7347,12 +7346,6 @@
target.$give(oths,player);
}
"step 4"
if(player==game.me){
game.delay(2);
}
else{
game.delayx();
}
player.gain(event.cards,target);
},
showHandcards:function(){
@ -8049,8 +8042,9 @@
gain:function(){
"step 0"
if(cards){
event.source=event.source||get.owner(cards[0]);
if(event.source){
var owner=get.owner(cards[0]);
event.source=event.source;
if(event.source&&event.source==owner){
event.source.lose(cards,ui.special);
}
}
@ -8564,7 +8558,8 @@
},
equip:function(){
"step 0"
if(get.owner(card)) get.owner(card).lose(card,ui.special);
var owner=get.owner(card)
if(owner) owner.lose(card,ui.special);
if(card.clone){
game.broadcast(function(card,player){
if(card.clone){
@ -8608,7 +8603,12 @@
},
addJudge:function(){
"step 0"
if(cards&&get.owner(cards[0])) get.owner(cards[0]).lose(cards);
if(cards){
var owner=get.owner(cards[0]);
if(owner){
owner.lose(cards);
}
}
"step 1"
// if(lib.config.background_audio){
// game.playAudio('effect','judge');
@ -10544,6 +10544,9 @@
else if(typeof arguments[i]=='string'){
next.animate=arguments[i];
}
else if(typeof arguments[i]=='boolean'){
next.delay=arguments[i];
}
}
next.setContent('gain');
return next;