This commit is contained in:
parent
3d0ed76a08
commit
e2b5dc788d
|
@ -4744,7 +4744,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
check:function(event,player){
|
||||
var att=get.attitude(player,event.target);
|
||||
if(player.hasSkill('jiu')) return att>0;
|
||||
if(event.target.hasSkillTag('maixie_hp')||event.target.hasSkillTag('maixie_fake')){
|
||||
if(event.target.hasSkillTag('maixie_hp')||event.target.hasSkillTag('maixie_defend')){
|
||||
return att<=0;
|
||||
}
|
||||
if(player.hasSkill('tianxianjiu')) return false;
|
||||
|
@ -4788,8 +4788,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
'轩辕剑':'<ul><li>零件、祭器牌可用于煅造装备,煅造得到强化装备,并可装备给距离1以内的角色<li>'+
|
||||
'煅造装备时失去牌不触发技能<li>'+
|
||||
'进行洗牌时强化装备将从弃牌堆中消失,不进入牌堆<li>'+
|
||||
'专属、特殊装备无法被强化<li>'+
|
||||
'护甲:和体力类似,每点护甲可抵挡一点伤害,但不影响手牌上限'
|
||||
'专属、特殊装备无法被强化'
|
||||
},
|
||||
translate:{
|
||||
// yihuajiemu:'移花接木',
|
||||
|
|
|
@ -31,6 +31,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
diy_tianyu:['male','wei',4,['chezhen','youzhan']],
|
||||
|
||||
ns_zuoci:['male','qun',3,['nsxinsheng','nsdunxing']],
|
||||
ns_lvzhi:['female','qun',3,['nsnongquan','nsdufu']],
|
||||
ns_wangyun:["male","qun",4,["liangji","jugong","chengmou"]],
|
||||
},
|
||||
characterIntro:{
|
||||
|
@ -50,6 +51,50 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
yuji:['zuoci']
|
||||
},
|
||||
skill:{
|
||||
nsnongquan:{
|
||||
enable:'phaseUse',
|
||||
filter:function(event,player){
|
||||
return player.countCards('h')==1&&player.canUse('wuzhong',player);
|
||||
},
|
||||
direct:true,
|
||||
delay:0,
|
||||
content:function(){
|
||||
player.useCard({name:'wuzhong'},player.getCards('h'),player,'nsnongquan');
|
||||
},
|
||||
ai:{
|
||||
order:10,
|
||||
result:{
|
||||
player:function(player,target){
|
||||
return 10-get.value(player.getCards('h')[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nsdufu:{
|
||||
trigger:{source:'damageBefore'},
|
||||
check:function(event,player){
|
||||
return event.player.hasSkillTag('maixie');
|
||||
},
|
||||
direct:true,
|
||||
content:function(){
|
||||
'step 0'
|
||||
player.chooseTarget(get.prompt2('nsdufu'),function(card,player,target){
|
||||
return target!=player;
|
||||
}).set('ai',function(target){
|
||||
if(_status.event.bool){
|
||||
return -get.attitude(_status.event.player,target);
|
||||
}
|
||||
return 0;
|
||||
}).set('bool',trigger.player.hasSkillTag('maixie_defend'));
|
||||
'step 1'
|
||||
if(result.bool){
|
||||
player.logSkill('nsdufu',result.targets);
|
||||
trigger.source=result.targets[0];
|
||||
trigger.untrigger();
|
||||
trigger.trigger('damageBefore');
|
||||
}
|
||||
}
|
||||
},
|
||||
rejizhi:{
|
||||
audio:2,
|
||||
usable:3,
|
||||
|
@ -1570,8 +1615,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
|
||||
ns_zuoci:'左慈',
|
||||
ns_wangyun:'王允',
|
||||
ns_lvzhi:'吕后',
|
||||
|
||||
|
||||
nsnongquan:'弄权',
|
||||
nsnongquan_info:'出牌阶段不限次数,你可以将最后一张手牌当【无中生有】使用',
|
||||
nsdufu:'毒妇',
|
||||
nsdufu_info:'每当你即将造成一次伤害时,你可以为此伤害重新指定伤害来源',
|
||||
rejizhi:'集智',
|
||||
rejizhi_info:'当你使用一张装备牌或锦囊牌时,你可以摸一张牌并展示之,若此牌是基本牌,你须弃置一张手牌,每回合限3次',
|
||||
yiesheng:'回雪',
|
||||
|
|
|
@ -130,6 +130,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
intro:{
|
||||
content:'mark'
|
||||
},
|
||||
ai:{
|
||||
maixie:true,
|
||||
maixie_hp:true
|
||||
}
|
||||
},
|
||||
shenfen:{
|
||||
|
|
|
@ -661,6 +661,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(get.tag(card,'damage')){
|
||||
|
@ -722,6 +723,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
threaten:0.8
|
||||
}
|
||||
},
|
||||
|
@ -1203,6 +1205,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.unmarkSkill('xuanning');
|
||||
}
|
||||
game.addVideo('storage',player,['xuanning',player.storage.xuanning]);
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
liuguang:{
|
||||
|
|
|
@ -2093,6 +2093,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
threaten:0.8,
|
||||
maixie:true,
|
||||
maixie_hp:true,
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(get.tag(card,'damage')){
|
||||
|
|
|
@ -513,7 +513,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
ai:{
|
||||
threaten:0.8,
|
||||
maixie_fake:true,
|
||||
maixie_defend:true,
|
||||
},
|
||||
subSkill:{
|
||||
ju:{
|
||||
|
@ -969,7 +969,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(button.link[3]=='fire') return 2.95;
|
||||
else if(button.link[3]=='fire') return 2.92;
|
||||
else return 2.9;
|
||||
break;
|
||||
default:return 2+_status.event.getRand()*2;
|
||||
}
|
||||
}
|
||||
|
@ -2674,6 +2673,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
ai:{
|
||||
maixie:true,
|
||||
maixie_hp:true,
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return [1,-2];
|
||||
|
@ -3259,6 +3259,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
// player.markSkill('kuangluan');
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
threaten:0.3
|
||||
},
|
||||
// group:['kuangluan2','kuangluan3']
|
||||
|
@ -3397,6 +3398,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.storage.mobao=[];
|
||||
}
|
||||
player.storage.mobao.add(trigger.source);
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
mobao3:{
|
||||
|
@ -4039,6 +4043,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
group:['yufa2','yufa3'],
|
||||
ai:{
|
||||
maixie:true,
|
||||
maixie_hp:true,
|
||||
expose:0.1
|
||||
}
|
||||
},
|
||||
|
@ -4780,6 +4786,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger.source.discard(hs.randomGet())
|
||||
}
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
ronghuo:{
|
||||
|
@ -5583,6 +5592,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
ai:{
|
||||
nohujia:true,
|
||||
maixie:true,
|
||||
maixie_hp:true,
|
||||
skillTagFilter:function(player){
|
||||
return player.hp>player.countCards('h');
|
||||
},
|
||||
|
|
|
@ -806,7 +806,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
group:'maoding2',
|
||||
ai:{
|
||||
threaten:1.5
|
||||
threaten:1.5,
|
||||
maixie_defend:true
|
||||
}
|
||||
},
|
||||
maoding2:{
|
||||
|
@ -1844,7 +1845,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(Math.random()<0.7) return '选项四';
|
||||
return '选项二';
|
||||
}
|
||||
return '';
|
||||
}).set('prompt','冰墙<br><br><div class="text center">选项一:防御距离+'+num+
|
||||
'</div><br><div class="text center">选项二:防御距离-'+num+
|
||||
'</div><br><div class="text center">选项三:进攻距离+'+num+
|
||||
|
|
|
@ -358,6 +358,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.gainPlayerCard([1,trigger.num],get.prompt('fankui',trigger.source),trigger.source,get.buttonValue,'he').set('logSkill',['refankui',trigger.source]);
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.countCards('he')>1&&get.tag(card,'damage')){
|
||||
|
@ -443,6 +444,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
expose:0.4
|
||||
}
|
||||
},
|
||||
|
@ -1457,6 +1459,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
game.asyncDraw([trigger.player,trigger.source],trigger.num);
|
||||
"step 1"
|
||||
game.delay();
|
||||
},
|
||||
ai:{
|
||||
maixie:true,
|
||||
maixie_hp:true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1730,6 +1730,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
for(var i=0;i<trigger.num;i++){
|
||||
lib.skill.huashen.get(player);
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_hp:true
|
||||
}
|
||||
},
|
||||
huoshou:{
|
||||
|
@ -3538,7 +3541,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger.trigger('damageBefore');
|
||||
},
|
||||
ai:{
|
||||
maixie_fake:true,
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return;
|
||||
|
@ -3645,7 +3648,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_fake:true,
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return;
|
||||
|
@ -3760,7 +3763,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger.trigger('damageBefore');
|
||||
},
|
||||
ai:{
|
||||
maixie_fake:true,
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return;
|
||||
|
|
|
@ -1510,6 +1510,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
source.storage.hengjiang2=trigger.num;
|
||||
source.addTempSkill('hengjiang2');
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
hengjiang2:{
|
||||
|
@ -6507,6 +6510,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
threaten:0.7
|
||||
}
|
||||
},
|
||||
|
|
|
@ -162,6 +162,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.gainPlayerCard(get.prompt('fankui',trigger.source),trigger.source,get.buttonValue,'he').set('logSkill',['fankui',trigger.source]);
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.countCards('he')>1&&get.tag(card,'damage')){
|
||||
|
@ -260,7 +261,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
result:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return [1,-1];
|
||||
if(get.tag(card,'damage')&&get.damageEffect(target,player,player)>0) return [1,0,0,-1.5];
|
||||
|
|
|
@ -6368,6 +6368,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(get.tag(card,'damage')){
|
||||
|
|
|
@ -457,6 +457,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
threaten:0.8,
|
||||
maixie:true,
|
||||
maixie_hp:true,
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(get.tag(card,'damage')){
|
||||
|
@ -621,6 +622,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(card){
|
||||
trigger.source.equip(card,true).set('delay',true);
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
lie:{
|
||||
|
@ -679,6 +683,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return get.type(card)=='equip';
|
||||
});
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
he:{
|
||||
|
@ -5283,6 +5290,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.gain(trigger.source.getEquip(1),trigger.source);
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
anjian:{
|
||||
audio:2,
|
||||
|
@ -7874,6 +7884,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger.source.chooseToDiscard(true);
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
threaten:0.9
|
||||
}
|
||||
},
|
||||
|
@ -8063,6 +8074,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return [1,-1.5];
|
||||
|
@ -8090,6 +8102,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
locked:true,
|
||||
group:['enyuan1','enyuan2'],
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(player.hasSkillTag('jueqing',false,target)) return [1,-2];
|
||||
|
@ -8766,6 +8779,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.equip(result.links[0]);
|
||||
trigger.source.$give(result.links[0],player);
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
zquanji:{
|
||||
|
|
|
@ -165,6 +165,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger.source.addJudge(card);
|
||||
trigger.source.$draw(card);
|
||||
game.delay();
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
}
|
||||
},
|
||||
liebo:{
|
||||
|
@ -2183,6 +2186,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
logTarget:'source',
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
expose:0.3,
|
||||
result:{
|
||||
target:function(card,player,target){
|
||||
|
@ -2346,6 +2350,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
},
|
||||
ai:{
|
||||
maixie_defend:true,
|
||||
effect:{
|
||||
target:function(card,player,target){
|
||||
if(get.tag(card,'damage')) return [1,0,0,-1];
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
};
|
||||
var lib={
|
||||
configprefix:'noname_0.9_',
|
||||
versionOL:25,
|
||||
versionOL:26,
|
||||
updateURL:'https://raw.githubusercontent.com/libccy/noname',
|
||||
mirrorURL:'https://coding.net/u/libccy/p/noname/git/raw',
|
||||
hallURL:'noname.pub',
|
||||
|
@ -5576,6 +5576,8 @@
|
|||
'<li>使用卡牌<br>player.useCard(card,<br>targets)<li>死亡<br>player.die()<li>复活<br>player.revive(hp)</ul>'+
|
||||
'<div style="margin:10px">游戏操作</div><ul style="margin-top:0"><li>在命令框中输出结果<br>game.print(str)<li>清除命令框中的内容<br>cls<li>上一条/下一条输入的内容<br>up/down<li>游戏结束<br>game.over(bool)'+
|
||||
'<li>角色资料<br>lib.character<li>卡牌资料<br>lib.card</ul>',
|
||||
'游戏名词':'<ul><li>护甲:和体力类似,每点护甲可抵挡一点伤害,但不影响手牌上限'+
|
||||
'<li>子武将:通过技能获得,拥有独立的技能、手牌区和装备区(共享判定区),出场时替代主武将的位置;子武将死亡时自动切换回主武将'
|
||||
},
|
||||
setIntro:function(node,func){
|
||||
if(lib.config.touchscreen){
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 272 KiB |
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 116 KiB |
Loading…
Reference in New Issue