This commit is contained in:
parent
16861b3f84
commit
8ee21026da
|
@ -306,6 +306,7 @@ card.sp={
|
||||||
result.targets[0].equip(card);
|
result.targets[0].equip(card);
|
||||||
player.addTempSkill('muniu_skill6','equipAfter');
|
player.addTempSkill('muniu_skill6','equipAfter');
|
||||||
player.$give(card,result.targets[0]);
|
player.$give(card,result.targets[0]);
|
||||||
|
player.line(result.targets,'green');
|
||||||
game.delay();
|
game.delay();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -70,7 +70,6 @@ character.refresh={
|
||||||
}
|
}
|
||||||
player.storage.rerende2.push(target);
|
player.storage.rerende2.push(target);
|
||||||
target.gain(cards,player);
|
target.gain(cards,player);
|
||||||
game.delay();
|
|
||||||
if(typeof player.storage.rerende!='number'){
|
if(typeof player.storage.rerende!='number'){
|
||||||
player.storage.rerende=0;
|
player.storage.rerende=0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1811,6 +1811,7 @@ character.shenhua={
|
||||||
ui.selected.cards.length);
|
ui.selected.cards.length);
|
||||||
},
|
},
|
||||||
multitarget:true,
|
multitarget:true,
|
||||||
|
multiline:true,
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
event.cards0=targets[0].get('h');
|
event.cards0=targets[0].get('h');
|
||||||
|
|
|
@ -500,7 +500,6 @@ character.standard={
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
target.gain(cards,player);
|
target.gain(cards,player);
|
||||||
game.delay();
|
|
||||||
if(typeof player.storage.rende!='number'){
|
if(typeof player.storage.rende!='number'){
|
||||||
player.storage.rende=0;
|
player.storage.rende=0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5338,10 +5338,6 @@ character.yijiang={
|
||||||
"step 3"
|
"step 3"
|
||||||
if(event.bool||result.bool==false){
|
if(event.bool||result.bool==false){
|
||||||
player.gainPlayerCard('he',event.target,Math.min(2,event.target.num('he')),true);
|
player.gainPlayerCard('he',event.target,Math.min(2,event.target.num('he')),true);
|
||||||
event.target.draw();
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
player.draw();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
|
@ -6460,6 +6456,20 @@ character.yijiang={
|
||||||
if(get.tag(card,'damage')) return [1,0,0,-0.7];
|
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:{
|
enyuan:{
|
||||||
|
@ -7554,9 +7564,10 @@ character.yijiang={
|
||||||
jianying:'渐营',
|
jianying:'渐营',
|
||||||
jianying_info:'每当你于出牌阶段内使用的牌与此阶段你使用的上一张牌点数或花色相同时,你可以摸一张牌',
|
jianying_info:'每当你于出牌阶段内使用的牌与此阶段你使用的上一张牌点数或花色相同时,你可以摸一张牌',
|
||||||
xinenyuan:'恩怨',
|
xinenyuan:'恩怨',
|
||||||
xinenyuan_info:'每当你受到1点伤害后,你可以令伤害来源选择一项:交给你一张手牌,或失去1点体力。',
|
xinenyuan2:'恩怨',
|
||||||
|
xinenyuan_info:'当你获得一名其他角色两张或更多的牌后,你可以令其摸一张牌;当你受到1点伤害后,你可以令伤害来源选择一项:1、将一张手牌交给你;2、失去1点体力',
|
||||||
xinxuanhuo:'眩惑',
|
xinxuanhuo:'眩惑',
|
||||||
xinxuanhuo_info:'摸牌阶段开始时,你可以放弃摸牌并选择一名其他角色,改为令其摸两张牌,然后该角色需对其攻击范围内你选择的另一名角色使用一张杀,若其未如此做或其攻击范围内没有使用杀的目标,你获得其两张牌,然后其摸一张牌',
|
xinxuanhuo_info:'摸牌阶段开始时,你可以放弃摸牌并选择一名其他角色。若如此做,该角色摸两张牌,然后该角色需对其攻击范围内你选择的另一名角色使用一张【杀】,否则你获得其两张牌',
|
||||||
fuhun:'父魂',
|
fuhun:'父魂',
|
||||||
fuhun2:'父魂',
|
fuhun2:'父魂',
|
||||||
fuhun_info:'你可以将两张手牌当杀使用或打出;出牌阶段,若你以此法使用的杀造成了伤害,你获得技能“武圣”、“咆哮”直到回合结束。',
|
fuhun_info:'你可以将两张手牌当杀使用或打出;出牌阶段,若你以此法使用的杀造成了伤害,你获得技能“武圣”、“咆哮”直到回合结束。',
|
||||||
|
|
25
game/game.js
25
game/game.js
|
@ -7329,7 +7329,6 @@
|
||||||
for(var i=0;i<event.result.links.length;i++){
|
for(var i=0;i<event.result.links.length;i++){
|
||||||
cards.push(event.result.links[i]);
|
cards.push(event.result.links[i]);
|
||||||
}
|
}
|
||||||
target.lose(cards);
|
|
||||||
event.cards=cards;
|
event.cards=cards;
|
||||||
var hs=[],oths=[];
|
var hs=[],oths=[];
|
||||||
for(var i=0;i<cards.length;i++){
|
for(var i=0;i<cards.length;i++){
|
||||||
|
@ -7347,12 +7346,6 @@
|
||||||
target.$give(oths,player);
|
target.$give(oths,player);
|
||||||
}
|
}
|
||||||
"step 4"
|
"step 4"
|
||||||
if(player==game.me){
|
|
||||||
game.delay(2);
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
game.delayx();
|
|
||||||
}
|
|
||||||
player.gain(event.cards,target);
|
player.gain(event.cards,target);
|
||||||
},
|
},
|
||||||
showHandcards:function(){
|
showHandcards:function(){
|
||||||
|
@ -8049,8 +8042,9 @@
|
||||||
gain:function(){
|
gain:function(){
|
||||||
"step 0"
|
"step 0"
|
||||||
if(cards){
|
if(cards){
|
||||||
event.source=event.source||get.owner(cards[0]);
|
var owner=get.owner(cards[0]);
|
||||||
if(event.source){
|
event.source=event.source;
|
||||||
|
if(event.source&&event.source==owner){
|
||||||
event.source.lose(cards,ui.special);
|
event.source.lose(cards,ui.special);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8564,7 +8558,8 @@
|
||||||
},
|
},
|
||||||
equip:function(){
|
equip:function(){
|
||||||
"step 0"
|
"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){
|
if(card.clone){
|
||||||
game.broadcast(function(card,player){
|
game.broadcast(function(card,player){
|
||||||
if(card.clone){
|
if(card.clone){
|
||||||
|
@ -8608,7 +8603,12 @@
|
||||||
},
|
},
|
||||||
addJudge:function(){
|
addJudge:function(){
|
||||||
"step 0"
|
"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"
|
"step 1"
|
||||||
// if(lib.config.background_audio){
|
// if(lib.config.background_audio){
|
||||||
// game.playAudio('effect','judge');
|
// game.playAudio('effect','judge');
|
||||||
|
@ -10544,6 +10544,9 @@
|
||||||
else if(typeof arguments[i]=='string'){
|
else if(typeof arguments[i]=='string'){
|
||||||
next.animate=arguments[i];
|
next.animate=arguments[i];
|
||||||
}
|
}
|
||||||
|
else if(typeof arguments[i]=='boolean'){
|
||||||
|
next.delay=arguments[i];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
next.setContent('gain');
|
next.setContent('gain');
|
||||||
return next;
|
return next;
|
||||||
|
|
Loading…
Reference in New Issue