This commit is contained in:
parent
797ca7498e
commit
5a4c15848c
|
@ -779,6 +779,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
target.popup(skill);
|
target.popup(skill);
|
||||||
player.addSkill(skill);
|
player.addSkill(skill);
|
||||||
target.removeSkill(skill);
|
target.removeSkill(skill);
|
||||||
|
player.loseHp();
|
||||||
player.loseMaxHp(true);
|
player.loseMaxHp(true);
|
||||||
target.gainMaxHp(true);
|
target.gainMaxHp(true);
|
||||||
target.recover();
|
target.recover();
|
||||||
|
@ -794,7 +795,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
value:8,
|
value:8,
|
||||||
useful:[6,1],
|
useful:[6,1],
|
||||||
result:{
|
result:{
|
||||||
player:1
|
player:function(player){
|
||||||
|
if(player.hp<=2) return 0;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
order:0.4,
|
order:0.4,
|
||||||
}
|
}
|
||||||
|
@ -1320,7 +1324,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
selectTarget:[1,2],
|
selectTarget:[1,2],
|
||||||
content:function(){
|
content:function(){
|
||||||
target.addSkill('gw_baobaoshu');
|
target.addTempSkill('gw_baobaoshu',{player:'phaseAfter'});
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
value:[7.5,1],
|
value:[7.5,1],
|
||||||
|
|
|
@ -1770,7 +1770,8 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
if(card){
|
if(card){
|
||||||
if(game.hasPlayer(function(current){
|
if(game.hasPlayer(function(current){
|
||||||
return (get.attitude(target,current)<0&&
|
return (!current.hujia&&
|
||||||
|
get.attitude(target,current)<0&&
|
||||||
target.canUse(card,current,true,true)&&
|
target.canUse(card,current,true,true)&&
|
||||||
get.effect(current,card,target)>0);
|
get.effect(current,card,target)>0);
|
||||||
})){
|
})){
|
||||||
|
|
|
@ -41,6 +41,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
|
|
||||||
gw_meizi:['female','wei',3,['gwjieyin']],
|
gw_meizi:['female','wei',3,['gwjieyin']],
|
||||||
gw_aimin:['female','wu',3,['huanshu']],
|
gw_aimin:['female','wu',3,['huanshu']],
|
||||||
|
gw_puxila:['female','qun',3,['gwqinwu']],
|
||||||
},
|
},
|
||||||
characterIntro:{
|
characterIntro:{
|
||||||
gw_huoge:'那个老年痴呆?不知道他是活着还是已经被制成标本了!',
|
gw_huoge:'那个老年痴呆?不知道他是活着还是已经被制成标本了!',
|
||||||
|
@ -56,6 +57,47 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个算一个',
|
gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个算一个',
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
|
gwqinwu:{
|
||||||
|
trigger:{player:'useCard'},
|
||||||
|
filter:function(event,player){
|
||||||
|
return get.type(event.card)=='basic';
|
||||||
|
},
|
||||||
|
direct:true,
|
||||||
|
content:function(){
|
||||||
|
'step 0'
|
||||||
|
player.chooseTarget(get.prompt2('gwqinwu')).ai=function(target){
|
||||||
|
var att=get.attitude(player,target);
|
||||||
|
if(att<=0) return 0;
|
||||||
|
att+=1-get.distance(player,target,'absolute')/game.players.length;
|
||||||
|
if(target.hasSkill('gwqinwu')){
|
||||||
|
att/=1.5;
|
||||||
|
}
|
||||||
|
if(target.hasJudge('lebu')||target.skipList.contains('phaseUse')){
|
||||||
|
att/=2;
|
||||||
|
}
|
||||||
|
return att;
|
||||||
|
}
|
||||||
|
'step 1'
|
||||||
|
if(result.bool){
|
||||||
|
var target=result.targets[0];
|
||||||
|
player.logSkill('gwqinwu',target);
|
||||||
|
target.draw();
|
||||||
|
if(!target.hasSkill('gwqinwu')){
|
||||||
|
target.addTempSkill('gwqinwu',{player:'phaseAfter'});
|
||||||
|
target.addTempSkill('gwqinwu2',{player:'phaseAfter'});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ai:{
|
||||||
|
threaten:1.5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
gwqinwu2:{
|
||||||
|
mark:true,
|
||||||
|
intro:{
|
||||||
|
content:'获得【琴舞】直到下一回合结束'
|
||||||
|
}
|
||||||
|
},
|
||||||
huanshu:{
|
huanshu:{
|
||||||
trigger:{player:'phaseEnd'},
|
trigger:{player:'phaseEnd'},
|
||||||
direct:true,
|
direct:true,
|
||||||
|
@ -1583,8 +1625,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
});
|
});
|
||||||
next.prompt=get.prompt('xuezhou');
|
next.prompt=get.prompt('xuezhou');
|
||||||
next.choiceList=[
|
next.choiceList=[
|
||||||
'每当一名其他角色受到一次伤害,该角色失去一点体力,你回复一点体力',
|
'每当一名其他角色在一个回合中首次受到伤害,该角色失去一点体力,你回复一点体力',
|
||||||
'每当一名其他角色造成一次伤害,该角色失去一点体力,你(若不是受伤害角色)回复一点体力'
|
'每当一名其他角色在一个回合中首次造成伤害,该角色失去一点体力,你(若不是受伤害角色)回复一点体力'
|
||||||
];
|
];
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.control=='cancel2'){
|
if(result.control=='cancel2'){
|
||||||
|
@ -1610,6 +1652,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(!_status.xuezhou) return false;
|
if(!_status.xuezhou) return false;
|
||||||
if(player==_status.xuezhou) return false;
|
if(player==_status.xuezhou) return false;
|
||||||
if(!player.isIn()||!_status.xuezhou.isIn()) return false;
|
if(!player.isIn()||!_status.xuezhou.isIn()) return false;
|
||||||
|
if(_status.currentPhase.hasSkill('xuezhou_hp2')) return false;
|
||||||
switch(_status.xuezhou.storage.xuezhou){
|
switch(_status.xuezhou.storage.xuezhou){
|
||||||
case 1:return player==event.player;
|
case 1:return player==event.player;
|
||||||
case 2:return player==event.source;
|
case 2:return player==event.source;
|
||||||
|
@ -1620,6 +1663,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
game.delayx();
|
game.delayx();
|
||||||
|
_status.currentPhase.addTempSkill('xuezhou_hp2');
|
||||||
'step 1'
|
'step 1'
|
||||||
_status.xuezhou.logSkill('xuezhou',player);
|
_status.xuezhou.logSkill('xuezhou',player);
|
||||||
player.loseHp();
|
player.loseHp();
|
||||||
|
@ -1628,6 +1672,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
xuezhou_hp2:{},
|
||||||
fayin:{
|
fayin:{
|
||||||
trigger:{player:'shaBegin'},
|
trigger:{player:'shaBegin'},
|
||||||
direct:true,
|
direct:true,
|
||||||
|
@ -1954,7 +1999,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
gw_zhuoertan:'卓尔坦',
|
gw_zhuoertan:'卓尔坦',
|
||||||
gw_meizi:'梅兹',
|
gw_meizi:'梅兹',
|
||||||
gw_aimin:'艾敏',
|
gw_aimin:'艾敏',
|
||||||
|
gw_puxila:'普希拉',
|
||||||
|
|
||||||
|
gwqinwu:'琴舞',
|
||||||
|
gwqinwu2:'琴舞',
|
||||||
|
gwqinwu_info:'每当你使用一张基本牌,你可以令一名角色摸一张牌并获得技能【琴舞】直到其下一回合结束',
|
||||||
huanshu:'幻术',
|
huanshu:'幻术',
|
||||||
huanshu2:'幻术',
|
huanshu2:'幻术',
|
||||||
huanshu3:'幻术',
|
huanshu3:'幻术',
|
||||||
|
@ -2016,7 +2065,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
huandie:'幻蝶',
|
huandie:'幻蝶',
|
||||||
huandie_info:'准备阶段,你可以摸一张牌,并令任意名其他角色摸两张牌,若如此做,此回合结束时,所有手牌数大于体力值的角色需弃置两张手牌',
|
huandie_info:'准备阶段,你可以摸一张牌,并令任意名其他角色摸两张牌,若如此做,此回合结束时,所有手牌数大于体力值的角色需弃置两张手牌',
|
||||||
xuezhou:'血咒',
|
xuezhou:'血咒',
|
||||||
xuezhou_info:'准备阶段,你可以选择一项效果直到下一回合开始:1. 每当一名其他角色受到一次伤害,该角色失去一点体力,你回复一点体力;2. 每当一名其他角色造成一次伤害,该角色失去一点体力,你(若不是受伤害角色)回复一点体力',
|
xuezhou_info:'准备阶段,你可以选择一项效果直到下一回合开始:1. 每当一名其他角色在一个回合中首次受到伤害,该角色失去一点体力,你回复一点体力;2. 每当一名其他角色在一个回合中首次造成伤害,该角色失去一点体力,你(若不是受伤害角色)回复一点体力',
|
||||||
fayin:'法印',
|
fayin:'法印',
|
||||||
fayin_info:'每当你使用一张杀,你可以弃置一张牌并获得一个随机法印效果:1. 目标随机弃置两张牌;2. 目标进入混乱状态直到下一回合开始;3. 对目标造成一点火属性伤害;4. 获得一点护甲;5. 令目标翻面并摸一张牌',
|
fayin_info:'每当你使用一张杀,你可以弃置一张牌并获得一个随机法印效果:1. 目标随机弃置两张牌;2. 目标进入混乱状态直到下一回合开始;3. 对目标造成一点火属性伤害;4. 获得一点护甲;5. 令目标翻面并摸一张牌',
|
||||||
gwbaquan:'霸权',
|
gwbaquan:'霸权',
|
||||||
|
|
|
@ -58,6 +58,7 @@ window.noname_character_rank={
|
||||||
a:[
|
a:[
|
||||||
'gw_meizi',
|
'gw_meizi',
|
||||||
'gw_aimin',
|
'gw_aimin',
|
||||||
|
'gw_puxila',
|
||||||
'gw_bulanwang',
|
'gw_bulanwang',
|
||||||
'gw_kaxier',
|
'gw_kaxier',
|
||||||
'gw_zhangyujushou',
|
'gw_zhangyujushou',
|
||||||
|
|
|
@ -4128,6 +4128,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(player.storage.huomo.tao&&player.storage.huomo.jiu) return false;
|
if(player.storage.huomo.tao&&player.storage.huomo.jiu) return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
result:{
|
result:{
|
||||||
player:1
|
player:1
|
||||||
|
|
|
@ -403,6 +403,7 @@ window.noname_asset_list=[
|
||||||
'image/character/gw_luoqi.jpg',
|
'image/character/gw_luoqi.jpg',
|
||||||
'image/character/gw_meizi.jpg',
|
'image/character/gw_meizi.jpg',
|
||||||
'image/character/gw_mieren.jpg',
|
'image/character/gw_mieren.jpg',
|
||||||
|
'image/character/gw_puxila.jpg',
|
||||||
'image/character/gw_sanhanya.jpg',
|
'image/character/gw_sanhanya.jpg',
|
||||||
'image/character/gw_shanhu.jpg',
|
'image/character/gw_shanhu.jpg',
|
||||||
'image/character/gw_telisi.jpg',
|
'image/character/gw_telisi.jpg',
|
||||||
|
|
|
@ -43175,7 +43175,14 @@
|
||||||
if(!from||!to) return 0;
|
if(!from||!to) return 0;
|
||||||
var att=get.rawAttitude.apply(this,arguments);
|
var att=get.rawAttitude.apply(this,arguments);
|
||||||
if(from.isMad()) att=-att;
|
if(from.isMad()) att=-att;
|
||||||
if(to.isMad()&&att>0) att=0;
|
if(to.isMad()&&att>0){
|
||||||
|
if(to.identity=='zhu'){
|
||||||
|
att=1;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
att=0;
|
||||||
|
}
|
||||||
|
}
|
||||||
if(!_status.tempnofake){
|
if(!_status.tempnofake){
|
||||||
_status.tempnofake=true;
|
_status.tempnofake=true;
|
||||||
if(from.ai.modAttitudeFrom){
|
if(from.ai.modAttitudeFrom){
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 59 KiB |
Loading…
Reference in New Issue