This commit is contained in:
libccy 2017-04-19 19:11:16 +08:00
parent a1dec320a0
commit 33240e06a7
9 changed files with 56 additions and 6 deletions

View File

@ -51,6 +51,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_blingtron:['male','shu',3,['zengli','xiubu']], hs_blingtron:['male','shu',3,['zengli','xiubu']],
hs_yogg:['male','wu',3,['kuangluan','qianhou']], hs_yogg:['male','wu',3,['kuangluan','qianhou']],
hs_xialikeer:['female','shu',3,['duxin']], hs_xialikeer:['female','shu',3,['duxin']],
hs_pyros:['female','shu',2,['pyuhuo']],
hs_zhishigushu:['male','shu',4,['jiaohui']], hs_zhishigushu:['male','shu',4,['jiaohui']],
hs_zhanzhenggushu:['male','wei',6,['biri']], hs_zhanzhenggushu:['male','wei',6,['biri']],
@ -171,6 +172,47 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_malfurion:['hs_malorne'], hs_malfurion:['hs_malorne'],
}, },
skill:{ skill:{
pyuhuo:{
unique:true,
skillAnimation:true,
animationColor:'fire',
trigger:{player:'dying'},
priority:10,
filter:function(event,player){
return player.storage.pyuhuo!='over';
},
forced:true,
content:function(){
'step 0'
player.discard(player.get('hej'));
'step 1'
player.link(false);
'step 2'
player.turnOver(false);
'step 3'
if(player.storage.pyuhuo){
player.storage.pyuhuo='over';
player.awakenSkill('pyuhuo');
player.hp=6;
player.maxHp=6;
player.draw(6);
player.setAvatar('hs_pyros','hs_pyros2');
}
else{
player.storage.pyuhuo=true;
player.hp=4;
player.maxHp=4;
player.draw(4);
player.setAvatar('hs_pyros','hs_pyros1');
}
},
ai:{
threaten:function(player,target){
if(target.storage.pyuhuo!='over') return 0.6;
return 1;
}
}
},
mengye:{ mengye:{
trigger:{player:'phaseEnd'}, trigger:{player:'phaseEnd'},
forced:true, forced:true,
@ -6232,6 +6274,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_walian:'瓦里安', hs_walian:'瓦里安',
hs_pengpeng:'砰砰博士', hs_pengpeng:'砰砰博士',
hs_aya:'艾雅', hs_aya:'艾雅',
hs_pyros:'派洛斯',
hs_ronghejuren:'熔核巨人', hs_ronghejuren:'熔核巨人',
hs_shanlingjuren:'山岭巨人', hs_shanlingjuren:'山岭巨人',
@ -6266,6 +6309,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_fenjie:'芬杰', hs_fenjie:'芬杰',
hs_wujiyuansu:'无羁元素', hs_wujiyuansu:'无羁元素',
pyuhuo:'浴火',
pyuhuo_info:'锁定技在你首次进入濒死状态时你弃置所有牌、重置武将牌、将体力和体力上限变为4并摸4张牌在你第二次进入濒死状态时你弃置所有牌、重置武将牌、将体力和体力上限变为6并摸6张牌',
mengye:'梦魇', mengye:'梦魇',
mengye_info:'锁定技,结束阶段,你将一名随机敌人的一张随机手牌转化为毒', mengye_info:'锁定技,结束阶段,你将一名随机敌人的一张随机手牌转化为毒',
mengye_old:'梦魇', mengye_old:'梦魇',

View File

@ -156,6 +156,7 @@ window.noname_character_rank={
're_lidian', 're_lidian',
], ],
am:[ am:[
'hs_pyros',
'swd_xiyan', 'swd_xiyan',
'swd_xiaohuanglong', 'swd_xiaohuanglong',
'ow_orisa', 'ow_orisa',

View File

@ -6796,7 +6796,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{global:'dying'}, trigger:{global:'dying'},
forced:true, forced:true,
popup:false, popup:false,
priority:6.5, priority:12,
check:function(){ check:function(){
return false; return false;
}, },

View File

@ -553,7 +553,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
shiqin:{ shiqin:{
trigger:{global:'dying'}, trigger:{global:'dying'},
priority:11, priority:9,
filter:function(event,player){ filter:function(event,player){
return event.player!=player&&event.player.hp<=0&&event.player.group=='qun'; return event.player!=player&&event.player.hp<=0&&event.player.group=='qun';
}, },
@ -1560,7 +1560,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
zhensha:{ zhensha:{
trigger:{global:'dying'}, trigger:{global:'dying'},
priority:11, priority:9,
filter:function(event,player){ filter:function(event,player){
return event.player.hp<=0&&(player.countCards('h','jiu')>0||player.countCards('h',{color:'black'})>=2)&&player!=event.player; return event.player.hp<=0&&(player.countCards('h','jiu')>0||player.countCards('h',{color:'black'})>=2)&&player!=event.player;
}, },

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[ window.noname_asset_list=[
'1.9.24', '1.9.26',
'image/background/huangtian_bg.jpg', 'image/background/huangtian_bg.jpg',
'image/background/ol_bg.jpg', 'image/background/ol_bg.jpg',
'image/background/september_bg.jpg', 'image/background/september_bg.jpg',
@ -415,6 +415,9 @@ window.noname_asset_list=[
'image/character/hs_siwangzhiyi.jpg', 'image/character/hs_siwangzhiyi.jpg',
'image/character/hs_sthrall.jpg', 'image/character/hs_sthrall.jpg',
'image/character/hs_pengpeng.jpg', 'image/character/hs_pengpeng.jpg',
'image/character/hs_pyros.jpg',
'image/character/hs_pyros1.jpg',
'image/character/hs_pyros2.jpg',
'image/character/hs_tanghangu.jpg', 'image/character/hs_tanghangu.jpg',
'image/character/hs_totemic.jpg', 'image/character/hs_totemic.jpg',
'image/character/hs_trueheart.jpg', 'image/character/hs_trueheart.jpg',

View File

@ -16,8 +16,9 @@ window.noname_update={
// 'card/yunchou.js', // 'card/yunchou.js',
// 'character/*', // 'character/*',
'character/hearth.js', 'character/hearth.js',
// 'character/gwent.js', 'character/sp.js',
// 'character/old.js', 'character/yxs.js',
'character/rank.js',
// 'mode/boss.js', // 'mode/boss.js',
// 'mode/versus.js', // 'mode/versus.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB