commit
bc74b17961
|
@ -753,6 +753,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
direct: true,
|
direct: true,
|
||||||
changeSeat: true,
|
changeSeat: true,
|
||||||
|
derivation: "tamo_faq",
|
||||||
async content(event, trigger, player) {
|
async content(event, trigger, player) {
|
||||||
const toSortPlayers = game.filterPlayer((current) => !current.isZhu2());
|
const toSortPlayers = game.filterPlayer((current) => !current.isZhu2());
|
||||||
toSortPlayers.sortBySeat(game.findPlayer2((current) => current.getSeatNum() == 1, true));
|
toSortPlayers.sortBySeat(game.findPlayer2((current) => current.getSeatNum() == 1, true));
|
||||||
|
@ -870,7 +871,7 @@ game.import("character", function () {
|
||||||
});
|
});
|
||||||
const { result } = await next;
|
const { result } = await next;
|
||||||
if (!result.bool) return;
|
if (!result.bool) return;
|
||||||
player.logSkill("tamo");
|
await player.logSkill("tamo");
|
||||||
const resultList = result.moved[0].map((info) => {
|
const resultList = result.moved[0].map((info) => {
|
||||||
return parseInt(info.split("|")[0]);
|
return parseInt(info.split("|")[0]);
|
||||||
});
|
});
|
||||||
|
@ -891,6 +892,25 @@ game.import("character", function () {
|
||||||
game.swapSeat(list[0], list[1], false);
|
game.swapSeat(list[0], list[1], false);
|
||||||
}
|
}
|
||||||
}, toSwapList);
|
}, toSwapList);
|
||||||
|
if (trigger.name === "phase" && trigger.player !== toSortPlayers[0] && !trigger._finished) {
|
||||||
|
trigger.finish();
|
||||||
|
trigger._triggered = 5;
|
||||||
|
const evt = toSortPlayers[0].insertPhase();
|
||||||
|
delete evt.skill;
|
||||||
|
const evt2 = trigger.getParent();
|
||||||
|
if (evt2.name == "phaseLoop" && evt2._isStandardLoop) {
|
||||||
|
evt2.player = toSortPlayers[0];
|
||||||
|
}
|
||||||
|
//跳过新回合的phaseBefore
|
||||||
|
evt.pushHandler("onPhase", (event, option) => {
|
||||||
|
if (
|
||||||
|
event.step === 0 &&
|
||||||
|
option.state === "begin"
|
||||||
|
) {
|
||||||
|
event.step = 1;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
await game.asyncDelay();
|
await game.asyncDelay();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1164,7 +1184,6 @@ game.import("character", function () {
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
forced: true,
|
forced: true,
|
||||||
|
@ -10814,7 +10833,11 @@ game.import("character", function () {
|
||||||
dingzhou_info:
|
dingzhou_info:
|
||||||
"出牌阶段限一次。你可以将X张牌交给一名场上有牌的角色,然后你获得其场上的所有牌(X为其场上的牌数+1)。",
|
"出牌阶段限一次。你可以将X张牌交给一名场上有牌的角色,然后你获得其场上的所有牌(X为其场上的牌数+1)。",
|
||||||
tamo: "榻谟",
|
tamo: "榻谟",
|
||||||
tamo_info: "游戏开始时,你可以重新分配除主公外所有角色的座次。",
|
tamo_info:
|
||||||
|
"游戏开始时,你可以重新分配除主公外所有角色的座次。",
|
||||||
|
tamo_faq: "FAQ",
|
||||||
|
tamo_faq_info:
|
||||||
|
"<br><li>Q:在一号位不为主公的情况下,〖榻谟〗如何结算?</li><li>A:该角色可以正常进行座次交换。若受此技能影响导致一号位角色发生了变化,则以排列后的一号位角色为起始角色开始本局游戏。</li>",
|
||||||
zhimeng: "智盟",
|
zhimeng: "智盟",
|
||||||
zhimeng_info:
|
zhimeng_info:
|
||||||
"回合结束后,你可以与一名其他角色将各自所有手牌置于处理区,然后你随机获得这些牌中的一半(向上取整),其获得剩余的牌。",
|
"回合结束后,你可以与一名其他角色将各自所有手牌置于处理区,然后你随机获得这些牌中的一半(向上取整),其获得剩余的牌。",
|
||||||
|
|
|
@ -394,8 +394,6 @@ game.import("character", function () {
|
||||||
"南华老仙,是古典小说《三国演义》中的虚拟人物。其原型来自道教典籍中对庄子的封号,又称“南华仙人”、“南华真人”等。在古典小说《三国演义》通行本的第一回中,描述了南华老仙将《太平要术》赠送给张角的情节。",
|
"南华老仙,是古典小说《三国演义》中的虚拟人物。其原型来自道教典籍中对庄子的封号,又称“南华仙人”、“南华真人”等。在古典小说《三国演义》通行本的第一回中,描述了南华老仙将《太平要术》赠送给张角的情节。",
|
||||||
chenzhen:
|
chenzhen:
|
||||||
"陈震(?—公元235年),字孝起。荆州南阳郡(今河南南阳)人。三国时期蜀汉官员。刘备领荆州牧时,辟陈震为从事。后随刘备入蜀,为蜀郡北部都尉、汶山太守、犍为太守。建兴三年(225年),拜尚书,迁尚书令。建兴七年(229年),孙权称帝。蜀汉以陈震为卫尉,前往祝贺,与孙权开坛歃盟,交分天下。还蜀,封城阳亭侯。建兴十三年(235年),卒。",
|
"陈震(?—公元235年),字孝起。荆州南阳郡(今河南南阳)人。三国时期蜀汉官员。刘备领荆州牧时,辟陈震为从事。后随刘备入蜀,为蜀郡北部都尉、汶山太守、犍为太守。建兴三年(225年),拜尚书,迁尚书令。建兴七年(229年),孙权称帝。蜀汉以陈震为卫尉,前往祝贺,与孙权开坛歃盟,交分天下。还蜀,封城阳亭侯。建兴十三年(235年),卒。",
|
||||||
nanhualaoxian:
|
|
||||||
"南华老仙,其原型来自道教典籍中对庄子的封号,又称“南华仙人”、“南华真人”等。在古典小说《三国演义》通行本的第一回中,描述了南华老仙将《太平要术》赠送给张角的情节。",
|
|
||||||
hucheer:
|
hucheer:
|
||||||
"胡车儿(生卒年不详),东汉末年武将,初从张绣,为其心腹猛将,勇冠三军,与贾诩交情甚佳。宛城大战后,张绣投降曹操,曹操爱胡车儿之骁勇,手以黄金与之。后因曹操私纳张绣亡叔张济的遗孀邹氏,张绣深感其辱,欲杀曹操,与贾诩商议后决心反曹。《三国演义》中,作者考虑到典韦的勇猛,便增加了令胡车儿盗走典韦的双戟的情节。最终典韦、曹昂(曹操长子)、曹安民(曹操侄子)皆死于此次战斗。野史说胡车儿跟随曹操征战,被赵云在长坂坡上红枪挑死。",
|
"胡车儿(生卒年不详),东汉末年武将,初从张绣,为其心腹猛将,勇冠三军,与贾诩交情甚佳。宛城大战后,张绣投降曹操,曹操爱胡车儿之骁勇,手以黄金与之。后因曹操私纳张绣亡叔张济的遗孀邹氏,张绣深感其辱,欲杀曹操,与贾诩商议后决心反曹。《三国演义》中,作者考虑到典韦的勇猛,便增加了令胡车儿盗走典韦的双戟的情节。最终典韦、曹昂(曹操长子)、曹安民(曹操侄子)皆死于此次战斗。野史说胡车儿跟随曹操征战,被赵云在长坂坡上红枪挑死。",
|
||||||
simashi:
|
simashi:
|
||||||
|
@ -660,7 +658,6 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
mbshishou: {
|
mbshishou: {
|
||||||
audio: 2,
|
audio: 2,
|
||||||
forced: true,
|
|
||||||
trigger: { player: "useSkillAfter" },
|
trigger: { player: "useSkillAfter" },
|
||||||
filter(event, player) {
|
filter(event, player) {
|
||||||
return event.skill === "mbzuoyou" && !event.targets.includes(player);
|
return event.skill === "mbzuoyou" && !event.targets.includes(player);
|
||||||
|
@ -2714,7 +2711,6 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
forced: true,
|
forced: true,
|
||||||
popup: false,
|
popup: false,
|
||||||
onremove: true,
|
|
||||||
firstDo: true,
|
firstDo: true,
|
||||||
init: function (player, skill) {
|
init: function (player, skill) {
|
||||||
player.storage[skill] = 0;
|
player.storage[skill] = 0;
|
||||||
|
@ -10578,23 +10574,6 @@ game.import("character", function () {
|
||||||
//钟会
|
//钟会
|
||||||
requanji: {
|
requanji: {
|
||||||
audio: 2,
|
audio: 2,
|
||||||
mod: {
|
|
||||||
aiOrder: (player, card, num) => {
|
|
||||||
if (
|
|
||||||
num <= 0 ||
|
|
||||||
typeof card !== "object" ||
|
|
||||||
!player.isPhaseUsing() ||
|
|
||||||
!player.hasSkill("zili") ||
|
|
||||||
player.needsToDiscard()
|
|
||||||
)
|
|
||||||
return num;
|
|
||||||
if (
|
|
||||||
player.getExpansions("quanji").length < 3 &&
|
|
||||||
player.getUseValue(card) < Math.min(4, (player.hp * player.hp) / 4)
|
|
||||||
)
|
|
||||||
return 0;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
trigger: { player: ["damageEnd", "phaseUseEnd"] },
|
trigger: { player: ["damageEnd", "phaseUseEnd"] },
|
||||||
frequent: true,
|
frequent: true,
|
||||||
locked: false,
|
locked: false,
|
||||||
|
@ -10634,9 +10613,24 @@ game.import("character", function () {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mod: {
|
mod: {
|
||||||
maxHandcard: function (player, num) {
|
maxHandcard(player, num) {
|
||||||
return num + player.getExpansions("quanji").length;
|
return num + player.getExpansions("quanji").length;
|
||||||
},
|
},
|
||||||
|
aiOrder(player, card, num) {
|
||||||
|
if (
|
||||||
|
num <= 0 ||
|
||||||
|
typeof card !== "object" ||
|
||||||
|
!player.isPhaseUsing() ||
|
||||||
|
!player.hasSkill("zili") ||
|
||||||
|
player.needsToDiscard()
|
||||||
|
)
|
||||||
|
return num;
|
||||||
|
if (
|
||||||
|
player.getExpansions("quanji").length < 3 &&
|
||||||
|
player.getUseValue(card) < Math.min(4, (player.hp * player.hp) / 4)
|
||||||
|
)
|
||||||
|
return 0;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
onremove: function (player, skill) {
|
onremove: function (player, skill) {
|
||||||
var cards = player.getExpansions("quanji");
|
var cards = player.getExpansions("quanji");
|
||||||
|
@ -21081,10 +21075,6 @@ game.import("character", function () {
|
||||||
re_liru_prefix: "手杀界",
|
re_liru_prefix: "手杀界",
|
||||||
re_chenqun: "手杀界陈群",
|
re_chenqun: "手杀界陈群",
|
||||||
re_chenqun_prefix: "手杀界",
|
re_chenqun_prefix: "手杀界",
|
||||||
re_liru: "手杀界李儒",
|
|
||||||
re_liru_prefix: "手杀界",
|
|
||||||
re_chenqun: "手杀界陈群",
|
|
||||||
re_chenqun_prefix: "手杀界",
|
|
||||||
old_yuanshu: "手杀袁术",
|
old_yuanshu: "手杀袁术",
|
||||||
old_yuanshu_prefix: "手杀",
|
old_yuanshu_prefix: "手杀",
|
||||||
baoxin: "鲍信",
|
baoxin: "鲍信",
|
||||||
|
|
|
@ -1248,14 +1248,14 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
next.setContent(function () {
|
next.setContent(function () {
|
||||||
"step 0";
|
"step 0";
|
||||||
ui.arena.classList.add("choose-character");
|
ui.arena.classList.add("choose-character");
|
||||||
for (var i in lib.skill) {
|
// for (var i in lib.skill) {
|
||||||
if (lib.skill[i].changeSeat) {
|
// if (lib.skill[i].changeSeat) {
|
||||||
lib.skill[i] = {};
|
// lib.skill[i] = {};
|
||||||
if (lib.translate[i + "_info"]) {
|
// if (lib.translate[i + "_info"]) {
|
||||||
lib.translate[i + "_info"] = "此模式下不可用";
|
// lib.translate[i + "_info"] = "此模式下不可用";
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
var bool = Math.random() < 0.5;
|
var bool = Math.random() < 0.5;
|
||||||
var bool2 = Math.random() < 0.5;
|
var bool2 = Math.random() < 0.5;
|
||||||
var ref = game.players[0];
|
var ref = game.players[0];
|
||||||
|
|
Loading…
Reference in New Issue