diff --git a/card/standard.js b/card/standard.js index 87fc64b8c..d80039327 100755 --- a/card/standard.js +++ b/card/standard.js @@ -1424,7 +1424,7 @@ card.standard={ else event.state=true; event.goto(1); } - else if(event.current.next==event.end){ + else if(event.current.next==event.end||event.end.isDead()){ if(event.state==false){ trigger.untrigger(); trigger.finish(); @@ -1518,7 +1518,7 @@ card.standard={ else event.state=true; event.goto(1); } - else if(event.current.next==event.end){ + else if(event.current.next==event.end||event.end.isDead()){ if(event.state==false){ trigger.untrigger(); trigger.cancelled=true; diff --git a/character/boss.js b/character/boss.js index b7803575d..b5b05871b 100644 --- a/character/boss.js +++ b/character/boss.js @@ -10,6 +10,19 @@ character.boss={ boss_pangtong:['male','shu',4,['boss_tianyu','qiwu','niepan','boss_yuhuo'],['boss','bossallowed'],'zhu'], boss_zhaoyun:['male','shu',1,['boss_juejing','longhun','zhanjiang'],['boss','bossallowed'],'qun'], boss_zhouyu:['male','wu',6,['huoshen','boss_honglian','boss_xianyin'],['boss','bossallowed'],'zhu'], + + boss_zhuoguiquxie:['male','qun',0,['boss_bianshen'],['boss','bossallowed']], + boss_baiwuchang:['male','qun',9,['boss_baolian','boss_qiangzheng','boss_zuijiu','juece','boss_bianshen4'],['hiddenboss','bossallowed']], + boss_heiwuchang:['male','qun',9,['boss_guiji','boss_taiping','boss_suoming','boss_xixing','boss_bianshen4'],['hiddenboss','bossallowed']], + boss_luocha:['male','qun',12,['boss_modao','boss_yushou','yizhong','boss_moyany'],['hiddenboss','bossallowed']], + boss_yecha:['male','qun',11,['boss_modao','boss_mojian','bazhen','boss_danshu'],['hiddenboss','bossallowed']], + boss_niutou:['male','qun',7,['boss_baolian','niepan','boss_manjia','boss_xiaoshou','boss_bianshen3'],['hiddenboss','bossallowed']], + boss_mamian:['male','qun',6,['boss_guiji','fankui','boss_lianyu','juece','boss_bianshen3'],['hiddenboss','bossallowed']], + boss_chi:['male','qun',5,['boss_guimei','boss_didong','boss_shanbeng','boss_bianshen2'],['hiddenboss','bossallowed']], + boss_mo:['female','qun',5,['boss_guimei','enyuan','boss_beiming','boss_bianshen2'],['hiddenboss','bossallowed']], + boss_wang:['male','qun',5,['boss_guimei','boss_luolei','huilei','boss_bianshen2'],['hiddenboss','bossallowed']], + boss_liang:['female','qun',5,['boss_guimei','boss_guihuo','boss_minbao','boss_bianshen2'],['hiddenboss','bossallowed']], + boss_lvbu1:['male','qun',8,['mashu','wushuang','boss_baonu'],['boss','bossallowed'],'wei'], boss_lvbu2:['male','qun',4,['mashu','wushuang','swd_xiuluo','shenwei','shenji'],['hiddenboss','bossallowed'],'qun'], boss_caiwenji:['female','qun',4,['beige','boss_hujia','boss_guihan'],['boss','bossallowed'],'wei'], @@ -20,8 +33,490 @@ character.boss={ boss_huatuo:['male','qun',6,['chulao','mazui','boss_shengshou','guizhen','wuqin'],['boss','bossallowed'],'wu'], boss_dongzhuo:['male','qun',20,['jiuchi','boss_qiangzheng','boss_baolin'],['boss','bossallowed'],'shu'], // boss_shuijing:['male','qun',8,[],['boss','bossallowed'],'wei'], + }, skill:{ + boss_bianshen2:{ + mode:['boss'], + global:'boss_bianshen2x' + }, + boss_bianshen2x:{ + trigger:{global:'dieAfter'}, + forced:true, + priority:-10, + filter:function(event){ + if(lib.config.mode!='boss') return false; + return event.player==game.boss&&event.player.skills.contains('boss_bianshen2'); + }, + content:function(){ + 'step 0' + game.delay(); + 'step 1' + game.changeBoss(['boss_niutou','boss_mamian'].randomGet()); + } + }, + boss_bianshen3:{ + mode:['boss'], + global:'boss_bianshen3x' + }, + boss_bianshen3x:{ + trigger:{global:'dieAfter'}, + forced:true, + priority:-10, + filter:function(event){ + if(lib.config.mode!='boss') return false; + return event.player==game.boss&&event.player.skills.contains('boss_bianshen3'); + }, + content:function(){ + 'step 0' + game.delay(); + 'step 1' + game.changeBoss(['boss_baiwuchang','boss_heiwuchang'].randomGet()); + } + }, + boss_bianshen4:{ + mode:['boss'], + global:'boss_bianshen4x' + }, + boss_bianshen4x:{ + trigger:{global:'dieAfter'}, + forced:true, + priority:-10, + filter:function(event){ + if(lib.config.mode!='boss') return false; + return event.player==game.boss&&event.player.skills.contains('boss_bianshen4'); + }, + content:function(){ + 'step 0' + game.delay(); + 'step 1' + game.changeBoss(['boss_yecha','boss_luocha'].randomGet()); + } + }, + boss_moyany:{ + trigger:{player:'loseEnd'}, + frequent:true, + unique:true, + filter:function(event,player){ + return _status.currentPhase!=player; + }, + content:function(){ + "step 0" + player.judge(function(card){ + return get.color(card)=='red'?1:0; + }); + "step 1" + if(result.bool){ + player.chooseTarget(true,'选择一个目标对其造成两点火焰伤害',function(card,player,target){ + return player!=target; + }).ai=function(target){ + return ai.get.damageEffect(target,player,player,'fire'); + } + } + else{ + event.finish(); + } + "step 2" + if(result.targets.length){ + player.line(result.targets,'fire'); + result.targets[0].damage(2,'fire'); + } + }, + ai:{ + effect:{ + target:function(card){ + if(get.tag(card,'loseCard')){ + return [0.5,1]; + } + } + } + } + }, + boss_danshu:{ + trigger:{player:'loseEnd'}, + frequent:true, + unique:true, + filter:function(event,player){ + return _status.currentPhase!=player&&player.hp=player.hp; + }).ai=function(target){ + return ai.get.damageEffect(target,player,player,'fire'); + } + "step 1" + if(result.bool){ + player.logSkill('boss_xiaoshou',result.targets); + result.targets[0].damage('fire',3); + } + }, + }, + boss_manjia:{ + group:['boss_manjia1','boss_manjia2'] + }, + boss_manjia1:{ + trigger:{target:'useCardToBefore'}, + forced:true, + priority:6, + filter:function(event,player){ + if(player.get('e','2')) return false; + if(event.player.num('s','unequip')) return false; + if(event.card.name=='nanman') return true; + if(event.card.name=='wanjian') return true; + if(event.card.name=='sha'&&!event.card.nature) return true; + }, + content:function(){ + trigger.untrigger(); + trigger.finish(); + }, + ai:{ + effect:{ + target:function(card,player,target,current){ + if(target.get('e','2')) return; + if(player.num('s','unequip')) return; + if(card.name=='nanman'||card.name=='wanjian') return 0; + if(card.name=='sha'){ + var equip1=player.get('e','1'); + if(equip1&&equip1.name=='zhuque') return 2; + if(equip1&&equip1.name=='qinggang') return 1; + if(!card.nature) return 0; + } + } + } + } + }, + boss_manjia2:{ + trigger:{player:'damageBegin'}, + filter:function(event,player){ + if(player.get('e','2')) return false; + if(event.nature=='fire') return true; + }, + forced:true, + check:function(){ + return false; + }, + content:function(){ + trigger.num++; + }, + ai:{ + effect:{ + target:function(card,player,target,current){ + if(target.get('e','2')) return; + if(card.name=='sha'){ + if(card.nature=='fire'||player.skills.contains('zhuque_skill')) return 2; + } + if(get.tag(card,'fireDamage')&¤t<0) return 2; + } + } + } + }, + boss_lianyu:{ + trigger:{player:'phaseEnd'}, + unique:true, + content:function(){ + "step 0" + event.players=get.players(player); + event.players.remove(player); + "step 1" + if(event.players.length){ + var current=event.players.shift(); + player.line(current,'fire'); + current.damage('fire'); + event.redo(); + } + }, + }, + boss_guiji:{ + trigger:{player:'phaseJudgeBegin'}, + forced:true, + content:function(){ + player.discard(player.get('j').randomGet()); + }, + filter:function(event ,player){ + return player.num('j')>0; + }, + ai:{ + effect:{ + target:function(card,player,target,current){ + if(get.type(card)=='delay'&&target.num('j')==0) return 0.1; + } + } + } + }, + boss_minbao:{ + global:'boss_minbao2' + }, + boss_minbao2:{ + trigger:{global:'dieAfter'}, + forced:true, + filter:function(event,player){ + return event.player.skills.contains('boss_minbao')&&event.player.isDead(); + }, + content:function(){ + trigger.player.line(player,'fire'); + player.damage('nosource','fire').animate=false; + player.$damage(trigger.player); + if(lib.config.animation&&!lib.config.low_performance){ + player.$fire(); + } + } + }, + boss_guihuo:{ + trigger:{player:'phaseEnd'}, + direct:true, + content:function(){ + "step 0" + player.chooseTarget('是否发动【鬼火】?',function(card,player,target){ + return player!=target; + }).ai=function(target){ + return ai.get.damageEffect(target,player,player,'fire'); + } + "step 1" + if(result.bool){ + player.logSkill('boss_guihuo',result.targets); + result.targets[0].damage('fire'); + } + }, + }, + boss_luolei:{ + trigger:{player:'phaseBegin'}, + direct:true, + content:function(){ + "step 0" + player.chooseTarget('是否发动【落雷】?',function(card,player,target){ + return player!=target; + }).ai=function(target){ + return ai.get.damageEffect(target,player,player,'thunder'); + } + "step 1" + if(result.bool){ + player.logSkill('boss_luolei',result.targets); + result.targets[0].damage('thunder'); + } + }, + }, + boss_beiming:{ + trigger:{player:'dieBegin'}, + forced:true, + filter:function(event){ + return event.source!=undefined; + }, + content:function(){ + trigger.source.discard(trigger.source.get('h')); + }, + ai:{ + threaten:0.7 + } + }, + boss_shanbeng:{ + global:'boss_shanbeng2', + trigger:{player:'dieBegin'}, + forced:true, + content:function(){ + for(var i=0;i0&&event.player.skills.contains('boss_shanbeng')&&event.player.isDead(); + }, + content:function(){ + player.discard(player.get('e')); + } + }, + boss_didong:{ + trigger:{player:'phaseEnd'}, + direct:true, + content:function(){ + "step 0" + player.chooseTarget('是否发动【地动】?',function(card,player,target){ + return player!=target; + }).ai=function(target){ + var att=ai.get.attitude(player,target); + if(target.isTurnedOver()){ + if(att>0){ + return att+5; + } + return -1; + } + if(player.isTurnedOver()){ + return 5-att; + } + return -att; + }; + "step 1" + if(result.bool){ + player.logSkill('boss_didong',result.targets); + result.targets[0].turnOver(); + } + }, + }, + boss_guimei:{ + mod:{ + targetEnabled:function(card,player,target){ + if(get.type(card)=='delay'){ + return false; + } + } + } + }, + boss_bianshen:{ + trigger:{global:'gameStart'}, + forced:true, + popup:false, + content:function(){ + player.init(['boss_chi','boss_mo','boss_wang','boss_liang'].randomGet()); + game.addVideo('reinit2',player,player.name); + } + }, zhanjiang:{ trigger:{player:'phaseBegin'}, filter:function(event,player){ @@ -413,6 +908,7 @@ character.boss={ player.chooseCardTarget({ position:'he', filterTarget:function(card,player,target){ + if(!lib.character[target.name]) return false; return player!=target&&!target.storage.boss_hujia; }, filterCard:true, @@ -535,6 +1031,7 @@ character.boss={ } "step 2" if(result.targets.length){ + player.line(result.targets); result.targets[0].loseHp(); } }, @@ -867,6 +1364,73 @@ character.boss={ }, }, translate:{ + boss_chi:'魑', + boss_mo:'魅', + boss_wang:'魍', + boss_liang:'魉', + boss_niutou:'牛头', + boss_mamian:'马面', + boss_baiwuchang:'白无常', + boss_heiwuchang:'黑无常', + boss_luocha:'罗刹', + boss_yecha:'夜叉', + + boss_yushou:'驭兽', + boss_yushou_info:'出牌阶段开始时,视为你使用了一张[南蛮入侵]', + boss_moyany:'魔炎', + boss_moyany_info:'每当你于回合外失去牌时,你可以进行一次判定,若结果为红色,你对一名其他角色造成2点火焰伤害', + boss_modao:'魔道', + boss_modao_info:'锁定技,准备阶段,你摸两张牌', + boss_mojian:'魔箭', + boss_mojian_info:'出牌阶段开始时,视为你使用了一张[万箭齐发]', + boss_danshu:'丹术', + boss_danshu_info:'每当你于回合外失去牌时,你可以进行一次判定,若结果为红色,你回复1点体力', + + boss_zuijiu:'醉酒', + boss_zuijiu_info:'锁定技,你的【杀】额外造成1点伤害', + boss_taiping:'太平', + boss_taiping_info:'锁定技,摸牌阶段摸牌时,你的摸牌数量+2', + boss_suoming:'索命', + boss_suoming_info:'结束阶段,将任意名未被横置的其他角色的武将牌横置', + boss_xixing:'吸星', + boss_xixing_info:'准备阶段,对任意一名横置的其他角色造成1点雷电伤害,然后回复1点体力', + + boss_baolian:'暴敛', + boss_baolian_info:'锁定技,结束阶段,你摸两张牌', + boss_manjia:'蛮甲', + boss_manjia_info:'锁定技,若你的装备区内没有防具牌,则你视为装备了[藤甲]', + boss_xiaoshou:'枭首', + boss_xiaoshou_info:'结束阶段,对体力不小于你的一名其他角色造成3点伤害', + boss_guiji:'诡计', + boss_guiji_info:'锁定技,准备阶段结束时,若你的判定区内有牌,你随机弃置其中一张牌', + boss_lianyu:'炼狱', + boss_lianyu_info:'结束阶段,对所有其他角色造成1点火焰伤害', + + boss_guihuo:'鬼火', + boss_guihuo_info:'结束阶段,对一名其他角色造成1点火焰伤害', + boss_minbao:'冥爆', + boss_minbao_info:'锁定技,当你死亡时,对场上所有其他角色造成1点火焰伤害', + boss_luolei:'落雷', + boss_luolei_info:'准备阶段,对一名其他角色造成1点雷电伤害', + boss_beiming:'悲鸣', + boss_beiming_info:'锁定技,当你死亡时,你令杀死你的角色弃置所有手牌', + boss_guimei:'鬼魅', + boss_guimei_info:'锁定技,你不能成为延时类锦囊的目标', + boss_didong:'地动', + boss_didong_info:'结束阶段,令一名其他角色将其武将牌翻面', + boss_shanbeng:'山崩', + boss_shanbeng_info:'锁定技,当你死亡时,你令所有其他角色弃置其装备区内的所有牌', + + boss_zhuoguiquxie:'捉鬼驱邪', + boss_bianshen:'变身', + boss_bianshen_info:'游戏开始时,你随机变身为魑、魅、魍、魉中的一个', + boss_bianshen2:'变身', + boss_bianshen2_info:'你死亡后随机变身为牛头、马面中的一个', + boss_bianshen3:'变身', + boss_bianshen3_info:'你死亡后随机变身为白无常、黑无常中的一个', + boss_bianshen4:'变身', + boss_bianshen4_info:'你死亡后随机变身为罗刹、夜叉中的一个', + zhanjiang:'斩将', zhanjiang_info:'准备阶段开始时,如果其他角色的装备区内有【青釭剑】,你可以获得之', diff --git a/character/hearth.js b/character/hearth.js index 1058992a8..971518468 100755 --- a/character/hearth.js +++ b/character/hearth.js @@ -245,7 +245,9 @@ character.hearth={ }, fushi:{ enable:'phaseUse', - filterTarget:true, + filterTarget:function(card,player,target){ + return target.hp卡组与职业绑定,每个职业有一个专属技能,每回合限用一次,消耗两点行动值'+ '
职业技能
  • 祭司:召唤一个随机图腾'+ '
  • 法师:对一名随从造成一点火焰伤害'+ - '
  • 医生:回复一点体力'+ - '
  • 战士:获得一点护甲,摸一张牌'+ + '
  • 牧师:回复一点体力'+ + '
  • 战士:获得一点护甲'+ '
  • 术士:牌库中摸两张牌'+ - '
  • 装备一把武器和一个随机非武器装备'+ - '
  • 谋士:召唤一名士兵'+ + '
  • 潜行者:装备一把武器和一个随机非武器装备'+ + '
  • 圣骑士:召唤一名士兵'+ '
  • 猎人:对敌方主将造成一点伤害'+ - '
  • 蛮人:视为使用一张不计入出杀次数的杀
'+ + '
  • 德鲁伊:视为使用一张不计入出杀次数的杀'+ '
    战斗
    • 游戏流程类似1v1,场上有两名主将进行对抗'+ '
    • 主将出牌阶段的出牌数量(行动值)有上限,先手为2,后手为3,装备牌不计入出牌上限
    • 游戏每进行一轮,主将的出牌上限+1,超过6时减至2并重新累加'+ '
    • 使用随从牌可召唤一个随从,随从出场时背面朝上。每一方在场的随从数不能超过4
    • 随从于摸牌阶段摸牌基数为1,随从的随从牌均视为闪,装备牌均视为杀
    • '+ @@ -3765,6 +3762,14 @@ event.dialog.close(); "step 2" if(event.result.bool&&event.result.buttons){ + if(event.logSkill){ + if(typeof event.logSkill=='string'){ + player.logSkill(event.logSkill); + } + else if(Array.isArray(event.logSkill)){ + player.logSkill.apply(player,event.logSkill); + } + } var cards=[]; for(var i=0;i0?'+':'-')+' '+Math.abs(left)+'px)', 'calc(50% '+(top>0?'+':'-')+' '+Math.abs(top)+'px)' ); } else{ - var node=this.$throwordered(card.copy('thrown')); + node=this.$throwordered(card.copy('thrown')); } if(time!=undefined){ node.fixed=true; @@ -8121,6 +8127,9 @@ if(card[3]) this.node.background.setBackground(bg+'_'+card[3],'card'); else this.node.background.setBackground(bg,'card'); } + else if(lib.card[card[2]].fullimage){ + this.setBackground('card/'+bg); + } else if(lib.card[card[2]].image=='card'){ if(card[3]) this.setBackground(bg+'_'+card[3],'card'); else this.setBackground(bg,'card'); @@ -8140,13 +8149,23 @@ if(lib.card[card[2]].color){ this.style.color=lib.card[card[2]].color; } + else if(lib.card[card[2]].fullimage){ + this.style.color='white'; + } if(lib.card[card[2]].textShadow){ this.style.textShadow=lib.card[card[2]].textShadow; } + else if(lib.card[card[2]].fullimage){ + this.style.textShadow='black 0 0 2px'; + } if(lib.card[card[2]].opacity){ this.node.info.style.opacity=lib.card[card[2]].opacity; this.node.name.style.opacity=lib.card[card[2]].opacity; } + else if(lib.card[card[2]].fullimage){ + this.node.info.style.opacity=1; + this.node.name.style.opacity=1; + } if(lib.card[card[2]].modinfo){ this.node.info.innerHTML=lib.card[card[2]].modinfo; } @@ -8592,8 +8611,9 @@ else ui.dialogs[i].hide(); } ui.dialog=this; + var translate; if(lib.config.remember_dialog&&lib.config.dialog_transform&&!this.classList.contains('fixed')){ - var translate=lib.config.dialog_transform; + translate=lib.config.dialog_transform; this._dragtransform=translate; this.style.transform='translate('+translate[0]+'px,'+translate[1]+'px) scale(0.8)'; } @@ -8872,7 +8892,7 @@ ghujia:{ intro:{ content:function(content,player){ - return '已有'+get.cnNumber(player.hujia)+'点护甲值

      每点护甲可以抵挡一点伤害

      '; + return '已有'+get.cnNumber(player.hujia)+'点护甲值'; } } }, @@ -8994,7 +9014,7 @@ if(lib.config.tao_enemy&&event.dying.side!=player.side&&lib.config.mode!='identity'&&lib.config.mode!='guozhan'){ event._result={bool:false} } - else if(player.hasSkillTag('save',true)||player.num('h','tao')|| + else if(player.hasSkillTag('save',true)||player.num('h','tao')||player.num('h','spell_zhiliaoshui')|| (player==event.dying&&(player.num('h','jiu')||player.num('h','hufu')||player.num('h','tianxianjiu')))){ player.chooseToUse({ filterCard:function(card,player){ @@ -9563,9 +9583,7 @@ } game.singleHandcard=true; ui.arena.classList.add('single-handcard'); - ui.fakeme=ui.create.div('.player.controlfakeme'); - ui.fakeme.line=lib.element.player.line; - ui.fakemebg=ui.create.div('.avatar',ui.fakeme).hide(); + ui.fakeme=ui.create.div('.fakeme.avatar',ui.me); } ui.arena.style.display=''; ui.refresh(ui.arena); @@ -9575,11 +9593,7 @@ if(!players.boss){ game.singleHandcard=true; ui.arena.classList.add('single-handcard'); - ui.fakeme=ui.create.div('.player.controlfakeme'); - ui.fakeme.dataset.position=0; - ui.fakeme.line=lib.element.player.line; - ui.fakemebg=ui.create.div('.avatar',ui.fakeme).hide(); - ui.refresh(ui.fakemebg); + ui.fakeme=ui.create.div('.fakeme.avatar',ui.me); } ui.arena.dataset.number=8; } @@ -9634,14 +9648,12 @@ if(lib.config.mode=='versus'){ if(players.bool){ - ui.fakemebg.show(); game.onSwapControl(); } } else if(lib.config.mode=='boss'){ if(!players.boss){ game.onSwapControl(); - ui.fakemebg.show(); } ui.arena.style.display=''; ui.refresh(ui.arena); @@ -9773,6 +9785,21 @@ console.log(content); } }, + bossSwap:function(player,name){ + player.delete(); + var boss=ui.create.player().init(name); + boss.dataset.position=player.dataset.position; + game.playerMap[player.dataset.position]=boss; + if(game.me==player){ + game.me=boss; + } + game.players.push(boss); + game.arrangePlayers(); + game.boss=boss; + ui.arena.appendChild(boss.animate('zoominanim')); + boss.setIdentity('zhu'); + boss.identity='zhu'; + }, stoneSwap:function(info){ var player=ui.create.player(); player.classList.add('noidentity'); @@ -9816,6 +9843,14 @@ console.log(source); } }, + reinit2:function(source,name){ + if(source&&name){ + source.init(name); + } + else{ + console.log(source); + } + }, skill:function(player,content){ if(typeof content=='string'){ lib.skill[content].video(player); @@ -11323,6 +11358,10 @@ if(!ui.restart){ ui.restart=ui.create.control('restart',game.reload); } + if(ui.tempnowuxie){ + ui.tempnowuxie.close(); + delete ui.tempnowuxie; + } if(ui.revive){ ui.revive.close(); @@ -12087,7 +12126,7 @@ }; if(card.ai.basic.useful==undefined) card.ai.basic.useful=2; if(card.subtype=='equip3'){ - if(card.ai.basic.equipValue==undefined) card.ai.basic.equipValue=6; + if(card.ai.basic.equipValue==undefined) card.ai.basic.equipValue=7; } else if(card.subtype=='equip4'){ if(card.ai.basic.equipValue==undefined) card.ai.basic.equipValue=5; @@ -12394,9 +12433,9 @@ game.arrangePlayers(); return player; }, - addFellow:function(position,character){ + addFellow:function(position,character,animation){ game.addVideo('addFellow',null,[position,character]); - var player=ui.create.player(ui.arena).animate('start'); + var player=ui.create.player(ui.arena).animate(animation||'start'); player.dataset.position=position||game.players.length+game.dead.length; if(character) player.init(character); game.players.push(player);game.arrangePlayers(); @@ -12806,10 +12845,11 @@ else{ for(var i in lib.character){ if(lib.character[i][4].contains('minskin')) continue; - if(lib.character[i][4].contains('boss')&&! - lib.character[i][4].contains('bossallowed')) continue; - if(lib.character[i][4].contains('hiddenboss')&&! - lib.character[i][4].contains('bossallowed')) continue; + if(lib.character[i][4].contains('boss')||lib.character[i][4].contains('hiddenboss')){ + if(lib.config.mode=='boss') continue; + if(!lib.character[i][4].contains('bossallowed')) continue; + } + if(lib.character[i][4].contains('stonehidden')) continue; if(lib.config.banned.contains(i)) continue; if(filter&&filter(i)) continue; @@ -12924,8 +12964,16 @@ seperate=seperate(list); dialog.seperate=[]; for(var i in seperate){ - dialog.seperate.push(dialog.add(i)); - dialog.add([seperate[i],'vcard'],noclick); + var link=''; + var linkcontent=seperate[i]; + if(i.indexOf('_link:')!=-1){ + link=i.slice(i.indexOf('_link:')+6); + i=i.slice(0,i.indexOf('_link:')); + } + var nodesep=dialog.add(i); + nodesep.link=link; + dialog.seperate.push(nodesep); + dialog.add([linkcontent,'vcard'],noclick); } } else{ @@ -13728,6 +13776,7 @@ var map={}; if(info.config){ var hiddenNodes=[]; + var config=lib.config.mode_config[mode]||{}; for(var j in info.config){ if(j==='update'){ continue; @@ -13735,7 +13784,6 @@ var cfg=copyObj(info.config[j]); cfg._name=j; cfg.mode=mode; - var config=lib.config.mode_config[mode]||{}; if(!config.hasOwnProperty(j)){ game.saveConfig(j,cfg.init,mode); } @@ -13959,13 +14007,13 @@ }); page.style.paddingBottom='10px'; } + var config=lib.config; for(var j in info.config){ if(j==='update'){ continue; } var cfg=copyObj(info.config[j]); cfg._name=j; - var config=lib.config; if(!config.hasOwnProperty(j)){ if(cfg.type!='autoskill'&&cfg.type!='banskill'){ game.saveConfig(j,cfg.init); @@ -16754,17 +16802,18 @@ clearTimeout(ui.roundmenu._resetTimeout); delete ui.roundmenu._resetTimeout; } + var translate; if(ui.roundmenu._dragorigin&&ui.roundmenu._dragtransform&&ui.roundmenu._dragtouches){ var dx=ui.roundmenu._dragtouches.clientX-ui.roundmenu._dragorigin.clientX; var dy=ui.roundmenu._dragtouches.clientY-ui.roundmenu._dragorigin.clientY; if(dx*dx+dy*dy<1000){ ui.click.roundmenu(); ui.roundmenu._dragtransform=ui.roundmenu._dragorigintransform; - var translate=ui.roundmenu._dragtransform; + translate=ui.roundmenu._dragtransform; ui.roundmenu.style.transform='translate('+translate[0]+'px,'+translate[1]+'px)'; } else{ - var translate=ui.roundmenu._dragtransform; + translate=ui.roundmenu._dragtransform; translate[0]+=dx; translate[1]+=dy; ui.click.checkroundtranslate(); @@ -16780,10 +16829,11 @@ } else if(_status.draggingtouchdialog){ delete _status._swipeorigin; + var translate; if(_status.draggingtouchdialog._dragorigin&&_status.draggingtouchdialog._dragtransform&&_status.draggingtouchdialog._dragtouches){ var dx=_status.draggingtouchdialog._dragtouches.clientX-_status.draggingtouchdialog._dragorigin.clientX; var dy=_status.draggingtouchdialog._dragtouches.clientY-_status.draggingtouchdialog._dragorigin.clientY; - var translate=_status.draggingtouchdialog._dragtransform; + translate=_status.draggingtouchdialog._dragtransform; translate[0]+=dx; translate[1]+=dy; ui.click.checkdialogtranslate(null,_status.draggingtouchdialog); @@ -17176,8 +17226,9 @@ if(window.inSplash) return; if(_status.draggingdialog){ var ddialog=_status.draggingdialog; + var translate; if(ddialog._dragorigin&&ddialog._dragtransform){ - var translate=ddialog._dragtransform; + translate=ddialog._dragtransform; translate[0]+=e.x-ddialog._dragorigin.x; translate[1]+=e.y-ddialog._dragorigin.y; ui.click.checkdialogtranslate(null,ddialog); @@ -17187,13 +17238,14 @@ delete _status.draggingdialog; } if(_status.draggingroundmenu){ + var translate; if(ui.roundmenu._dragorigin&&ui.roundmenu._dragtransform){ var dx=e.x-ui.roundmenu._dragorigin.x; var dy=e.y-ui.roundmenu._dragorigin.y; if(dx*dx+dy*dy<25){ ui.click.roundmenu(); } - var translate=ui.roundmenu._dragtransform; + translate=ui.roundmenu._dragtransform; translate[0]+=dx; translate[1]+=dy; ui.click.checkroundtranslate(); @@ -19087,6 +19139,7 @@ var card=false; if(typeof num!='number') num=1; if(num==0) {card=true;num=1;} + if(num<0) num=1; while(num--){ if(ui.cardPile.hasChildNodes()==false){ if(_status.maxShuffle!=undefined){ @@ -19520,8 +19573,9 @@ return num; }, tag:function(item,tag,item2){ + var result; if(get.info(item)&&get.info(item).ai&&get.info(item).ai.tag){ - var result=get.info(item).ai.tag[tag]; + result=get.info(item).ai.tag[tag]; } if(typeof result=='function') return result(item,item2); return result; @@ -19980,6 +20034,9 @@ uiintro.add('
      攻击范围:1
      '); } } + else if(lib.card[name]&&lib.card[name].addinfomenu){ + uiintro.add('
      '+lib.card[name].addinfomenu+'
      '); + } if(lib.translate[name+'_info'].length<=100){ uiintro.add('
      '+lib.translate[name+'_info']+'
      '); } diff --git a/image/card/dianhaishenzhu.png b/image/card/dianhaishenzhu.png deleted file mode 100755 index 1f11bc076..000000000 Binary files a/image/card/dianhaishenzhu.png and /dev/null differ diff --git a/image/card/emofengdi.png b/image/card/emofengdi.png deleted file mode 100755 index 3b3bad925..000000000 Binary files a/image/card/emofengdi.png and /dev/null differ diff --git a/image/card/fengraozhijiao.png b/image/card/fengraozhijiao.png deleted file mode 100755 index 38d7bf6f5..000000000 Binary files a/image/card/fengraozhijiao.png and /dev/null differ diff --git a/image/card/jintiao.png b/image/card/jintiao.png deleted file mode 100755 index 66b6b651f..000000000 Binary files a/image/card/jintiao.png and /dev/null differ diff --git a/image/card/konghunshi.png b/image/card/konghunshi.png deleted file mode 100755 index efbca385a..000000000 Binary files a/image/card/konghunshi.png and /dev/null differ diff --git a/image/card/leader_hard.jpg b/image/card/leader_hard.jpg index 3722a7936..48cac6dc7 100644 Binary files a/image/card/leader_hard.jpg and b/image/card/leader_hard.jpg differ diff --git a/image/card/liumangxingzhen.png b/image/card/liumangxingzhen.png deleted file mode 100755 index 1783c986b..000000000 Binary files a/image/card/liumangxingzhen.png and /dev/null differ diff --git a/image/card/mengjing_mengye.png b/image/card/mengjing_mengye.png deleted file mode 100644 index 54817c522..000000000 Binary files a/image/card/mengjing_mengye.png and /dev/null differ diff --git a/image/card/miefafu.png b/image/card/miefafu.png deleted file mode 100755 index 96fba66a9..000000000 Binary files a/image/card/miefafu.png and /dev/null differ diff --git a/image/card/mindieyi.png b/image/card/mindieyi.png deleted file mode 100755 index 925f591a9..000000000 Binary files a/image/card/mindieyi.png and /dev/null differ diff --git a/image/card/sanghunzhao.png b/image/card/sanghunzhao.png deleted file mode 100755 index a70f83ff4..000000000 Binary files a/image/card/sanghunzhao.png and /dev/null differ diff --git a/image/card/shengerpingdeng.png b/image/card/shengerpingdeng.png deleted file mode 100755 index 6a3792cd5..000000000 Binary files a/image/card/shengerpingdeng.png and /dev/null differ diff --git a/image/card/spell_anyingkuangluan.jpg b/image/card/spell_anyingkuangluan.jpg new file mode 100644 index 000000000..ebd57289c Binary files /dev/null and b/image/card/spell_anyingkuangluan.jpg differ diff --git a/image/card/spell_anyinglieyan.jpg b/image/card/spell_anyinglieyan.jpg new file mode 100755 index 000000000..443500339 Binary files /dev/null and b/image/card/spell_anyinglieyan.jpg differ diff --git a/image/card/spell_aoshuzhihui.jpg b/image/card/spell_aoshuzhihui.jpg new file mode 100755 index 000000000..311dc9809 Binary files /dev/null and b/image/card/spell_aoshuzhihui.jpg differ diff --git a/image/card/spell_baofengxue.jpg b/image/card/spell_baofengxue.jpg new file mode 100755 index 000000000..e4950b070 Binary files /dev/null and b/image/card/spell_baofengxue.jpg differ diff --git a/image/card/spell_bianxingshu.jpg b/image/card/spell_bianxingshu.jpg new file mode 100755 index 000000000..32a64449b Binary files /dev/null and b/image/card/spell_bianxingshu.jpg differ diff --git a/image/card/spell_bingdong.jpg b/image/card/spell_bingdong.jpg new file mode 100755 index 000000000..e22b70075 Binary files /dev/null and b/image/card/spell_bingdong.jpg differ diff --git a/image/card/spell_binghuan.jpg b/image/card/spell_binghuan.jpg new file mode 100644 index 000000000..35496088a Binary files /dev/null and b/image/card/spell_binghuan.jpg differ diff --git a/image/card/spell_chazhuangshandian.jpg b/image/card/spell_chazhuangshandian.jpg new file mode 100755 index 000000000..bec2294b1 Binary files /dev/null and b/image/card/spell_chazhuangshandian.jpg differ diff --git a/image/card/spell_chenmo.jpg b/image/card/spell_chenmo.jpg new file mode 100755 index 000000000..fad76eaa6 Binary files /dev/null and b/image/card/spell_chenmo.jpg differ diff --git a/image/card/spell_cigu.jpg b/image/card/spell_cigu.jpg new file mode 100755 index 000000000..82e9d109c Binary files /dev/null and b/image/card/spell_cigu.jpg differ diff --git a/image/card/spell_cisha.jpg b/image/card/spell_cisha.jpg new file mode 100755 index 000000000..05287905d Binary files /dev/null and b/image/card/spell_cisha.jpg differ diff --git a/image/card/spell_daoshan.jpg b/image/card/spell_daoshan.jpg new file mode 100755 index 000000000..1cd5434bf Binary files /dev/null and b/image/card/spell_daoshan.jpg differ diff --git a/image/card/spell_diyulieyan.jpg b/image/card/spell_diyulieyan.jpg new file mode 100755 index 000000000..24a9ec236 Binary files /dev/null and b/image/card/spell_diyulieyan.jpg differ diff --git a/image/card/spell_dunpaimengji.jpg b/image/card/spell_dunpaimengji.jpg new file mode 100755 index 000000000..d02d9c6ce Binary files /dev/null and b/image/card/spell_dunpaimengji.jpg differ diff --git a/image/card/spell_duochongsheji.jpg b/image/card/spell_duochongsheji.jpg new file mode 100755 index 000000000..5ca794819 Binary files /dev/null and b/image/card/spell_duochongsheji.jpg differ diff --git a/image/card/spell_emozhinu.jpg b/image/card/spell_emozhinu.jpg new file mode 100755 index 000000000..9881dd329 Binary files /dev/null and b/image/card/spell_emozhinu.jpg differ diff --git a/image/card/spell_fengxian.jpg b/image/card/spell_fengxian.jpg new file mode 100755 index 000000000..0f95c7741 Binary files /dev/null and b/image/card/spell_fengxian.jpg differ diff --git a/image/card/spell_fennuzhichui.jpg b/image/card/spell_fennuzhichui.jpg new file mode 100755 index 000000000..ddb218408 Binary files /dev/null and b/image/card/spell_fennuzhichui.jpg differ diff --git a/image/card/spell_fuchouzhinu.jpg b/image/card/spell_fuchouzhinu.jpg new file mode 100755 index 000000000..06a43ba11 Binary files /dev/null and b/image/card/spell_fuchouzhinu.jpg differ diff --git a/image/card/spell_guanmenfanggou.jpg b/image/card/spell_guanmenfanggou.jpg new file mode 100755 index 000000000..d929778cc Binary files /dev/null and b/image/card/spell_guanmenfanggou.jpg differ diff --git a/image/card/spell_hanbingjian.jpg b/image/card/spell_hanbingjian.jpg new file mode 100755 index 000000000..7de4e0a02 Binary files /dev/null and b/image/card/spell_hanbingjian.jpg differ diff --git a/image/card/spell_hengsao.jpg b/image/card/spell_hengsao.jpg new file mode 100644 index 000000000..33fd89ee3 Binary files /dev/null and b/image/card/spell_hengsao.jpg differ diff --git a/image/card/spell_huoqiushu.jpg b/image/card/spell_huoqiushu.jpg new file mode 100755 index 000000000..10704ab33 Binary files /dev/null and b/image/card/spell_huoqiushu.jpg differ diff --git a/image/card/spell_huotigenxu.jpg b/image/card/spell_huotigenxu.jpg new file mode 100644 index 000000000..f9ea8ac6b Binary files /dev/null and b/image/card/spell_huotigenxu.jpg differ diff --git a/image/card/spell_jianrenluanwu.jpg b/image/card/spell_jianrenluanwu.jpg new file mode 100755 index 000000000..423d314ce Binary files /dev/null and b/image/card/spell_jianrenluanwu.jpg differ diff --git a/image/card/spell_jingshenkongzhi.jpg b/image/card/spell_jingshenkongzhi.jpg new file mode 100644 index 000000000..5aca2fc95 Binary files /dev/null and b/image/card/spell_jingshenkongzhi.jpg differ diff --git a/image/card/spell_juemingluandou.jpg b/image/card/spell_juemingluandou.jpg new file mode 100755 index 000000000..ea8b09ef7 Binary files /dev/null and b/image/card/spell_juemingluandou.jpg differ diff --git a/image/card/spell_kuaisusheji.jpg b/image/card/spell_kuaisusheji.jpg new file mode 100755 index 000000000..3e795ffac Binary files /dev/null and b/image/card/spell_kuaisusheji.jpg differ diff --git a/image/card/spell_lianhuanbaolie.jpg b/image/card/spell_lianhuanbaolie.jpg new file mode 100755 index 000000000..52d758382 Binary files /dev/null and b/image/card/spell_lianhuanbaolie.jpg differ diff --git a/image/card/spell_lierenyinji.jpg b/image/card/spell_lierenyinji.jpg new file mode 100644 index 000000000..06394e85d Binary files /dev/null and b/image/card/spell_lierenyinji.jpg differ diff --git a/image/card/spell_lieyanfengbao.jpg b/image/card/spell_lieyanfengbao.jpg new file mode 100755 index 000000000..801bb31e0 Binary files /dev/null and b/image/card/spell_lieyanfengbao.jpg differ diff --git a/image/card/spell_liliangdaijia.jpg b/image/card/spell_liliangdaijia.jpg new file mode 100755 index 000000000..dfe03cd91 Binary files /dev/null and b/image/card/spell_liliangdaijia.jpg differ diff --git a/image/card/spell_liliangzhufu.jpg b/image/card/spell_liliangzhufu.jpg new file mode 100644 index 000000000..f5fe96216 Binary files /dev/null and b/image/card/spell_liliangzhufu.jpg differ diff --git a/image/card/spell_maizang.jpg b/image/card/spell_maizang.jpg new file mode 100644 index 000000000..985fe361b Binary files /dev/null and b/image/card/spell_maizang.jpg differ diff --git a/image/card/spell_modaoyou.jpg b/image/card/spell_modaoyou.jpg new file mode 100644 index 000000000..88a84557a Binary files /dev/null and b/image/card/spell_modaoyou.jpg differ diff --git a/image/card/spell_morizaihuo.jpg b/image/card/spell_morizaihuo.jpg new file mode 100644 index 000000000..7225592f5 Binary files /dev/null and b/image/card/spell_morizaihuo.jpg differ diff --git a/image/card/spell_naluzhiguang.jpg b/image/card/spell_naluzhiguang.jpg new file mode 100755 index 000000000..94d04a083 Binary files /dev/null and b/image/card/spell_naluzhiguang.jpg differ diff --git a/image/card/spell_niuquxukong.jpg b/image/card/spell_niuquxukong.jpg new file mode 100644 index 000000000..4b18406e2 Binary files /dev/null and b/image/card/spell_niuquxukong.jpg differ diff --git a/image/card/spell_nuhuozhongshao.jpg b/image/card/spell_nuhuozhongshao.jpg new file mode 100755 index 000000000..8b28c5026 Binary files /dev/null and b/image/card/spell_nuhuozhongshao.jpg differ diff --git a/image/card/spell_nuxi.jpg b/image/card/spell_nuxi.jpg new file mode 100644 index 000000000..50ce72d82 Binary files /dev/null and b/image/card/spell_nuxi.jpg differ diff --git a/image/card/spell_sanghunzhao.jpg b/image/card/spell_sanghunzhao.jpg new file mode 100644 index 000000000..85f1c728a Binary files /dev/null and b/image/card/spell_sanghunzhao.jpg differ diff --git a/image/card/spell_shandianfengbao.jpg b/image/card/spell_shandianfengbao.jpg new file mode 100644 index 000000000..d227fe52b Binary files /dev/null and b/image/card/spell_shandianfengbao.jpg differ diff --git a/image/card/spell_shengerpingdeng.jpg b/image/card/spell_shengerpingdeng.jpg new file mode 100644 index 000000000..c27de061f Binary files /dev/null and b/image/card/spell_shengerpingdeng.jpg differ diff --git a/image/card/spell_shengguangzhadan.jpg b/image/card/spell_shengguangzhadan.jpg new file mode 100644 index 000000000..9a527a5ea Binary files /dev/null and b/image/card/spell_shengguangzhadan.jpg differ diff --git a/image/card/spell_shengliaoshu.jpg b/image/card/spell_shengliaoshu.jpg new file mode 100755 index 000000000..b430c7160 Binary files /dev/null and b/image/card/spell_shengliaoshu.jpg differ diff --git a/image/card/spell_shenshengxinxing.jpg b/image/card/spell_shenshengxinxing.jpg new file mode 100644 index 000000000..f24a3a39b Binary files /dev/null and b/image/card/spell_shenshengxinxing.jpg differ diff --git a/image/card/spell_shixue.jpg b/image/card/spell_shixue.jpg new file mode 100755 index 000000000..8ce73e517 Binary files /dev/null and b/image/card/spell_shixue.jpg differ diff --git a/image/card/spell_sijidaifa.jpg b/image/card/spell_sijidaifa.jpg new file mode 100755 index 000000000..6522193ab Binary files /dev/null and b/image/card/spell_sijidaifa.jpg differ diff --git a/image/card/spell_wangzhezhufu.jpg b/image/card/spell_wangzhezhufu.jpg new file mode 100644 index 000000000..a6e9bd424 Binary files /dev/null and b/image/card/spell_wangzhezhufu.jpg differ diff --git a/image/card/spell_wuyashenxiang.jpg b/image/card/spell_wuyashenxiang.jpg new file mode 100644 index 000000000..5cf6f2cdf Binary files /dev/null and b/image/card/spell_wuyashenxiang.jpg differ diff --git a/image/card/spell_xianzuzhiliao.jpg b/image/card/spell_xianzuzhiliao.jpg new file mode 100644 index 000000000..15543c5e4 Binary files /dev/null and b/image/card/spell_xianzuzhiliao.jpg differ diff --git a/image/card/spell_xiaoguibaopo.jpg b/image/card/spell_xiaoguibaopo.jpg new file mode 100755 index 000000000..ddd203f6d Binary files /dev/null and b/image/card/spell_xiaoguibaopo.jpg differ diff --git a/image/card/spell_xiaoshi.jpg b/image/card/spell_xiaoshi.jpg new file mode 100755 index 000000000..695df42b3 Binary files /dev/null and b/image/card/spell_xiaoshi.jpg differ diff --git a/image/card/spell_xinlingshijie.jpg b/image/card/spell_xinlingshijie.jpg new file mode 100644 index 000000000..fe66322f1 Binary files /dev/null and b/image/card/spell_xinlingshijie.jpg differ diff --git a/image/card/spell_xishengqiyue.jpg b/image/card/spell_xishengqiyue.jpg new file mode 100644 index 000000000..1ab8f0402 Binary files /dev/null and b/image/card/spell_xishengqiyue.jpg differ diff --git a/image/card/spell_xuanfengzhan.jpg b/image/card/spell_xuanfengzhan.jpg new file mode 100755 index 000000000..03b77e278 Binary files /dev/null and b/image/card/spell_xuanfengzhan.jpg differ diff --git a/image/card/spell_yanmie.jpg b/image/card/spell_yanmie.jpg new file mode 100644 index 000000000..ccf5c079d Binary files /dev/null and b/image/card/spell_yanmie.jpg differ diff --git a/image/card/spell_yaoshu.jpg b/image/card/spell_yaoshu.jpg new file mode 100755 index 000000000..280c38ccc Binary files /dev/null and b/image/card/spell_yaoshu.jpg differ diff --git a/image/card/spell_yemanpaoxiao.jpg b/image/card/spell_yemanpaoxiao.jpg new file mode 100755 index 000000000..7bd54591e Binary files /dev/null and b/image/card/spell_yemanpaoxiao.jpg differ diff --git a/image/card/spell_yexingchengzhang.jpg b/image/card/spell_yexingchengzhang.jpg new file mode 100755 index 000000000..0cacccd02 Binary files /dev/null and b/image/card/spell_yexingchengzhang.jpg differ diff --git a/image/card/spell_yexinglanghun.jpg b/image/card/spell_yexinglanghun.jpg new file mode 100755 index 000000000..6fb2a1185 Binary files /dev/null and b/image/card/spell_yexinglanghun.jpg differ diff --git a/image/card/spell_zhansha.jpg b/image/card/spell_zhansha.jpg new file mode 100755 index 000000000..228fdaa39 Binary files /dev/null and b/image/card/spell_zhansha.jpg differ diff --git a/image/card/spell_zhaohuanchongwu.jpg b/image/card/spell_zhaohuanchongwu.jpg new file mode 100755 index 000000000..36a547204 Binary files /dev/null and b/image/card/spell_zhaohuanchongwu.jpg differ diff --git a/image/card/spell_zhiliaoshui.jpg b/image/card/spell_zhiliaoshui.jpg new file mode 100644 index 000000000..fb030a24f Binary files /dev/null and b/image/card/spell_zhiliaoshui.jpg differ diff --git a/image/card/spell_zhiliaozhichu.jpg b/image/card/spell_zhiliaozhichu.jpg new file mode 100644 index 000000000..6235a8fd1 Binary files /dev/null and b/image/card/spell_zhiliaozhichu.jpg differ diff --git a/image/card/spell_zhiliaozhihuan.jpg b/image/card/spell_zhiliaozhihuan.jpg new file mode 100755 index 000000000..7d3c51729 Binary files /dev/null and b/image/card/spell_zhiliaozhihuan.jpg differ diff --git a/image/card/spell_zidanshangtang.jpg b/image/card/spell_zidanshangtang.jpg new file mode 100755 index 000000000..050448d43 Binary files /dev/null and b/image/card/spell_zidanshangtang.jpg differ diff --git a/image/card/spell_ziranzhili.jpg b/image/card/spell_ziranzhili.jpg new file mode 100755 index 000000000..4014e6bdd Binary files /dev/null and b/image/card/spell_ziranzhili.jpg differ diff --git a/image/card/spell_zuozhandongyuan.jpg b/image/card/spell_zuozhandongyuan.jpg new file mode 100644 index 000000000..6bfa298d3 Binary files /dev/null and b/image/card/spell_zuozhandongyuan.jpg differ diff --git a/image/card/spell_zuzhou.jpg b/image/card/spell_zuzhou.jpg new file mode 100644 index 000000000..0308df64b Binary files /dev/null and b/image/card/spell_zuzhou.jpg differ diff --git a/image/card/yesushengxue.png b/image/card/yesushengxue.png deleted file mode 100755 index a02317cf4..000000000 Binary files a/image/card/yesushengxue.png and /dev/null differ diff --git a/image/card/zhaohunfan.png b/image/card/zhaohunfan.png deleted file mode 100755 index c78b64cbf..000000000 Binary files a/image/card/zhaohunfan.png and /dev/null differ diff --git a/image/character/boss_baiwuchang.jpg b/image/character/boss_baiwuchang.jpg new file mode 100644 index 000000000..3fe674dfa Binary files /dev/null and b/image/character/boss_baiwuchang.jpg differ diff --git a/image/character/boss_chi.jpg b/image/character/boss_chi.jpg new file mode 100644 index 000000000..8c9f40c0f Binary files /dev/null and b/image/character/boss_chi.jpg differ diff --git a/image/character/boss_heiwuchang.jpg b/image/character/boss_heiwuchang.jpg new file mode 100644 index 000000000..7b1b9d98d Binary files /dev/null and b/image/character/boss_heiwuchang.jpg differ diff --git a/image/character/boss_liang.jpg b/image/character/boss_liang.jpg new file mode 100644 index 000000000..6512448f5 Binary files /dev/null and b/image/character/boss_liang.jpg differ diff --git a/image/character/boss_luocha.jpg b/image/character/boss_luocha.jpg new file mode 100644 index 000000000..7b35a9c15 Binary files /dev/null and b/image/character/boss_luocha.jpg differ diff --git a/image/character/boss_mamian.jpg b/image/character/boss_mamian.jpg new file mode 100644 index 000000000..13a333071 Binary files /dev/null and b/image/character/boss_mamian.jpg differ diff --git a/image/character/boss_mo.jpg b/image/character/boss_mo.jpg new file mode 100644 index 000000000..192903e5a Binary files /dev/null and b/image/character/boss_mo.jpg differ diff --git a/image/character/boss_niutou.jpg b/image/character/boss_niutou.jpg new file mode 100644 index 000000000..52d6c2786 Binary files /dev/null and b/image/character/boss_niutou.jpg differ diff --git a/image/character/boss_wang.jpg b/image/character/boss_wang.jpg new file mode 100644 index 000000000..6b21c7803 Binary files /dev/null and b/image/character/boss_wang.jpg differ diff --git a/image/character/boss_yecha.jpg b/image/character/boss_yecha.jpg new file mode 100644 index 000000000..19efe0c85 Binary files /dev/null and b/image/character/boss_yecha.jpg differ diff --git a/image/character/boss_zhuoguiquxie.jpg b/image/character/boss_zhuoguiquxie.jpg new file mode 100644 index 000000000..52d6c2786 Binary files /dev/null and b/image/character/boss_zhuoguiquxie.jpg differ diff --git a/image/character/leader_caocao.jpg b/image/character/leader_caocao.jpg index 7f321b38a..f466cf1e7 100644 Binary files a/image/character/leader_caocao.jpg and b/image/character/leader_caocao.jpg differ diff --git a/image/character/luocha.jpg b/image/character/luocha.jpg deleted file mode 100644 index f030600a5..000000000 Binary files a/image/character/luocha.jpg and /dev/null differ diff --git a/image/character/stone_aihaozhihun.jpg b/image/character/stone_aihaozhihun.jpg new file mode 100755 index 000000000..7127d4ede Binary files /dev/null and b/image/character/stone_aihaozhihun.jpg differ diff --git a/image/character/stone_aomishouwei.jpg b/image/character/stone_aomishouwei.jpg new file mode 100755 index 000000000..d2f6afa04 Binary files /dev/null and b/image/character/stone_aomishouwei.jpg differ diff --git a/image/character/stone_banxian.jpg b/image/character/stone_banxian.jpg deleted file mode 100644 index 6ac8ab649..000000000 Binary files a/image/character/stone_banxian.jpg and /dev/null differ diff --git a/image/character/stone_baohuzhishu.jpg b/image/character/stone_baohuzhishu.jpg new file mode 100644 index 000000000..25ef68aa6 Binary files /dev/null and b/image/character/stone_baohuzhishu.jpg differ diff --git a/image/character/stone_baoqishi.jpg b/image/character/stone_baoqishi.jpg new file mode 100644 index 000000000..4a438fd46 Binary files /dev/null and b/image/character/stone_baoqishi.jpg differ diff --git a/image/character/stone_beijunmushi.jpg b/image/character/stone_beijunmushi.jpg new file mode 100755 index 000000000..404ef75f8 Binary files /dev/null and b/image/character/stone_beijunmushi.jpg differ diff --git a/image/character/stone_caoyuanshi.jpg b/image/character/stone_caoyuanshi.jpg new file mode 100644 index 000000000..0bd510e8d Binary files /dev/null and b/image/character/stone_caoyuanshi.jpg differ diff --git a/image/character/stone_chidunshinv.jpg b/image/character/stone_chidunshinv.jpg new file mode 100755 index 000000000..fa8341f99 Binary files /dev/null and b/image/character/stone_chidunshinv.jpg differ diff --git a/image/character/stone_chidunweishi.jpg b/image/character/stone_chidunweishi.jpg new file mode 100644 index 000000000..c8902f694 Binary files /dev/null and b/image/character/stone_chidunweishi.jpg differ diff --git a/image/character/stone_chilundashi.jpg b/image/character/stone_chilundashi.jpg new file mode 100644 index 000000000..4e98ade7e Binary files /dev/null and b/image/character/stone_chilundashi.jpg differ diff --git a/image/character/stone_cike.jpg b/image/character/stone_cike.jpg new file mode 100644 index 000000000..a1cc01c87 Binary files /dev/null and b/image/character/stone_cike.jpg differ diff --git a/image/character/stone_conglinshouwei.jpg b/image/character/stone_conglinshouwei.jpg new file mode 100644 index 000000000..b880971ca Binary files /dev/null and b/image/character/stone_conglinshouwei.jpg differ diff --git a/image/character/stone_daogu.jpg b/image/character/stone_daogu.jpg deleted file mode 100644 index aeb16bff7..000000000 Binary files a/image/character/stone_daogu.jpg and /dev/null differ diff --git a/image/character/stone_daomufeizei.jpg b/image/character/stone_daomufeizei.jpg new file mode 100644 index 000000000..954ed4581 Binary files /dev/null and b/image/character/stone_daomufeizei.jpg differ diff --git a/image/character/stone_daoshi.jpg b/image/character/stone_daoshi.jpg deleted file mode 100644 index 54ef8ae90..000000000 Binary files a/image/character/stone_daoshi.jpg and /dev/null differ diff --git a/image/character/stone_dijieshicong.jpg b/image/character/stone_dijieshicong.jpg new file mode 100755 index 000000000..bdd65f517 Binary files /dev/null and b/image/character/stone_dijieshicong.jpg differ diff --git a/image/character/stone_diyuhuo.jpg b/image/character/stone_diyuhuo.jpg new file mode 100644 index 000000000..1f50fd059 Binary files /dev/null and b/image/character/stone_diyuhuo.jpg differ diff --git a/image/character/stone_fachao.jpg b/image/character/stone_fachao.jpg new file mode 100644 index 000000000..5bfbacd35 Binary files /dev/null and b/image/character/stone_fachao.jpg differ diff --git a/image/character/stone_falifulong.jpg b/image/character/stone_falifulong.jpg new file mode 100644 index 000000000..c71f0fce6 Binary files /dev/null and b/image/character/stone_falifulong.jpg differ diff --git a/image/character/stone_famingjia.jpg b/image/character/stone_famingjia.jpg new file mode 100755 index 000000000..cde2f35d3 Binary files /dev/null and b/image/character/stone_famingjia.jpg differ diff --git a/image/character/stone_fatiaozhuru.jpg b/image/character/stone_fatiaozhuru.jpg new file mode 100755 index 000000000..5d58e4cf1 Binary files /dev/null and b/image/character/stone_fatiaozhuru.jpg differ diff --git a/image/character/stone_feipin.jpg b/image/character/stone_feipin.jpg deleted file mode 100644 index 33ca71dc1..000000000 Binary files a/image/character/stone_feipin.jpg and /dev/null differ diff --git a/image/character/stone_fennuxiaoji.jpg b/image/character/stone_fennuxiaoji.jpg new file mode 100755 index 000000000..2c3003e50 Binary files /dev/null and b/image/character/stone_fennuxiaoji.jpg differ diff --git a/image/character/stone_genv.jpg b/image/character/stone_genv.jpg deleted file mode 100644 index bd399962c..000000000 Binary files a/image/character/stone_genv.jpg and /dev/null differ diff --git a/image/character/stone_gongzhu.jpg b/image/character/stone_gongzhu.jpg deleted file mode 100644 index 30f6b7257..000000000 Binary files a/image/character/stone_gongzhu.jpg and /dev/null differ diff --git a/image/character/stone_guangyaozhizi.jpg b/image/character/stone_guangyaozhizi.jpg new file mode 100755 index 000000000..05cb57f3d Binary files /dev/null and b/image/character/stone_guangyaozhizi.jpg differ diff --git a/image/character/stone_guanliyuan.jpg b/image/character/stone_guanliyuan.jpg new file mode 100644 index 000000000..0ba3cbc1b Binary files /dev/null and b/image/character/stone_guanliyuan.jpg differ diff --git a/image/character/stone_haidao.jpg b/image/character/stone_haidao.jpg new file mode 100644 index 000000000..e8ef0e104 Binary files /dev/null and b/image/character/stone_haidao.jpg differ diff --git a/image/character/stone_haidaotoumu.jpg b/image/character/stone_haidaotoumu.jpg new file mode 100755 index 000000000..d64413fa8 Binary files /dev/null and b/image/character/stone_haidaotoumu.jpg differ diff --git a/image/character/stone_hanguangzhizhe.jpg b/image/character/stone_hanguangzhizhe.jpg new file mode 100755 index 000000000..381d7d78a Binary files /dev/null and b/image/character/stone_hanguangzhizhe.jpg differ diff --git a/image/character/stone_heianjiaotu.jpg b/image/character/stone_heianjiaotu.jpg new file mode 100755 index 000000000..5d2086aff Binary files /dev/null and b/image/character/stone_heianjiaotu.jpg differ diff --git a/image/character/stone_heitieairen.jpg b/image/character/stone_heitieairen.jpg new file mode 100755 index 000000000..5530a6cce Binary files /dev/null and b/image/character/stone_heitieairen.jpg differ diff --git a/image/character/stone_huanghou.jpg b/image/character/stone_huanghou.jpg deleted file mode 100644 index 56cf3f87b..000000000 Binary files a/image/character/stone_huanghou.jpg and /dev/null differ diff --git a/image/character/stone_hudunren.jpg b/image/character/stone_hudunren.jpg new file mode 100644 index 000000000..352b59c2b Binary files /dev/null and b/image/character/stone_hudunren.jpg differ diff --git a/image/character/stone_huofu.jpg b/image/character/stone_huofu.jpg new file mode 100644 index 000000000..17ee7fe57 Binary files /dev/null and b/image/character/stone_huofu.jpg differ diff --git a/image/character/stone_huoqiangshou.jpg b/image/character/stone_huoqiangshou.jpg new file mode 100755 index 000000000..7cc1f7c34 Binary files /dev/null and b/image/character/stone_huoqiangshou.jpg differ diff --git a/image/character/stone_huoshe.jpg b/image/character/stone_huoshe.jpg new file mode 100644 index 000000000..d53b84e13 Binary files /dev/null and b/image/character/stone_huoshe.jpg differ diff --git a/image/character/stone_huoyao.jpg b/image/character/stone_huoyao.jpg new file mode 100755 index 000000000..1eb0f8b3d Binary files /dev/null and b/image/character/stone_huoyao.jpg differ diff --git a/image/character/stone_huoyuansu.jpg b/image/character/stone_huoyuansu.jpg new file mode 100644 index 000000000..081954aa8 Binary files /dev/null and b/image/character/stone_huoyuansu.jpg differ diff --git a/image/character/stone_jiangong.jpg b/image/character/stone_jiangong.jpg new file mode 100644 index 000000000..fcdd7bcac Binary files /dev/null and b/image/character/stone_jiangong.jpg differ diff --git a/image/character/stone_jiewangzhu.jpg b/image/character/stone_jiewangzhu.jpg new file mode 100644 index 000000000..07b0411f7 Binary files /dev/null and b/image/character/stone_jiewangzhu.jpg differ diff --git a/image/character/stone_junxuguan.jpg b/image/character/stone_junxuguan.jpg new file mode 100755 index 000000000..4723e6b6c Binary files /dev/null and b/image/character/stone_junxuguan.jpg differ diff --git a/image/character/stone_juxingchanchu.jpg b/image/character/stone_juxingchanchu.jpg new file mode 100644 index 000000000..1384b689b Binary files /dev/null and b/image/character/stone_juxingchanchu.jpg differ diff --git a/image/character/stone_kongjuzhanma.jpg b/image/character/stone_kongjuzhanma.jpg new file mode 100755 index 000000000..25a635a1b Binary files /dev/null and b/image/character/stone_kongjuzhanma.jpg differ diff --git a/image/character/stone_kuangyedoushi.jpg b/image/character/stone_kuangyedoushi.jpg new file mode 100644 index 000000000..2b31b78cb Binary files /dev/null and b/image/character/stone_kuangyedoushi.jpg differ diff --git a/image/character/stone_kuangzhanshi.jpg b/image/character/stone_kuangzhanshi.jpg new file mode 100644 index 000000000..3d829b025 Binary files /dev/null and b/image/character/stone_kuangzhanshi.jpg differ diff --git a/image/character/stone_kutongsiseng.jpg b/image/character/stone_kutongsiseng.jpg new file mode 100644 index 000000000..d3fd55b7c Binary files /dev/null and b/image/character/stone_kutongsiseng.jpg differ diff --git a/image/character/stone_langren.jpg b/image/character/stone_langren.jpg new file mode 100755 index 000000000..f8ba182cb Binary files /dev/null and b/image/character/stone_langren.jpg differ diff --git a/image/character/stone_lansaizhanshi.jpg b/image/character/stone_lansaizhanshi.jpg new file mode 100644 index 000000000..cd28e2790 Binary files /dev/null and b/image/character/stone_lansaizhanshi.jpg differ diff --git a/image/character/stone_leiouke.jpg b/image/character/stone_leiouke.jpg new file mode 100644 index 000000000..d50392822 Binary files /dev/null and b/image/character/stone_leiouke.jpg differ diff --git a/image/character/stone_liebao.jpg b/image/character/stone_liebao.jpg new file mode 100644 index 000000000..17a46512a Binary files /dev/null and b/image/character/stone_liebao.jpg differ diff --git a/image/character/stone_liegou.jpg b/image/character/stone_liegou.jpg new file mode 100755 index 000000000..d929778cc Binary files /dev/null and b/image/character/stone_liegou.jpg differ diff --git a/image/character/stone_liewangshouwei.jpg b/image/character/stone_liewangshouwei.jpg new file mode 100644 index 000000000..9fef25f9b Binary files /dev/null and b/image/character/stone_liewangshouwei.jpg differ diff --git a/image/character/stone_lieyanxiaogui.jpg b/image/character/stone_lieyanxiaogui.jpg new file mode 100755 index 000000000..54cfffe78 Binary files /dev/null and b/image/character/stone_lieyanxiaogui.jpg differ diff --git a/image/character/stone_linghunjisi.jpg b/image/character/stone_linghunjisi.jpg new file mode 100755 index 000000000..df7f4d834 Binary files /dev/null and b/image/character/stone_linghunjisi.jpg differ diff --git a/image/character/stone_longmianjiaoguan.jpg b/image/character/stone_longmianjiaoguan.jpg new file mode 100644 index 000000000..713080218 Binary files /dev/null and b/image/character/stone_longmianjiaoguan.jpg differ diff --git a/image/character/stone_longwangpeiou.jpg b/image/character/stone_longwangpeiou.jpg new file mode 100755 index 000000000..3af76c4a8 Binary files /dev/null and b/image/character/stone_longwangpeiou.jpg differ diff --git a/image/character/stone_mafengzhuru.jpg b/image/character/stone_mafengzhuru.jpg new file mode 100755 index 000000000..c503954bf Binary files /dev/null and b/image/character/stone_mafengzhuru.jpg differ diff --git a/image/character/stone_mianyang.jpg b/image/character/stone_mianyang.jpg new file mode 100755 index 000000000..0ce511e05 Binary files /dev/null and b/image/character/stone_mianyang.jpg differ diff --git a/image/character/stone_mingguangjisi.jpg b/image/character/stone_mingguangjisi.jpg new file mode 100755 index 000000000..c23f8af25 Binary files /dev/null and b/image/character/stone_mingguangjisi.jpg differ diff --git a/image/character/stone_misha.jpg b/image/character/stone_misha.jpg new file mode 100644 index 000000000..38266b2fc Binary files /dev/null and b/image/character/stone_misha.jpg differ diff --git a/image/character/stone_morishouwei.jpg b/image/character/stone_morishouwei.jpg new file mode 100644 index 000000000..18be2873c Binary files /dev/null and b/image/character/stone_morishouwei.jpg differ diff --git a/image/character/stone_nianqingjisi.jpg b/image/character/stone_nianqingjisi.jpg new file mode 100755 index 000000000..81c2a8d84 Binary files /dev/null and b/image/character/stone_nianqingjisi.jpg differ diff --git a/image/character/stone_qiezei.jpg b/image/character/stone_qiezei.jpg new file mode 100755 index 000000000..8925f6b02 Binary files /dev/null and b/image/character/stone_qiezei.jpg differ diff --git a/image/character/stone_qingwa.jpg b/image/character/stone_qingwa.jpg new file mode 100755 index 000000000..2a38115f3 Binary files /dev/null and b/image/character/stone_qingwa.jpg differ diff --git a/image/character/stone_qunbing.jpg b/image/character/stone_qunbing.jpg deleted file mode 100644 index b27111e17..000000000 Binary files a/image/character/stone_qunbing.jpg and /dev/null differ diff --git a/image/character/stone_qunguan.jpg b/image/character/stone_qunguan.jpg deleted file mode 100644 index dd312f678..000000000 Binary files a/image/character/stone_qunguan.jpg and /dev/null differ diff --git a/image/character/stone_qunjiang.jpg b/image/character/stone_qunjiang.jpg deleted file mode 100644 index 1447a8330..000000000 Binary files a/image/character/stone_qunjiang.jpg and /dev/null differ diff --git a/image/character/stone_sanxian.jpg b/image/character/stone_sanxian.jpg deleted file mode 100644 index b69e78b57..000000000 Binary files a/image/character/stone_sanxian.jpg and /dev/null differ diff --git a/image/character/stone_shengguanghuwei.jpg b/image/character/stone_shengguanghuwei.jpg new file mode 100755 index 000000000..dc7268b9a Binary files /dev/null and b/image/character/stone_shengguanghuwei.jpg differ diff --git a/image/character/stone_shifazhe.jpg b/image/character/stone_shifazhe.jpg new file mode 100755 index 000000000..ed6211db1 Binary files /dev/null and b/image/character/stone_shifazhe.jpg differ diff --git a/image/character/stone_shishigui.jpg b/image/character/stone_shishigui.jpg new file mode 100755 index 000000000..27ff2067a Binary files /dev/null and b/image/character/stone_shishigui.jpg differ diff --git a/image/character/stone_shubing.jpg b/image/character/stone_shubing.jpg deleted file mode 100644 index 58261aa29..000000000 Binary files a/image/character/stone_shubing.jpg and /dev/null differ diff --git a/image/character/stone_shuguan.jpg b/image/character/stone_shuguan.jpg deleted file mode 100644 index 66ce81797..000000000 Binary files a/image/character/stone_shuguan.jpg and /dev/null differ diff --git a/image/character/stone_shuiyuansu.jpg b/image/character/stone_shuiyuansu.jpg new file mode 100644 index 000000000..e639c08f4 Binary files /dev/null and b/image/character/stone_shuiyuansu.jpg differ diff --git a/image/character/stone_shujiang.jpg b/image/character/stone_shujiang.jpg deleted file mode 100644 index 4f8ec0a72..000000000 Binary files a/image/character/stone_shujiang.jpg and /dev/null differ diff --git a/image/character/stone_shumiao.jpg b/image/character/stone_shumiao.jpg new file mode 100644 index 000000000..0fab5edd6 Binary files /dev/null and b/image/character/stone_shumiao.jpg differ diff --git a/image/character/stone_shuren.jpg b/image/character/stone_shuren.jpg new file mode 100644 index 000000000..4ed14548c Binary files /dev/null and b/image/character/stone_shuren.jpg differ diff --git a/image/character/stone_tegong.jpg b/image/character/stone_tegong.jpg new file mode 100644 index 000000000..cf4976cff Binary files /dev/null and b/image/character/stone_tegong.jpg differ diff --git a/image/character/stone_tutengyongshi.jpg b/image/character/stone_tutengyongshi.jpg new file mode 100644 index 000000000..f2d55f4be Binary files /dev/null and b/image/character/stone_tutengyongshi.jpg differ diff --git a/image/character/stone_tuyuansu.jpg b/image/character/stone_tuyuansu.jpg new file mode 100644 index 000000000..71b6eee3f Binary files /dev/null and b/image/character/stone_tuyuansu.jpg differ diff --git a/image/character/stone_weibing.jpg b/image/character/stone_weibing.jpg deleted file mode 100644 index 6be1f55da..000000000 Binary files a/image/character/stone_weibing.jpg and /dev/null differ diff --git a/image/character/stone_weiguan.jpg b/image/character/stone_weiguan.jpg deleted file mode 100644 index 0a6b0819c..000000000 Binary files a/image/character/stone_weiguan.jpg and /dev/null differ diff --git a/image/character/stone_weijiang.jpg b/image/character/stone_weijiang.jpg deleted file mode 100644 index b1a9367a0..000000000 Binary files a/image/character/stone_weijiang.jpg and /dev/null differ diff --git a/image/character/stone_wubing.jpg b/image/character/stone_wubing.jpg deleted file mode 100644 index 985d63afb..000000000 Binary files a/image/character/stone_wubing.jpg and /dev/null differ diff --git a/image/character/stone_wuguan.jpg b/image/character/stone_wuguan.jpg deleted file mode 100644 index 18502deb7..000000000 Binary files a/image/character/stone_wuguan.jpg and /dev/null differ diff --git a/image/character/stone_wujiang.jpg b/image/character/stone_wujiang.jpg deleted file mode 100644 index 0dac53f16..000000000 Binary files a/image/character/stone_wujiang.jpg and /dev/null differ diff --git a/image/character/stone_wujiyuansu.jpg b/image/character/stone_wujiyuansu.jpg new file mode 100644 index 000000000..cbca40f6d Binary files /dev/null and b/image/character/stone_wujiyuansu.jpg differ diff --git a/image/character/stone_wunv.jpg b/image/character/stone_wunv.jpg deleted file mode 100644 index 65ddbf6eb..000000000 Binary files a/image/character/stone_wunv.jpg and /dev/null differ diff --git a/image/character/stone_wushixuetu.jpg b/image/character/stone_wushixuetu.jpg new file mode 100644 index 000000000..f1866ca14 Binary files /dev/null and b/image/character/stone_wushixuetu.jpg differ diff --git a/image/character/stone_wuyi.jpg b/image/character/stone_wuyi.jpg new file mode 100755 index 000000000..9bc99544d Binary files /dev/null and b/image/character/stone_wuyi.jpg differ diff --git a/image/character/stone_xiaogui.jpg b/image/character/stone_xiaogui.jpg new file mode 100755 index 000000000..78561ff66 Binary files /dev/null and b/image/character/stone_xiaogui.jpg differ diff --git a/image/character/stone_xiaoguishouling.jpg b/image/character/stone_xiaoguishouling.jpg new file mode 100755 index 000000000..c954bee30 Binary files /dev/null and b/image/character/stone_xiaoguishouling.jpg differ diff --git a/image/character/stone_xuejuren.jpg b/image/character/stone_xuejuren.jpg new file mode 100644 index 000000000..b35cbd863 Binary files /dev/null and b/image/character/stone_xuejuren.jpg differ diff --git a/image/character/stone_xukongxingzhe.jpg b/image/character/stone_xukongxingzhe.jpg new file mode 100644 index 000000000..0f53e04cd Binary files /dev/null and b/image/character/stone_xukongxingzhe.jpg differ diff --git a/image/character/stone_xunshoushi.jpg b/image/character/stone_xunshoushi.jpg new file mode 100644 index 000000000..337174632 Binary files /dev/null and b/image/character/stone_xunshoushi.jpg differ diff --git a/image/character/stone_yanjingshe.jpg b/image/character/stone_yanjingshe.jpg new file mode 100755 index 000000000..061ff6920 Binary files /dev/null and b/image/character/stone_yanjingshe.jpg differ diff --git a/image/character/stone_yaosaishouwei.jpg b/image/character/stone_yaosaishouwei.jpg new file mode 100755 index 000000000..c6e679c57 Binary files /dev/null and b/image/character/stone_yaosaishouwei.jpg differ diff --git a/image/character/stone_yiji.jpg b/image/character/stone_yiji.jpg deleted file mode 100644 index 912fcb789..000000000 Binary files a/image/character/stone_yiji.jpg and /dev/null differ diff --git a/image/character/stone_yingxiongzhihun.jpg b/image/character/stone_yingxiongzhihun.jpg new file mode 100644 index 000000000..a16cde5ed Binary files /dev/null and b/image/character/stone_yingxiongzhihun.jpg differ diff --git a/image/character/stone_yinshi.jpg b/image/character/stone_yinshi.jpg deleted file mode 100644 index 74b8e3129..000000000 Binary files a/image/character/stone_yinshi.jpg and /dev/null differ diff --git a/image/character/stone_yisheng.jpg b/image/character/stone_yisheng.jpg deleted file mode 100644 index 561d14d05..000000000 Binary files a/image/character/stone_yisheng.jpg and /dev/null differ diff --git a/image/character/stone_youlinglang.jpg b/image/character/stone_youlinglang.jpg new file mode 100644 index 000000000..08e91a3ae Binary files /dev/null and b/image/character/stone_youlinglang.jpg differ diff --git a/image/character/stone_yuanguanying.jpg b/image/character/stone_yuanguanying.jpg new file mode 100644 index 000000000..57db652aa Binary files /dev/null and b/image/character/stone_yuanguanying.jpg differ diff --git a/image/character/stone_yuanhou.jpg b/image/character/stone_yuanhou.jpg new file mode 100644 index 000000000..0e1a6ac91 Binary files /dev/null and b/image/character/stone_yuanhou.jpg differ diff --git a/image/character/stone_yurenqishi.jpg b/image/character/stone_yurenqishi.jpg new file mode 100755 index 000000000..891ceef95 Binary files /dev/null and b/image/character/stone_yurenqishi.jpg differ diff --git a/image/character/stone_zhihuiguan.jpg b/image/character/stone_zhihuiguan.jpg new file mode 100755 index 000000000..fcd6cc248 Binary files /dev/null and b/image/character/stone_zhihuiguan.jpg differ diff --git a/image/character/stone_zhiyuzhe.jpg b/image/character/stone_zhiyuzhe.jpg new file mode 100644 index 000000000..7ca72d6f0 Binary files /dev/null and b/image/character/stone_zhiyuzhe.jpg differ diff --git a/image/character/stone_zhongshi.jpg b/image/character/stone_zhongshi.jpg new file mode 100755 index 000000000..d0f419dae Binary files /dev/null and b/image/character/stone_zhongshi.jpg differ diff --git a/image/character/stone_zhucangzhe.jpg b/image/character/stone_zhucangzhe.jpg new file mode 100755 index 000000000..029da9b88 Binary files /dev/null and b/image/character/stone_zhucangzhe.jpg differ diff --git a/image/character/stone_zhujiashi.jpg b/image/character/stone_zhujiashi.jpg new file mode 100644 index 000000000..412b3959f Binary files /dev/null and b/image/character/stone_zhujiashi.jpg differ diff --git a/image/character/stone_zongxiong.jpg b/image/character/stone_zongxiong.jpg new file mode 100644 index 000000000..e58727a7e Binary files /dev/null and b/image/character/stone_zongxiong.jpg differ diff --git a/image/character/yecha.jpg b/image/character/yecha.jpg deleted file mode 100644 index ca401703d..000000000 Binary files a/image/character/yecha.jpg and /dev/null differ diff --git a/layout/default/layout.css b/layout/default/layout.css index d90b6f81a..e9f23b408 100755 --- a/layout/default/layout.css +++ b/layout/default/layout.css @@ -137,7 +137,7 @@ table{table-layout: fixed;} #arena[data-font_size='20']{ font-size:20px; }*/ -#arena{width:90%;height: 90%;top: calc(5% + 10px);left: 5%;z-index: 0} +#arena{width:90%;height: 90%;top: calc(5% + 10px);left: 5%;} #arena.right:not(.noleft){left:240px;opacity: 0.6;} #arena.left:not(.noleft){left:calc(10% - 240px);opacity: 0.6;} #arena.top{top:-100%;} @@ -299,6 +299,7 @@ body>.background{z-index:-5} filter:blur(6px) !important; -webkit-filter:blur(6px) !important; } +.zoominanim{-webkit-animation:zoomin 0.5s;} .zoomin{transform: scale(1.05) !important;} .zoomout{transform: scale(0.95) !important;} .zoomin2{transform: scale(2) !important;} @@ -514,6 +515,7 @@ margin-bottom: 5px; letter-spacing:3px; } .button.nodisplay{display: none;} +.dialog .content>.nodisplay{display: none;} .button.character>.intro{top:71px;left:0;} .button.character>.identity{top:-6px;left:72px;} /*--------确认--------*/ diff --git a/layout/mode/boss.css b/layout/mode/boss.css index e10dba444..6ae3f9793 100755 --- a/layout/mode/boss.css +++ b/layout/mode/boss.css @@ -75,6 +75,7 @@ top:auto; bottom:65px; height:calc(100% - 383px); + /*min-height: 207px;*/ background: rgba(0,0,0,0.2); box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px; border-radius:8px; diff --git a/manifest.json b/manifest.json index a0d283474..ac4db81fb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "noname", - "xwalk_version": "1.7.4", + "xwalk_version": "1.7.5", "start_url": "index.html", "icons": [ { diff --git a/mode/boss.js b/mode/boss.js index ca83b8c06..5391e6f7f 100755 --- a/mode/boss.js +++ b/mode/boss.js @@ -6,6 +6,9 @@ mode.boss={ if(this!=game.boss){ this.storage.boss_chongzheng=0; } + if(game.bossinfo.checkResult&&game.bossinfo.checkResult()===false){ + return; + } if(this==game.boss||game.players.length==1){ game.checkResult(); } @@ -14,6 +17,32 @@ mode.boss={ }, game:{ reserveDead:true, + changeBoss:function(name){ + if(game.additionaldead){ + game.additionaldead.push(game.boss); + } + else{ + game.additionaldead=[game.boss]; + } + game.boss.delete(); + game.dead.remove(game.boss); + var boss=ui.create.player().init(name); + game.addVideo('bossSwap',game.boss,boss.name); + if(game.me==game.boss){ + boss.dataset.position=0; + game.swapControl(boss); + } + else{ + boss.dataset.position=7; + } + game.players.push(boss.animate('zoominanim')); + game.arrangePlayers(); + game.boss=boss; + ui.arena.appendChild(boss); + boss.directgain(get.cards(4)); + boss.setIdentity('zhu'); + boss.identity='zhu'; + }, checkResult:function(){ if(game.boss==game.me){ game.over(game.boss.isAlive()); @@ -360,6 +389,9 @@ mode.boss={ } } else{ + if(player.identity=='zhu'&&game.boss!=player){ + player=game.boss; + } player.phase(); } "step 1" @@ -441,7 +473,7 @@ mode.boss={ dialog.classList.add('fixed'); ui.window.appendChild(dialog); dialog.classList.add('bosscharacter'); - dialog.add('0/3'); + // dialog.add('0/3'); dialog.add([list.slice(0,20),'character']); dialog.noopen=true; @@ -449,11 +481,11 @@ mode.boss={ next._triggered=null; next.custom.replace.target=event.customreplacetarget; next.selectButton=[3,3]; - next.custom.add.button=function(){ - if(ui.cheat2&&ui.cheat2.backup) return; - _status.event.dialog.content.childNodes[1].innerHTML= - ui.selected.buttons.length+'/3'; - }; + // next.custom.add.button=function(){ + // if(ui.cheat2&&ui.cheat2.backup) return; + // _status.event.dialog.content.childNodes[1].innerHTML= + // ui.selected.buttons.length+'/3'; + // }; event.changeDialog=function(){ if(ui.cheat2&&ui.cheat2.dialog==_status.event.dialog){ return; @@ -467,7 +499,7 @@ mode.boss={ ui.window.appendChild(_status.event.dialog); _status.event.dialog.classList.add('bosscharacter'); _status.event.dialog.classList.add('fixed'); - _status.event.dialog.add('0/3'); + // _status.event.dialog.add('0/3'); _status.event.dialog.add([list.slice(0,20),'character']); game.uncheck(); game.check(); @@ -573,6 +605,14 @@ mode.boss={ }, }, boss:{ + boss_zhuoguiquxie:{ + chongzheng:99, + checkResult:function(){ + if(game.boss.name!='boss_yecha'&&game.boss.name!='boss_luocha'){ + return false; + } + } + }, boss_zhangjiao:{ // loopType:2, }, @@ -607,7 +647,6 @@ mode.boss={ }, }, skill:{ - _bossswap:{ trigger:{player:['phaseBegin','chooseToUseBegin','chooseToRespondBegin','chooseToDiscardBegin','chooseToCompareBegin', 'chooseButtonBegin','chooseCardBegin','chooseTargetBegin','chooseCardTargetBegin','chooseControlBegin', diff --git a/mode/stone.js b/mode/stone.js index 92a106f5a..9025891b3 100755 --- a/mode/stone.js +++ b/mode/stone.js @@ -1,6 +1,59 @@ 'use strict'; mode.stone={ element:{ + stonecharacter:{ + type:'stonecharacter', + color:'white', + opacity:1, + enable:function(event,player){ + return player.canAddFellow(); + }, + chongzhu:true, + textShadow:'black 0 0 2px', + filterTarget:function(card,player,target){ + return player==target; + }, + selectTarget:-1, + content:function(){ + "step 0" + var name=card.name.slice(0,card.name.indexOf('_stonecharacter')); + var added=false; + var i; + for(i=0;i1){ @@ -347,35 +545,58 @@ mode.stone={ } }, initStone:function(){ - var list=[],list2=[]; + var list=[],list2=[],list3={},list4={}; + for(var i=0;i=30){ @@ -622,6 +875,20 @@ mode.stone={ } } } + var career=cardDialog.editing.content.career; + for(var i=0;i0; }, selectTarget:-1, content:function(){ - "step 0" - var name=card.name.slice(0,card.name.indexOf('_stonecharacter')); - var added=false; - var i; - for(i=0;i0; + }, + fullimage:true, + filterTarget:function(card,player,target){ + return target==player.getEnemy(); + }, + selectTarget:-1, + content:function(){ + var card=target.get('h').randomGet(); + if(card){ + player.gain(game.createCard(card.name,card.suit,card.number,card.nature),'draw'); + } + }, + ai:{ + order:9.5, + value:5, + useful:5, + result:{ + player:1 + } + } + }, + spell_naluzhiguang:{ + type:'stonecard', + stoneact:2, + career:'priest', + enable:true, + fullimage:true, + filterTarget:function(card,player,target){ + if(player.hasFellowSkill('priest_hunwu')){ + return true; + } + return target.hp0; + }, + fullimage:true, + filterTarget:function(card,player,target){ + return target.isMin(); + }, + content:function(){ + target.damage(player.hujia); + }, + ai:{ + order:7.2, + value:5, + useful:5, + result:{ + target:-1.5, + tag:{ + damage:1 + } + } + } + }, + spell_zhansha:{ + type:'stonecard', + stoneact:1, + career:'warrior', + enable:true, + fullimage:true, + filterTarget:function(card,player,target){ + return target.isMin()&&target.hp=4) return 1.5; + if(target.hp>=3&&target.num('h')=2) return true; + } + } + return false; + }, + fullimage:true, + filterTarget:function(card,player,target){ + return target.isMin(); + }, + selectTarget:-1, + content:function(){ + targets.randomRemove(); + targets.sort(lib.sort.seat); + for(var i=0;i1; + }, + content:function(){ + target.loseMaxHp(target.maxHp-1); + }, + ai:{ + order:7, + value:5, + useful:5, + result:{ + target:function(player,target){ + return 1-target.hp; + } + } + } + }, + spell_kuaisusheji:{ + type:'stonecard', + stoneact:2, + career:'hunter', + enable:true, + fullimage:true, + filterTarget:true, + content:function(){ + target.damage(); + player.draw(); + }, + ai:{ + order:7, + value:5, + useful:5, + result:{ + target:-1.5, + }, + tag:{ + damage:1 + } + } + }, + spell_guanmenfanggou:{ + type:'stonecard', + stoneact:2, + career:'hunter', + enable:function(event,player){ + return player.getEnemy().countFellow()>0; + }, + fullimage:true, + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + content:function(){ + 'step 0' + event.num=player.getEnemy().countFellow(); + 'step 1' + if(player.canAddFellow()&&event.num--){ + player.addFellowAuto('stone_liegou'); + event.redo(); + } + }, + ai:{ + order:7, + value:5, + useful:5, result:{ target:1 } } }, - zhaohunfan:{ + spell_zhaohuanchongwu:{ type:'stonecard', - fullskin:true, + stoneact:2, + career:'hunter', + enable:function(event,player){ + return player.canAddFellow(); + }, + fullimage:true, + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + content:function(){ + var list=['stone_misha','stone_leiouke','stone_huofu', + 'stone_caoyuanshi','stone_qingwa','stone_mianyang','stone_jiewangzhu']; + player.addFellowAuto(list.randomGet()); + }, + ai:{ + order:6, + value:5, + useful:5, + result:{ + player:1 + } + } + }, + spell_zidanshangtang:{ + type:'stonecard', + stoneact:1, + career:'hunter', + enable:true, + fullimage:true, + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + content:function(){ + var list=['spell_lierenyinji','spell_guanmenfanggou','spell_duochongsheji','spell_kuaisusheji','spell_zhaohuanchongwu']; + player.gain(game.createCard(list.randomGet()),'draw'); + player.addTempSkill('hunter_zidanshangtang','phaseAfter'); + }, + ai:{ + order:7.5, + value:5, + useful:5, + result:{ + player:1 + } + } + }, + spell_duochongsheji:{ + type:'stonecard', + fullimage:true, + enable:function(event,player){ + for(var i=0;imaxHp){ + maxHp=game.players[i].hp; + } + } + } + if(list.length<2) return 0; + if(list.length==2&&target.hp>=4) return 0; + if(target.hp>maxHp) return 1; + return target.hp; + } + }, + } + }, + spell_xishengqiyue:{ + type:'stonecard', + fullimage:true, + enable:true, + stoneact:0, + career:'warlock', filterTarget:function(card,player,target){ if(!target.isMin()) return false; if(ui.selected.targets.length){ @@ -1210,11 +2094,943 @@ mode.stone={ order:6 } }, - jintiao:{ + spell_zuzhou:{ + type:'stonecard', + enable:true, + stoneact:1, + fullimage:true, + career:'warlock', + filterTarget:function(card,player,target){ + return target.isMin(); + }, + content:function(){ + target.turnOver(); + player.draw(); + }, + ai:{ + order:6, + result:{ + target:function(player,target){ + if(target.isTurnedOver()) return 1; + return -1; + } + } + } + }, + + spell_yexingchengzhang:{ + type:'stonecard', + fullimage:true, + enable:true, + stoneact:0, + career:'druid', + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + content:function(){ + player.actused--; + player.updateActCount(); + player.draw(); + }, + ai:{ + order:9, + value:5, + useful:5, + result:{ + player:1 + }, + } + }, + spell_ziranzhili:{ + type:'stonecard', + fullimage:true, + enable:function(event,player){ + return player.canAddFellow(); + }, + stoneact:4, + career:'druid', + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + content:function(){ + 'step 0' + event.num=3; + 'step 1' + if(player.canAddFellow()&&event.num--){ + player.addFellowAuto('stone_shuren'); + event.redo(); + } + }, + ai:{ + order:6, + value:5, + useful:5, + result:{ + player:1 + }, + } + }, + spell_yemanpaoxiao:{ + type:'stonecard', + fullimage:true, + enable:function(event,player){ + return !player.skills.contains('spell_yemanpaoxiao'); + }, + stoneact:2, + career:'druid', + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + content:function(){ + player.addTempSkill('spell_yemanpaoxiao',{player:'phaseBegin'}); + }, + ai:{ + order:1, + value:5, + useful:5, + result:{ + player:function(player){ + if(player.countFellow()>=2) return 1; + return 0; + } + }, + } + }, + spell_hengsao:{ + type:'stonecard', + fullimage:true, + enable:true, + stoneact:4, + career:'druid', + filterTarget:function(card,player,target){ + return target.side!=player.side; + }, + content:function(){ + 'step 0' + event.list=[]; + for(var i=0;i1||target.num('he')>0); }, @@ -1235,8 +3051,8 @@ mode.stone={ order:5 } }, - liumangxingzhen:{ - fullskin:true, + spell_morizaihuo:{ + fullimage:true, type:'stonecard', enable:true, filterTarget:function(card,player,target){ @@ -1255,7 +3071,7 @@ mode.stone={ 'step 1' player.recover(2) }, - stoneact:6, + stoneact:5, ai:{ order:9, result:{ @@ -1267,8 +3083,8 @@ mode.stone={ } } }, - shengerpingdeng:{ - fullskin:true, + spell_shengerpingdeng:{ + fullimage:true, type:'stonecard', enable:true, stoneact:2, @@ -1290,8 +3106,8 @@ mode.stone={ } } }, - emofengdi:{ - fullskin:true, + spell_jingshenkongzhi:{ + fullimage:true, type:'stonecard', enable:function(event,player){ if(player.isMin()) return false; @@ -1315,9 +3131,9 @@ mode.stone={ } } }, - konghunshi:{ + spell_anyingkuangluan:{ type:'stonecard', - fullskin:true, + fullimage:true, enable:function(event,player){ if(player.isMin()) return false; return player.canAddFellow(); @@ -1330,7 +3146,7 @@ mode.stone={ target.getLeader().removeFellow(target); target.side=player.side; player.addFellow(target); - target.addSkill('konghunshi_die'); + target.addSkill('spell_anyingkuangluan_die'); }, ai:{ order:9, @@ -1341,11 +3157,11 @@ mode.stone={ } } }, - mindieyi:{ - fullskin:true, + spell_binghuan:{ + fullimage:true, type:'stonecard', enable:true, - stoneact:2, + stoneact:1, filterTarget:function(card,player,target){ return target.isMin(); }, @@ -1363,36 +3179,19 @@ mode.stone={ } } }, - miefafu:{ + spell_zhiliaozhichu:{ + fullimage:true, type:'stonecard', enable:true, stoneact:1, - fullskin:true, filterTarget:function(card,player,target){ - return target.isMin(); + return target.isMin()&&target.side==player.side&& + (!target.skills.contains('chaofeng')||target.hp=3) return target.hp; - return 0; + return target.maxHp-target.hp; } } } }, - yesushengxue:{ - fullskin:true, + spell_wangzhezhufu:{ + fullimage:true, type:'stonecard', enable:true, stoneact:4, @@ -1421,6 +3219,7 @@ mode.stone={ target.gainMaxHp(Math.min(2,5-target.maxHp)); } target.recover(2); + target.draw(2); }, ai:{ order:7, @@ -1431,11 +3230,11 @@ mode.stone={ } } }, - sanghunzhao:{ + spell_diyulieyan:{ type:'stonecard', - fullskin:true, + fullimage:true, enable:true, - stoneact:3, + stoneact:2, filterTarget:function(card,player,target){ return target.isMin(); }, @@ -1456,26 +3255,1067 @@ mode.stone={ } } }, - fengraozhijiao:{ + spell_zhiliaoshui:{ type:'stonecard', - fullskin:true, - enable:true, - stoneact:1, + fullimage:true, + enable:function(event,player){ + return player.hp0; + }, + stoneact:5, + selectTarget:-1, + filterTarget:function(card,player,target){ + return target==player.getEnemy(); + }, + content:function(){ + 'step 0' + target.chooseControl('discard_card','失去体力').ai=function(){ + if(target.hp>=2&&(target.num('h','tao')||target.hp>=5)&&target.num('h')>2) return '失去体力'; + return 'discard_card'; + } + 'step 1' + if(result.control=='discard_card'){ + target.discard(target.get('he')); + } + else{ + target.loseHp(2); + } + }, + ai:{ + order:7, + value:5, + useful:5, + result:{ + target:-2 + } + } + }, + spell_xiaoshi:{ + type:'stonecard', + fullimage:true, + enable:true, + stoneact:2, + selectTarget:-1, + filterTarget:function(card,player,target){ + return target==player.getEnemy(); + }, + content:function(){ + 'step 0' + target.gain(target.get('e'),'gain2'); + 'step 1' + var dh=target.num('h')-player.num('h'); + if(dh>0){ + target.discard(target.get('h').randomGets(dh)); + } + }, + ai:{ + order:1, + value:5, + useful:5, + result:{ + target:function(player,target){ + if(target.num('he')>=player.num('h')) return -1; + return 0; + } + } + } + }, }, skill:{ + hunter_jiewang2:{ + trigger:{global:'dieAfter'}, + forced:true, + popup:false, + filter:function(event,player){ + return event.player.skills.contains('hunter_jiewang'); + }, + content:function(){ + var list=[]; + for(var i in lib.card){ + if(lib.card[i].stonehidden) continue; + if(lib.card[i].type=='stonecharacter'){ + list.push(i); + } + } + player.gain(game.createCard(list.randomGet()),'draw'); + player.removeSkill('hunter_jiewang2'); + } + }, + hunter_zidanshangtang:{ + trigger:{player:'useCard'}, + forced:true, + mark:true, + intro:{ + content:'每当你使用一张法术牌,便随机获得一张猎人职业法术牌' + }, + filter:function(event){ + return get.type(event.card)=='stonecard'; + }, + content:function(){ + var list=['spell_lierenyinji','spell_guanmenfanggou','spell_duochongsheji','spell_kuaisusheji','spell_zhaohuanchongwu']; + player.gain(game.createCard(list.randomGet()),'draw'); + } + }, + spell_yemanpaoxiao:{ + mark:true, + intro:{ + content:'友方角色造成的伤害+1' + }, + global:'spell_yemanpaoxiao2' + }, + spell_yemanpaoxiao2:{ + trigger:{source:'damageBegin'}, + forced:true, + filter:function(event,player){ + return player.getLeader().skills.contains('spell_yemanpaoxiao'); + }, + content:function(){ + trigger.num++; + } + }, + stone_zibao:{ + trigger:{player:'phaseAfter'}, + forced:true, + content:function(){ + player.die(); + } + }, + spell_sijidaifa:{ + trigger:{player:'useCard'}, + forced:true, + filter:function(event,player){ + return get.type(event.card)=='stonecard'; + }, + mark:true, + intro:{ + content:'使用下一张法术牌时获得X点行动值,X为该法术的行动值消耗且不超过3' + }, + content:function(){ + var num=lib.card[trigger.card.name].stoneact; + if(num>3) num=3; + player.actused-=num; + player.updateActCount(); + player.removeSkill('spell_sijidaifa'); + } + }, + shaman_qingwa:{ + trigger:{player:'phaseDrawBefore'}, + forced:true, + unique:true, + popup:false, + content:function(){ + trigger.untrigger(); + trigger.finish(); + } + }, + mage_mianyang:{ + mod:{ + cardEnabled:function(card){ + if(card.name=='sha') return false; + } + } + }, + priest_xundao:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + return player.getLeader().num('h',{type:'stonecharacter'})>0; + }, + content:function(){ + player.draw(); + player.addSkill('chaofeng'); + } + }, + priest_guangyao:{ + trigger:{player:'changeHp'}, + forced:true, + unique:true, + filter:function(event){ + return event.num!=0; + }, + content:function(){ + player.draw(Math.abs(trigger.num)); + }, + }, + priest_zhufu:{ + trigger:{player:'dieBegin'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;i=2; + }, + content:function(){ + "step 0" + event.chooser=player.getLeader(); + event.chooser.chooseTarget('偷袭:对一名对方随从角色一点伤害',function(card,playerx,target){ + return player.side!=target.side; + }).ai=function(target){ + return ai.get.damageEffect(target,player,player); + }; + player.line(event.chooser); + "step 1" + if(result.bool){ + event.chooser.line(result.targets[0]); + game.delay(); + result.targets[0].damage(event.chooser); + } + } + }, + rogue_qiancang:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;i0; + }).ai=function(target){ + return target.num('he'); + }; + player.line(event.chooser); + "step 1" + if(result.bool){ + event.chooser.line(result.targets[0]); + game.delay(); + result.targets[0].discard(result.targets[0].get('he')); + } + } + }, + paladin_zhaochao:{ + trigger:{global:'useSkillAfter'}, + forced:true, + filter:function(event,player){ + return event.career&&event.player.side==player.side; + }, + content:function(){ + player.draw(2); + } + }, + paladin_buji:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;i1) return 'discard_card'; + return '造成伤害'; + }; + event.chooser.line(event.target); + game.delay(); + } + else{ + event.finish(); + } + "step 2" + if(result.control=='造成伤害'){ + event.target.damage(); + } + else{ + event.target.discard(event.target.get('h')); + if(event.target.maxHp>1){ + event.target.loseMaxHp(event.target.maxHp-1); + } + } + } + }, + druid_chengzhang:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + content:function(){ + var target=player.getLeader(); + target.actused--; + target.updateActCount(); + }, + group:'druid_chengzhang2' + }, + druid_chengzhang2:{ + trigger:{player:'dieBegin'}, + forced:true, + unique:true, + content:function(){ + player.getLeader().addSkill('druid_chengzhang3'); + } + }, + druid_chengzhang3:{ + trigger:{global:'dieAfter'}, + forced:true, + popup:false, + filter:function(event,player){ + return event.player.skills.contains('druid_chengzhang'); + }, + content:function(){ + if(player.num('h')){ + game.delay(); + player.chooseToDiscard('h',true); + } + player.removeSkill('druid_chengzhang3'); + } + }, + shaman_xueju:{ + trigger:{global:'useCard'}, + forced:true, + filter:function(event,player){ + return get.type(event.card)=='stonecharacter'&&event.player==player.getLeader(); + }, + content:function(){ + player.draw(); + } + }, + shaman_huoxi:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;iplayer.actcount) return false; - return player.num('he')>0; + if(player.getActCount()+2>=player.actcount) return false; + return true; }, usable:1, content:function(){ player.actused+=2; player.updateActCount(); player.gain(player.getDeckCards(2),'draw'); + event.parent.career='warlock'; }, ai:{ - order:2, + order:0.5, result:{ player:1 } @@ -1550,7 +4408,7 @@ mode.stone={ filter:function(event,player){ if(player.career!='hunter') return false; if(player.getActCount()+2>player.actcount) return false; - return player.num('he')>0; + return true; }, usable:1, selectTarget:-1, @@ -1561,6 +4419,7 @@ mode.stone={ player.actused+=2; player.updateActCount(); target.damage(); + event.parent.career='hunter'; }, ai:{ order:2, @@ -1583,7 +4442,7 @@ mode.stone={ player.actused+=2; player.updateActCount(); player.changeHujia(1); - player.draw(); + event.parent.career='warrior'; }, ai:{ order:2, @@ -1628,6 +4487,7 @@ mode.stone={ game.delay(0.5); 'step 2' player.equip(event.equip4); + event.parent.career='rogue'; }, ai:{ order:function(skill,player){ @@ -1656,13 +4516,14 @@ mode.stone={ }, usable:1, filterTarget:function(card,player,target){ - return player.canUse('sha',target,false); + return player.canUse('sha',target,null,false); }, direct:true, content:function(){ player.actused+=2; player.updateActCount(); player.useCard({name:'sha'},targets,'_druid_skill',false).animate=false; + event.parent.career='druid'; }, ai:{ order:function(){ @@ -1685,9 +4546,12 @@ mode.stone={ } }, shaman_zhiliao:{ - trigger:{player:'phaseEnd'}, + trigger:{global:'phaseEnd'}, forced:true, direct:true, + filter:function(event,player){ + return event.player==player.getLeader(); + }, content:function(){ 'step 0' var players=get.players(); @@ -1699,7 +4563,7 @@ mode.stone={ } } if(targets.length){ - player.logSkill('shaman_zhiliao',targets); + player.logSkill('shaman_zhiliao'); } else{ event.finish(); @@ -1709,9 +4573,12 @@ mode.stone={ } }, shaman_fali:{ - trigger:{player:'phaseEnd'}, + trigger:{global:'phaseEnd'}, forced:true, direct:true, + filter:function(event,player){ + return event.player==player.getLeader(); + }, content:function(){ 'step 0' var players=get.players(); @@ -1723,7 +4590,7 @@ mode.stone={ } if(targets.length){ game.asyncDraw(targets); - player.logSkill('shaman_fali',targets); + player.logSkill('shaman_fali'); } else{ event.finish(); @@ -1733,9 +4600,12 @@ mode.stone={ } }, shaman_zhuore:{ - trigger:{player:'phaseEnd'}, + trigger:{global:'phaseEnd'}, forced:true, direct:true, + filter:function(event,player){ + return event.player==player.getLeader(); + }, content:function(){ 'step 0' var players=get.players(); @@ -1767,36 +4637,11 @@ mode.stone={ }, usable:1, content:function(){ - "step 0" player.actused+=2; player.updateActCount(); var name='stone_tuteng'+Math.ceil(Math.random()*4); - var added=false; - var i; - for(i=0;i0; }).ai=function(target){ return target.num('he'); @@ -2093,7 +4904,7 @@ mode.stone={ } } }, - stone_weijiang:{ + stone_huoqiangshou1:{ trigger:{source:'fellow'}, forced:true, unique:true, @@ -2109,7 +4920,7 @@ mode.stone={ content:function(){ "step 0" event.chooser=player.getLeader(); - event.chooser.chooseTarget('魏将:对一名对方随从造成一点伤害',function(card,playerx,target){ + event.chooser.chooseTarget('火枪:对一名对方随从造成一点伤害',function(card,playerx,target){ return player.side!=target.side&&target.isMin(); }).ai=function(target){ return Math.max(1,10-target.hp); @@ -2123,7 +4934,7 @@ mode.stone={ } } }, - stone_wubing:{ + stone_dijieshicong1:{ trigger:{source:'fellow'}, forced:true, unique:true, @@ -2141,22 +4952,22 @@ mode.stone={ } } }, - stone_wuguan:{ + stone_yaosaishouwei1:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ - player.getLeader().addTempSkill('stone_wuguan2','phaseAfter'); + player.getLeader().addTempSkill('stone_yaosaishouwei2','phaseAfter'); } }, - stone_wuguan2:{ + stone_yaosaishouwei2:{ mod:{ maxHandcard:function(player,num){ return num+2; } }, }, - stone_wujiang:{ + stone_famingjia1:{ trigger:{source:'fellow'}, forced:true, unique:true, @@ -2164,23 +4975,23 @@ mode.stone={ player.getLeader().draw(2); } }, - stone_qunbing:{ + stone_chilundashi1:{ trigger:{source:'fellow'}, forced:true, unique:true, content:function(){ - player.addSkill('stone_qunbing2'); + player.addSkill('stone_chilundashi2'); } }, - stone_qunbing2:{ + stone_chilundashi2:{ trigger:{player:'phaseDrawBegin'}, forced:true, content:function(){ trigger.num++; - player.removeSkill('stone_qunbing2'); + player.removeSkill('stone_chilundashi2'); } }, - stone_qunguan:{ + stone_hanguangzhizhe1:{ trigger:{source:'fellow'}, forced:true, unique:true, @@ -2195,7 +5006,7 @@ mode.stone={ game.asyncDraw(targets); } }, - stone_qunjiang:{ + stone_aihaozhihun1:{ trigger:{source:'fellow'}, forced:true, unique:true, @@ -2212,17 +5023,40 @@ mode.stone={ } } }, - stone_huanghou:{ + stone_yanjingshe1:{ trigger:{source:'fellow'}, forced:true, unique:true, filter:function(event,player){ - return player.getEnemy().countFellow()>player.getLeader().countFellow(); + var num=player.getEnemy().countFellow(); + return num>0&&num>=player.getLeader().countFellow(); + }, + content:function(){ + var list=[]; + for(var i=0;i=player.getLeader().countFellow(); }, content:function(){ "step 0" event.chooser=player.getEnemy(); - event.chooser.chooseTarget('皇后:选择己方一名随从令其死亡',function(card,playerx,target){ + event.chooser.chooseTarget('毒噬:选择己方一名随从令其死亡',function(card,playerx,target){ return target.isMin()&&target.side!=player.side; },true).ai=function(target){ return -target.hp; @@ -2236,27 +5070,56 @@ mode.stone={ } } }, - stone_yiji:{ + stone_mafengzhuru1:{ trigger:{player:'dieBegin'}, forced:true, filter:function(event){ - return event.source!=undefined&&event.source.isMin(); + return event.source&&event.source.isMin(); }, content:function(){ - trigger.source.addSkill('stone_yiji2'); + trigger.source.addSkill('stone_mafengzhuru2'); }, }, - stone_yiji2:{ + stone_mafengzhuru2:{ trigger:{global:'dieAfter'}, forced:true, popup:false, unique:true, filter:function(event,player){ - return player.skills.contains('stone_yiji2'); + return player.skills.contains('stone_mafengzhuru2'); }, content:function(){ player.loseHp(); - player.removeSkill('stone_yiji2'); + player.removeSkill('stone_mafengzhuru2'); + } + }, + stone_zhufu:{ + trigger:{player:'phaseEnd'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;i