This commit is contained in:
parent
c8b00bca97
commit
d7ebd830db
109
character/old.js
109
character/old.js
|
@ -7,13 +7,118 @@ character.old={
|
|||
liru:['male','qun',3,['juece','mieji','fencheng']],
|
||||
yujin:['male','wei',4,['jieyue']],
|
||||
lusu:['male','wu',3,['haoshi','dimeng']],
|
||||
old_zhonghui:['male','wei',3,['zzhenggong','zquanji','zbaijiang']],
|
||||
yuanshao:['male','qun',4,['luanji','xueyi'],['zhu']],
|
||||
old_zhonghui:['male','wei',3,['zzhenggong','zquanji','zbaijiang']],
|
||||
old_xusheng:['male','wu',4,['pojun']],
|
||||
old_zhuran:['male','wu',4,['olddanshou']],
|
||||
old_lingtong:['male','wu',4,['oldxuanfeng']],
|
||||
old_madai:['male','shu',4,['mashu','oldqianxi']],
|
||||
old_caoxiu:['male','wei',4,['taoxi']],
|
||||
},
|
||||
skill:{
|
||||
|
||||
oldqianxi:{
|
||||
trigger:{source:'damageBefore'},
|
||||
check:function(event,player){
|
||||
var att=ai.get.attitude(player,event.player);
|
||||
if(event.player.hp==event.player.maxHp) return att<0;
|
||||
if(event.player.hp==event.player.maxHp-1&&
|
||||
(event.player.maxHp<=3||event.player.hasSkillTag('maixie'))) return att<0;
|
||||
return att>0;
|
||||
},
|
||||
filter:function(event,player){
|
||||
return event.card&&event.card.name=='sha'&&get.distance(player,event.player)<=1;
|
||||
},
|
||||
logTarget:'player',
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.judge(function(card){
|
||||
return get.suit(card)!='heart'?1:-1;
|
||||
});
|
||||
'step 1'
|
||||
if(result.bool){
|
||||
trigger.untrigger();
|
||||
trigger.finish();
|
||||
trigger.player.loseMaxHp(true);
|
||||
}
|
||||
}
|
||||
},
|
||||
oldxuanfeng:{
|
||||
audio:'xuanfeng',
|
||||
trigger:{player:'loseEnd'},
|
||||
direct:true,
|
||||
filter:function(event,player){
|
||||
for(var i=0;i<event.cards.length;i++){
|
||||
if(event.cards[i].original=='e') return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
content:function(){
|
||||
"step 0"
|
||||
player.chooseTarget(get.prompt('xuanfeng'),function(card,player,target){
|
||||
if(target==player) return false;
|
||||
return get.distance(player,target)<=1||player.canUse('sha',target,false);
|
||||
}).set('ai',function(target){
|
||||
if(get.distance(player,target)<=1){
|
||||
return ai.get.damageEffect(target,player,player)*2;
|
||||
}
|
||||
else{
|
||||
return ai.get.effect(target,{name:'sha'},player,player);
|
||||
}
|
||||
});
|
||||
"step 1"
|
||||
if(result.bool){
|
||||
player.logSkill('xuanfeng',result.targets);
|
||||
var target=result.targets[0];
|
||||
var distance=get.distance(player,target);
|
||||
if(distance<=1&&player.canUse('sha',target,false)){
|
||||
player.chooseControl('出杀','造成伤害').ai=function(){
|
||||
return '造成伤害';
|
||||
}
|
||||
event.target=target;
|
||||
}
|
||||
else if(distance<=1){
|
||||
target.damage();
|
||||
event.finish();
|
||||
}
|
||||
else{
|
||||
player.useCard({name:'sha'},target,false).animate=false;
|
||||
game.delay();
|
||||
event.finish();
|
||||
}
|
||||
}
|
||||
else{
|
||||
event.finish();
|
||||
}
|
||||
"step 2"
|
||||
var target=event.target;
|
||||
if(result.control=='出杀'){
|
||||
player.useCard({name:'sha'},target,false).animate=false;
|
||||
game.delay();
|
||||
}
|
||||
else{
|
||||
target.damage();
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
effect:{
|
||||
target:function(card,player,target,current){
|
||||
if(get.type(card)=='equip') return [1,3];
|
||||
}
|
||||
},
|
||||
noe:true
|
||||
}
|
||||
},
|
||||
},
|
||||
translate:{
|
||||
old_xusheng:'旧徐盛',
|
||||
old_lingtong:'旧凌统',
|
||||
old_zhuran:'旧朱然',
|
||||
old_madai:'旧马岱',
|
||||
old_caoxiu:'旧曹休',
|
||||
|
||||
oldqianxi:'潜袭',
|
||||
oldqianxi_info:'当你使用【杀】对距离为1的目标角色造成伤害时,你可以进行一次判定,若判定结果不为红桃,你防止此伤害,令其减1点体力上限',
|
||||
oldxuanfeng:'旋风',
|
||||
oldxuanfeng_info:'每当你失去一次装备区里的牌时,你可以执行下列两项中的一项:1.视为对任意一名其他角色使用一张【杀】(此【杀】不计入每回合的使用限制);2.对与你距离1以内的一名其他角色造成一点伤害',
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4023,7 +4023,7 @@ character.shenhua={
|
|||
menghuo:'孟获',
|
||||
caopi:'曹丕',
|
||||
xuhuang:'徐晃',
|
||||
lusu:'鲁肃',
|
||||
lusu:'旧鲁肃',
|
||||
sunjian:'孙坚',
|
||||
dongzhuo:'董卓',
|
||||
jiaxu:'贾诩',
|
||||
|
|
|
@ -6210,7 +6210,7 @@ character.yijiang={
|
|||
player.update();
|
||||
},
|
||||
},
|
||||
danshou_old:{
|
||||
olddanshou:{
|
||||
trigger:{source:'damageEnd'},
|
||||
priority:9,
|
||||
content:function(){
|
||||
|
@ -6416,7 +6416,7 @@ character.yijiang={
|
|||
},
|
||||
content:function(){
|
||||
"step 0"
|
||||
player.chooseTarget([1,2],'请选择旋风的目标',function(card,player,target){
|
||||
player.chooseTarget([1,2],get.prompt('xuanfeng'),function(card,player,target){
|
||||
if(player==target) return false;
|
||||
return target.num('he');
|
||||
}).set('ai',function(target){
|
||||
|
@ -7771,6 +7771,7 @@ character.yijiang={
|
|||
shiyong:'恃勇',
|
||||
shiyong2:'恃勇',
|
||||
danshou:'胆守',
|
||||
olddanshou:'胆守',
|
||||
yizhong:'毅重',
|
||||
xinzhan:'心战',
|
||||
xinzhan_gain:'获得',
|
||||
|
@ -7857,7 +7858,7 @@ character.yijiang={
|
|||
zongshi_info:'锁定技,场上每有一种势力,你的手牌上限便+1。',
|
||||
shiyong_info:'锁定技,每当你受到一次红色【杀】或【酒】【杀】造成的伤害后,你减1点体力上限。',
|
||||
danshou_info:'出牌阶段,你可以选择你攻击范围内的一名其他角色,然后弃置X张牌(X为此前你于此阶段你发动“胆守”的次数+1)。若X:为1,你弃置该角色的一张牌;为2,令该角色交给你一张牌;为3,你对该角色造成1点伤害;不小于4,你与该角色各摸两张牌。',
|
||||
danshou_infox:'每当你造成一次伤害后,你可以摸一张牌。若如此做,终止一切结算,当前回合结束。',
|
||||
olddanshou_info:'每当你造成一次伤害后,你可以摸一张牌。若如此做,终止一切结算,当前回合结束。',
|
||||
yizhong_info:'锁定技,当你没有防具时,黑色的杀对你无效',
|
||||
xinzhan_info:'出牌阶段限一次,你可以观看牌堆顶的3张牌,然后展示其中任意数量♥的牌并获得之',
|
||||
huilei_info:'锁定技,杀死你的角色立即弃置所有的牌。',
|
||||
|
|
|
@ -427,7 +427,12 @@ window.noname_asset_list=[
|
|||
'image/character/mizhu.jpg',
|
||||
'image/character/nianshou.jpg',
|
||||
'image/character/niutou.jpg',
|
||||
'image/character/old_caoxiu.jpg',
|
||||
'image/character/old_lingtong.jpg',
|
||||
'image/character/old_madai.jpg',
|
||||
'image/character/old_xusheng.jpg',
|
||||
'image/character/old_zhonghui.jpg',
|
||||
'image/character/old_zhuran.jpg',
|
||||
'image/character/ow_liekong.jpg',
|
||||
'image/character/ow_sishen.jpg',
|
||||
'image/character/ow_chanyata.jpg',
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Loading…
Reference in New Issue