diff --git a/character/hearth.js b/character/hearth.js
index 767576eff..37051635e 100755
--- a/character/hearth.js
+++ b/character/hearth.js
@@ -839,6 +839,7 @@ character.hearth={
if(event.parent.parent.name=='phaseDraw') return false;
if(event.parent.name=='fenlie') return false;
if(player.storage.fenlie>=3) return false;
+ if(!event.cards) return false;
return true;
},
content:function(){
diff --git a/game/game.js b/game/game.js
index 07bdbbadc..bdf9c6d3c 100755
--- a/game/game.js
+++ b/game/game.js
@@ -18,7 +18,11 @@
var lib={
version:'1.8.1',
changeLog:[
- '',
+ 'AI问题修复',
+ '检查更新功能',
+ '游戏内下载/更新素材',
+ 'iOS/Mac/Windows版优化',
+ 'iOS版支持录像、扩展等'
],
configprefix:'noname_0.9_',
assetURL:'',
@@ -299,6 +303,19 @@
'2500':'2.5秒',
}
},
+ video:{
+ name:'保存录像',
+ init:'20',
+ item:{
+ '0':'关闭',
+ '5':'五局',
+ '10':'十局',
+ '20':'二十局',
+ '50':'五十局',
+ '10000':'无限',
+ },
+ unfrequent:true,
+ },
mousewheel:{
name:'滚轮控制手牌',
init:true,
@@ -316,18 +333,10 @@
}
}
},
- video:{
- name:'保存录像',
- init:'20',
- item:{
- '0':'关闭',
- '5':'五局',
- '10':'十局',
- '20':'二十局',
- '50':'五十局',
- '10000':'无限',
- },
- unfrequent:true,
+ auto_check_update:{
+ name:'自动检查更新',
+ init:false,
+ unfrequent:true
},
update:function(config,map){
if(config.touchscreen){
@@ -2609,65 +2618,6 @@
'
使用卡牌
player.useCard(card,
targets)死亡
player.die()复活
player.revive(hp)'+
'游戏操作
- 在命令输入框中输出结果
game.print(str) - 游戏结束
game.over(bool)'+
' - 角色资料
lib.character - 卡牌资料
lib.card
',
- '身份模式':'选项
- 加强主公
反贼人数多于2时主公会额外增加一个技能(每个主公的额外技能固定,非常备主公增加天命)
'+
- '明忠
- 本模式需要8名玩家进行游戏,使用的身份牌为:1主公、2忠臣、4反贼和1内奸。游戏开始时,每名玩家随机获得一个身份,由系统随机选择一名忠臣身份的玩家亮出身份(将忠臣牌正面朝上放在面前),其他身份(包括主公)的玩家不亮出身份。
- '+
- '首先由亮出身份的忠臣玩家随机获得六张武将牌,挑选一名角色,并将选好的武将牌展示给其他玩家。之后其余每名玩家随机获得三张武将牌,各自从其中挑选一张同时亮出
- '+
- '亮出身份牌的忠臣增加1点体力上限。角色濒死和死亡的结算及胜利条件与普通身份局相同。',
- '对决模式':'
4v4
- 双方各有一名主公和三名忠臣,杀死对方主公获胜
- '+
- '8号位游戏开始时额外摸一张牌,7、8号位可在游戏开始时置换一次手牌
- '+
- '杀死对方忠臣摸2+x张牌,x为对方(含刚被杀的忠臣)与己方的存活人数之差;主公杀死己方忠臣须弃置所有牌',
- },
- help2:{
- '战棋模式':
- '
对阵模式
- n人对战n人的模式,由单人控制,开始游戏后随机分配位置与出牌顺序
- '+
- '每人在出牌阶段有一次移动的机会,可移动的最大距离为2
- '+
- '任何卡牌或技能无法指定位置相隔8个格以上的角色为目标
- '+
- '杀死对方阵营的角色可摸一张牌,杀死本方阵营无惩罚
- '+
- '若开启主将,双方各选择一名角色成为主将。主将体力上限加一,主将死亡后,若有副将,副将代替之成为主将,否则游戏结束
- '+
- '开启无尽模式后,任何一方有角色死亡都将选择一名新角色重新加入战场,直到点击左上角的结束游戏按钮手动结束游戏。结束游戏时,杀敌更多的一方获胜
- '+
- '开启交替行动时,双方无论存活角色角色多少都将轮流进行行动。在一方所有角色行动完毕进行下一轮行动时,若其人数比另一方少,另一方可指定至多X名角色名摸一张牌,X为人数之差
- '+
- '开启战场机关后,每个回合结束时有一定机率出现一个机关,该机关不参与战斗,并有一个影响周围或全体角色的效果。机关在出现后的5〜10个回合内消失
- '+
- '开启击退效果后,当一名角色对距离两格以内的目标造成伤害后,受伤害角色将沿反方向移动一格
- '+
- '战场上可设置出现随机路障,角色无法移动到路障处。当一名角色的周围四格有至少三格为路障或在战场外时,其可以在回合内清除一个相邻路障
'+
- '君主模式
- 收集武将进行战斗,根据战斗难度及我方出场武将的强度,战斗胜利后将获得数量不等的金钱。没有君主出场时,获得的金钱较多
- '+
- '金钱可以用来招募随机武将,招到已有武将,或遣返不需要的武将时可得到招募令
- '+
- '战斗中有君主出场时可招降敌将,成功率取决于敌将的稀有度、剩余体力值以及手牌数。成功后战斗立即结束且没有金钱奖励。每发动一次招降,无论成功还是失败,都会扣除10招募令
- '+
- '挑战武将会与该武将以及与其强度相近的武将进行战斗,敌方人数与我方出场人数相同,但不少于3。胜利后可通过招募令招募该武将
- '+
- '竞技场:
随机选择9名武将,每次派出1〜3名武将参战。战斗中阵亡的武将不能再次上场。
战斗后武将进入疲劳状态,若立即再次出场则初始体力值-1。
战斗中本方武将行动时可召唤后援,令一名未出场的已方武将加入战斗。后援武将在战斗结束后无论存活与否均不能再次出场
当取得12场胜利或所有武将全部阵亡后结束,并根据胜场数获得随机奖励
'+
- '塔防模式
- 阻上敌人到达最下方的出口,坚持到给定的回合数即获得胜利
- '+
- '每轮可获得10个行动点,用来布置机关、招募武将,或令武将行动。游戏难度将影响不同操作消耗的行动点数。未用完的行动点将减半并累积到下一轮
- '+
- '每一轮在最上方的一个随机位置增加一名敌人,若最上方已有角色,则将其下移一格
- '+
- '战场上最多出现3个相同的机关,每个机关在置入战场3轮后消失。战场上最多招募10名友方角色。
- '+
- '敌方角色到达底部出口时游戏失败,已方角色到达底部出口,将被移出游戏',
- '炉石模式':
- '
构筑
- 点击右上角的卡组管理构建卡组
- 一套卡组共30张牌,由法术和随从牌构成,每个同名卡牌最多带两张'+
- '
- 卡组管理器中,随从右上角的x/y表示登场状态为x牌y血'+
- '
- 游戏开始时,双方摸三张牌并从牌库中获得一张牌,并可选择将手牌置换一次'+
- '
- 每当主将摸X张牌时,若X至少为2,则其中的X-1张牌从牌堆中获得,1张牌从牌库中获得'+
- '
- 每名角色使用一套卡组,卡组用完后会重新补满'+
- '
- 卡组与职业绑定,每个职业有一个专属技能,每回合限用一次,消耗两点行动值
'+
- '职业技能
- 祭司:召唤一个随机图腾'+
- '
- 法师:对一名随从造成一点火焰伤害'+
- '
- 牧师:回复一点体力'+
- '
- 战士:获得一点护甲(不能超过3点)'+
- '
- 术士:牌库中摸两张牌'+
- '
- 潜行者:装备一把武器和一个随机非武器装备'+
- '
- 圣骑士:召唤一名士兵'+
- '
- 猎人:对敌方主将造成一点伤害'+
- '
- 德鲁伊:视为使用一张不计入出杀次数的杀
'+
- '怒气值
- 每当友方随从受到伤害获得3点怒气值,主将受到伤害获得6点怒气值'+
- '
- 每有一个友方随从死亡,获得10点怒气值,主将死亡获得20点怒气值'+
- '
- 回合结束阶段,若己方随从数少于对方会获得10X点怒气值,X为随从数之差'+
- '
- 怒气值达到100时不再增加。回合开始阶段,若怒气值己满,可消耗全部怒气值并召唤一名传说随从
'+
- '战斗
- 游戏流程类似1v1,场上有两名主将进行对抗,主将的体力上限+1'+
- '
- 游戏牌堆移除了乐不思蜀等跳过出牌阶段的卡牌'+
- '
- 主将出牌阶段的出牌数量(行动值)有上限,先手为2,后手为3,装备牌不计入出牌上限
- 游戏每进行一轮,主将的出牌上限+1,超过6时减至3并重新累加'+
- '
- 使用随从牌可召唤一个随从,随从出场时背面朝上。每一方在场的随从数不能超过4
- 随从于摸牌阶段摸牌基数为1,随从的随从牌均视为闪,装备牌均视为杀
- '+
- '随从与其他所有角色相互距离基数为1
- '+
- '主将杀死对方随从后获得一个额外的行动值并摸两张牌,杀死己方随从无惩罚,随从杀死随从无效果'+
- '
- 主将可重铸随从牌,但回合内总的重铸次数不能超过3,随从不能重铸任何牌(包括铁索等默认可以重铸的牌);若重铸的牌为随从牌或法术牌,则摸牌改为从牌库中获得一张法术牌'+
- '
- 嘲讽:若一方阵营中有嘲讽角色,则同阵营的无嘲讽角色不以能成为杀目标'+
- '
- 行动顺序为先主将后随从。主将或随从死亡后立即移出游戏,主将死亡后替补登场,替补登场时摸3+X张牌,X为对方存活的随从数,无替补时游戏结束'
},
setIntro:function(node,func){
if(lib.config.touchscreen){
@@ -2968,12 +2918,6 @@
delete window.music;
delete window.font;
- if(lib.config.all.mode.indexOf('chess')!=-1){
- for(var i in lib.help2){
- lib.help[i]=lib.help2[i];
- }
- }
- delete lib.help2;
if(lib.config.extensions.length){
window.resetExtension=function(){
for(var i=0;i
-
-
无名杀
diff --git a/layout/default/layout.css b/layout/default/layout.css
index f7e5117e3..865f5965d 100755
--- a/layout/default/layout.css
+++ b/layout/default/layout.css
@@ -3,7 +3,9 @@ html{width: 100%;height: 100%;font-size: 16px;cursor: default;overflow: hidden;
-ms-user-select:none;
-moz-user-select:none;
-webkit-user-select:none;
- -webkit-font-smoothing: subpixel-antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);}
+ -webkit-font-smoothing: subpixel-antialiased;
+ -webkit-tap-highlight-color:rgba(0,0,0,0);
+}
body{
width: 100%;height: 100%;padding: 0; margin: 0;
text-rendering:optimizeLegibility;
diff --git a/mode/chess.js b/mode/chess.js
index 2f9d302a3..5d4e13ff5 100755
--- a/mode/chess.js
+++ b/mode/chess.js
@@ -6416,5 +6416,28 @@ mode.chess={
}
},
posmap:{},
- help:{},
+ help:{
+ '战棋模式':
+ '
对阵模式
- n人对战n人的模式,由单人控制,开始游戏后随机分配位置与出牌顺序
- '+
+ '每人在出牌阶段有一次移动的机会,可移动的最大距离为2
- '+
+ '任何卡牌或技能无法指定位置相隔8个格以上的角色为目标
- '+
+ '杀死对方阵营的角色可摸一张牌,杀死本方阵营无惩罚
- '+
+ '若开启主将,双方各选择一名角色成为主将。主将体力上限加一,主将死亡后,若有副将,副将代替之成为主将,否则游戏结束
- '+
+ '开启无尽模式后,任何一方有角色死亡都将选择一名新角色重新加入战场,直到点击左上角的结束游戏按钮手动结束游戏。结束游戏时,杀敌更多的一方获胜
- '+
+ '开启交替行动时,双方无论存活角色角色多少都将轮流进行行动。在一方所有角色行动完毕进行下一轮行动时,若其人数比另一方少,另一方可指定至多X名角色名摸一张牌,X为人数之差
- '+
+ '开启战场机关后,每个回合结束时有一定机率出现一个机关,该机关不参与战斗,并有一个影响周围或全体角色的效果。机关在出现后的5〜10个回合内消失
- '+
+ '开启击退效果后,当一名角色对距离两格以内的目标造成伤害后,受伤害角色将沿反方向移动一格
- '+
+ '战场上可设置出现随机路障,角色无法移动到路障处。当一名角色的周围四格有至少三格为路障或在战场外时,其可以在回合内清除一个相邻路障
'+
+ '君主模式
- 收集武将进行战斗,根据战斗难度及我方出场武将的强度,战斗胜利后将获得数量不等的金钱。没有君主出场时,获得的金钱较多
- '+
+ '金钱可以用来招募随机武将,招到已有武将,或遣返不需要的武将时可得到招募令
- '+
+ '战斗中有君主出场时可招降敌将,成功率取决于敌将的稀有度、剩余体力值以及手牌数。成功后战斗立即结束且没有金钱奖励。每发动一次招降,无论成功还是失败,都会扣除10招募令
- '+
+ '挑战武将会与该武将以及与其强度相近的武将进行战斗,敌方人数与我方出场人数相同,但不少于3。胜利后可通过招募令招募该武将
- '+
+ '竞技场:
随机选择9名武将,每次派出1〜3名武将参战。战斗中阵亡的武将不能再次上场。
战斗后武将进入疲劳状态,若立即再次出场则初始体力值-1。
战斗中本方武将行动时可召唤后援,令一名未出场的已方武将加入战斗。后援武将在战斗结束后无论存活与否均不能再次出场
当取得12场胜利或所有武将全部阵亡后结束,并根据胜场数获得随机奖励 - '+
+ '修改金钱:
game.changeMoney
修改招募令:
game.changeDust
'+
+ '塔防模式
- 阻上敌人到达最下方的出口,坚持到给定的回合数即获得胜利
- '+
+ '每轮可获得10个行动点,用来布置机关、招募武将,或令武将行动。游戏难度将影响不同操作消耗的行动点数。未用完的行动点将减半并累积到下一轮
- '+
+ '每一轮在最上方的一个随机位置增加一名敌人,若最上方已有角色,则将其下移一格
- '+
+ '战场上最多出现3个相同的机关,每个机关在置入战场3轮后消失。战场上最多招募10名友方角色。
- '+
+ '敌方角色到达底部出口时游戏失败,已方角色到达底部出口,将被移出游戏',
+ },
}
diff --git a/mode/identity.js b/mode/identity.js
index aef33d28a..3b89585a2 100755
--- a/mode/identity.js
+++ b/mode/identity.js
@@ -1246,4 +1246,10 @@ mode.identity={
}
}
},
+ help:{
+ '身份模式':'
选项
- 加强主公
反贼人数多于2时主公会额外增加一个技能(每个主公的额外技能固定,非常备主公增加天命)
'+
+ '明忠
- 本模式需要8名玩家进行游戏,使用的身份牌为:1主公、2忠臣、4反贼和1内奸。游戏开始时,每名玩家随机获得一个身份,由系统随机选择一名忠臣身份的玩家亮出身份(将忠臣牌正面朝上放在面前),其他身份(包括主公)的玩家不亮出身份。
- '+
+ '首先由亮出身份的忠臣玩家随机获得六张武将牌,挑选一名角色,并将选好的武将牌展示给其他玩家。之后其余每名玩家随机获得三张武将牌,各自从其中挑选一张同时亮出
- '+
+ '亮出身份牌的忠臣增加1点体力上限。角色濒死和死亡的结算及胜利条件与普通身份局相同。',
+ }
}
diff --git a/mode/stone.js b/mode/stone.js
index 50405e561..dc56f6856 100755
--- a/mode/stone.js
+++ b/mode/stone.js
@@ -10126,4 +10126,35 @@ mode.stone={
}
}
},
+ help:{
+ '炉石模式':
+ '
构筑
- 点击右上角的卡组管理构建卡组
- 一套卡组共30张牌,由法术和随从牌构成,每个同名卡牌最多带两张'+
+ '
- 卡组管理器中,随从右上角的x/y表示登场状态为x牌y血'+
+ '
- 游戏开始时,双方摸三张牌并从牌库中获得一张牌,并可选择将手牌置换一次'+
+ '
- 每当主将摸X张牌时,若X至少为2,则其中的X-1张牌从牌堆中获得,1张牌从牌库中获得'+
+ '
- 每名角色使用一套卡组,卡组用完后会重新补满'+
+ '
- 卡组与职业绑定,每个职业有一个专属技能,每回合限用一次,消耗两点行动值
'+
+ '职业技能
- 祭司:召唤一个随机图腾'+
+ '
- 法师:对一名随从造成一点火焰伤害'+
+ '
- 牧师:回复一点体力'+
+ '
- 战士:获得一点护甲(不能超过3点)'+
+ '
- 术士:牌库中摸两张牌'+
+ '
- 潜行者:装备一把武器和一个随机非武器装备'+
+ '
- 圣骑士:召唤一名士兵'+
+ '
- 猎人:对敌方主将造成一点伤害'+
+ '
- 德鲁伊:视为使用一张不计入出杀次数的杀
'+
+ '怒气值
- 每当友方随从受到伤害获得3点怒气值,主将受到伤害获得6点怒气值'+
+ '
- 每有一个友方随从死亡,获得10点怒气值,主将死亡获得20点怒气值'+
+ '
- 回合结束阶段,若己方随从数少于对方会获得10X点怒气值,X为随从数之差'+
+ '
- 怒气值达到100时不再增加。回合开始阶段,若怒气值己满,可消耗全部怒气值并召唤一名传说随从
'+
+ '战斗
- 游戏流程类似1v1,场上有两名主将进行对抗,主将的体力上限+1'+
+ '
- 游戏牌堆移除了乐不思蜀等跳过出牌阶段的卡牌'+
+ '
- 主将出牌阶段的出牌数量(行动值)有上限,先手为2,后手为3,装备牌不计入出牌上限
- 游戏每进行一轮,主将的出牌上限+1,超过6时减至3并重新累加'+
+ '
- 使用随从牌可召唤一个随从,随从出场时背面朝上。每一方在场的随从数不能超过4
- 随从于摸牌阶段摸牌基数为1,随从的随从牌均视为闪,装备牌均视为杀
- '+
+ '随从与其他所有角色相互距离基数为1
- '+
+ '主将杀死对方随从后获得一个额外的行动值并摸两张牌,杀死己方随从无惩罚,随从杀死随从无效果'+
+ '
- 主将可重铸随从牌,但回合内总的重铸次数不能超过3,随从不能重铸任何牌(包括铁索等默认可以重铸的牌);若重铸的牌为随从牌或法术牌,则摸牌改为从牌库中获得一张法术牌'+
+ '
- 嘲讽:若一方阵营中有嘲讽角色,则同阵营的无嘲讽角色不以能成为杀目标'+
+ '
- 行动顺序为先主将后随从。主将或随从死亡后立即移出游戏,主将死亡后替补登场,替补登场时摸3+X张牌,X为对方存活的随从数,无替补时游戏结束'
+ }
}
diff --git a/mode/versus.js b/mode/versus.js
index f854b5aae..70426e89a 100755
--- a/mode/versus.js
+++ b/mode/versus.js
@@ -1737,4 +1737,9 @@ mode.versus={
},
}
},
+ help:{
+ '对决模式':'
4v4
- 双方各有一名主公和三名忠臣,杀死对方主公获胜
- '+
+ '8号位游戏开始时额外摸一张牌,7、8号位可在游戏开始时置换一次手牌
- '+
+ '杀死对方忠臣摸2+x张牌,x为对方(含刚被杀的忠臣)与己方的存活人数之差;主公杀死己方忠臣须弃置所有牌',
+ }
}
diff --git a/play/coin.js b/play/coin.js
index ed4de9a7e..276bb3cd2 100644
--- a/play/coin.js
+++ b/play/coin.js
@@ -1365,6 +1365,8 @@ play.coin={
'
- 使用的武将越强,获得的金币数越少'+
'
- 执行以下操作时,将扣除金币:
- 作弊:20金币
- 换将卡:3金币
- '+
'自由选将:10金币
- 手气卡:3金币
- 换人:10金币
'+
- ' - 金币可用于购买烟花等游戏特效(点击右上角的金币按钮)'
+ '
- 金币可用于购买烟花等游戏特效(点击右上角的金币按钮)'+
+ '
- 修改金币:
game.changCoin'+
+ ' - 默认下雪:
game.haveFun.alwaysSnow'
}
}