commit
d9532d354d
|
@ -482,6 +482,7 @@ game.import("card", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip2",
|
subtype: "equip2",
|
||||||
|
cardcolor: "heart",
|
||||||
nomod: true,
|
nomod: true,
|
||||||
nopower: true,
|
nopower: true,
|
||||||
unique: true,
|
unique: true,
|
||||||
|
@ -1059,6 +1060,7 @@ game.import("card", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip2",
|
subtype: "equip2",
|
||||||
|
cardcolor: "club",
|
||||||
skills: ["huxinjing"],
|
skills: ["huxinjing"],
|
||||||
filterTarget: function (card, player, target) {
|
filterTarget: function (card, player, target) {
|
||||||
if (get.mode() == "guozhan" && player != target) return false;
|
if (get.mode() == "guozhan" && player != target) return false;
|
||||||
|
|
|
@ -281,6 +281,7 @@ game.import("card", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
|
cardcolor: "diamond",
|
||||||
distance: { attackFrom: -3 },
|
distance: { attackFrom: -3 },
|
||||||
ai: {
|
ai: {
|
||||||
basic: {
|
basic: {
|
||||||
|
@ -307,6 +308,7 @@ game.import("card", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip2",
|
subtype: "equip2",
|
||||||
|
cardcolor: "club",
|
||||||
ai: {
|
ai: {
|
||||||
basic: {
|
basic: {
|
||||||
equipValue: 2,
|
equipValue: 2,
|
||||||
|
@ -331,6 +333,7 @@ game.import("card", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
|
cardcolor: "club",
|
||||||
skills: ["tianjitu_skill"],
|
skills: ["tianjitu_skill"],
|
||||||
onLose: function () {
|
onLose: function () {
|
||||||
player.addTempSkill("tianjitu_skill_lose");
|
player.addTempSkill("tianjitu_skill_lose");
|
||||||
|
@ -355,6 +358,7 @@ game.import("card", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
|
cardcolor: "spade",
|
||||||
ai: {
|
ai: {
|
||||||
basic: {
|
basic: {
|
||||||
equipValue: 3,
|
equipValue: 3,
|
||||||
|
|
|
@ -25,8 +25,7 @@ game.import("character", function () {
|
||||||
clan_wuqiao: ["male", "jin", 4, ["clanqiajue", "clanmuyin"], ["clan:陈留吴氏"]],
|
clan_wuqiao: ["male", "jin", 4, ["clanqiajue", "clanmuyin"], ["clan:陈留吴氏"]],
|
||||||
clan_wangguang: ["male", "wei", 3, ["clanlilun", "clanjianji", "clanzhongliu"], ["clan:太原王氏"]],
|
clan_wangguang: ["male", "wei", 3, ["clanlilun", "clanjianji", "clanzhongliu"], ["clan:太原王氏"]],
|
||||||
clan_wangmingshan: ["male", "wei", 3, ["clantanque", "clanshengmo", "clanzhongliu"], ["clan:太原王氏"]],
|
clan_wangmingshan: ["male", "wei", 3, ["clantanque", "clanshengmo", "clanzhongliu"], ["clan:太原王氏"]],
|
||||||
//笑点解析——群雄
|
clan_zhongyao: ["male", "wei", 3, ["clanchengqi", "clanjieli", "clanbaozu"], ["clan:颍川钟氏"]],
|
||||||
clan_zhongyao: ["male", "qun", 3, ["clanchengqi", "clanjieli", "clanbaozu"], ["clan:颍川钟氏"]],
|
|
||||||
},
|
},
|
||||||
characterSort: {
|
characterSort: {
|
||||||
clan: {
|
clan: {
|
||||||
|
|
|
@ -2270,6 +2270,7 @@ game.import("character", function () {
|
||||||
derivation: "sunwukong",
|
derivation: "sunwukong",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
|
cardcolor: "heart",
|
||||||
skills: ["ruyijingubang_skill", "ruyijingubang_effect"],
|
skills: ["ruyijingubang_skill", "ruyijingubang_effect"],
|
||||||
equipDelay: false,
|
equipDelay: false,
|
||||||
distance: {
|
distance: {
|
||||||
|
|
|
@ -14525,6 +14525,10 @@ game.import("character", function () {
|
||||||
content: function () {
|
content: function () {
|
||||||
player.chooseToDiscard("h", true);
|
player.chooseToDiscard("h", true);
|
||||||
},
|
},
|
||||||
|
ai: {
|
||||||
|
halfneg: true,
|
||||||
|
nokeep: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
//董白
|
//董白
|
||||||
relianzhu: {
|
relianzhu: {
|
||||||
|
|
|
@ -84,11 +84,6 @@ game.import("character", function () {
|
||||||
jsrg_zhugeliang: "建兴六年春,汉丞相诸葛亮使赵云、邓芝为先锋,马谡为副将拒箕谷,牵制曹真主力。自率三十万大军攻祁山,三郡叛魏应亮,关中响震。曹叡命张郃拒亮,亮使定军山降将姜维与郃战于街亭,张郃久攻不下。后曹真强攻赵云军,赵云死战,坚守箕谷,马谡、邓芝当场战死忠勇殉国。……既克张郃,曹真溃逃,曹叡弃守长安,迁都邺城。十月,司马懿击退孙权,回援曹真。而后三年,丞相所到之处,无不望风而降,皆箪食壶浆,以迎汉军。尽收豫、徐、兖、并之地,建兴十年春,司马懿父子三人死于诸葛武侯火计,同年,孙权上表称臣,至此四海清平,大汉一统。而后诸葛亮荐蒋琬为丞相,姜维为大将军,自回隆中归隐,后主挽留再三,皆不受。魏延亦辞官相随,侍奉左右。后主时有不决之事,便往隆中拜访相父,均未得面,童子答曰外出云游,遗数锦囊,拆而视之,皆治国之良策也。",
|
jsrg_zhugeliang: "建兴六年春,汉丞相诸葛亮使赵云、邓芝为先锋,马谡为副将拒箕谷,牵制曹真主力。自率三十万大军攻祁山,三郡叛魏应亮,关中响震。曹叡命张郃拒亮,亮使定军山降将姜维与郃战于街亭,张郃久攻不下。后曹真强攻赵云军,赵云死战,坚守箕谷,马谡、邓芝当场战死忠勇殉国。……既克张郃,曹真溃逃,曹叡弃守长安,迁都邺城。十月,司马懿击退孙权,回援曹真。而后三年,丞相所到之处,无不望风而降,皆箪食壶浆,以迎汉军。尽收豫、徐、兖、并之地,建兴十年春,司马懿父子三人死于诸葛武侯火计,同年,孙权上表称臣,至此四海清平,大汉一统。而后诸葛亮荐蒋琬为丞相,姜维为大将军,自回隆中归隐,后主挽留再三,皆不受。魏延亦辞官相随,侍奉左右。后主时有不决之事,便往隆中拜访相父,均未得面,童子答曰外出云游,遗数锦囊,拆而视之,皆治国之良策也。",
|
||||||
},
|
},
|
||||||
characterTitle: {},
|
characterTitle: {},
|
||||||
characterFilter: {
|
|
||||||
jsrg_jiangwei(mode) {
|
|
||||||
return mode !== "guozhan";
|
|
||||||
},
|
|
||||||
},
|
|
||||||
perfectPair: {},
|
perfectPair: {},
|
||||||
card: {
|
card: {
|
||||||
xumou_jsrg: {
|
xumou_jsrg: {
|
||||||
|
@ -118,6 +113,7 @@ game.import("character", function () {
|
||||||
audio: true,
|
audio: true,
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "basic",
|
type: "basic",
|
||||||
|
cardcolor: "spade",
|
||||||
enable: false,
|
enable: false,
|
||||||
destroy: "discardPile",
|
destroy: "discardPile",
|
||||||
getYing: function (count) {
|
getYing: function (count) {
|
||||||
|
@ -141,6 +137,9 @@ game.import("character", function () {
|
||||||
jsrg_xushao: function (mode) {
|
jsrg_xushao: function (mode) {
|
||||||
return mode != "guozhan";
|
return mode != "guozhan";
|
||||||
},
|
},
|
||||||
|
jsrg_jiangwei(mode) {
|
||||||
|
return mode !== "guozhan";
|
||||||
|
},
|
||||||
},
|
},
|
||||||
skill: {
|
skill: {
|
||||||
//江山如故·合
|
//江山如故·合
|
||||||
|
@ -8400,6 +8399,9 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
ai: {
|
||||||
|
combo: "jsrgzhenglve"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
//南华老仙
|
//南华老仙
|
||||||
jsrgshoushu: {
|
jsrgshoushu: {
|
||||||
|
|
|
@ -428,6 +428,7 @@ game.import("character", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
//vanish:true,
|
//vanish:true,
|
||||||
derivation: "liuye",
|
derivation: "liuye",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
distance: { attackFrom: -8 },
|
distance: { attackFrom: -8 },
|
||||||
|
@ -2743,7 +2744,12 @@ game.import("character", function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai: { presha: true, pretao: true, nokeep: true },
|
ai: {
|
||||||
|
presha: true,
|
||||||
|
pretao: true,
|
||||||
|
neg: true,
|
||||||
|
nokeep: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
//庞统
|
//庞统
|
||||||
xinlianhuan: {
|
xinlianhuan: {
|
||||||
|
@ -7011,6 +7017,10 @@ game.import("character", function () {
|
||||||
content: function () {
|
content: function () {
|
||||||
player.loseHp();
|
player.loseHp();
|
||||||
},
|
},
|
||||||
|
ai: {
|
||||||
|
neg: true,
|
||||||
|
nokeep: true
|
||||||
|
},
|
||||||
mod: {
|
mod: {
|
||||||
maxHandcard: function (player, num) {
|
maxHandcard: function (player, num) {
|
||||||
return num - 3;
|
return num - 3;
|
||||||
|
@ -7057,6 +7067,10 @@ game.import("character", function () {
|
||||||
content: function () {
|
content: function () {
|
||||||
player.skip("phaseDraw");
|
player.skip("phaseDraw");
|
||||||
},
|
},
|
||||||
|
ai: {
|
||||||
|
neg: true,
|
||||||
|
nokeep: true
|
||||||
|
},
|
||||||
marktext: "金",
|
marktext: "金",
|
||||||
intro: {
|
intro: {
|
||||||
name: "金(拥蔽)",
|
name: "金(拥蔽)",
|
||||||
|
|
|
@ -56,6 +56,7 @@ game.import("character", function () {
|
||||||
card: {
|
card: {
|
||||||
sizhaojian: {
|
sizhaojian: {
|
||||||
derivation: "ol_sb_yuanshao",
|
derivation: "ol_sb_yuanshao",
|
||||||
|
cardcolor: "diamond",
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
|
|
|
@ -396,6 +396,7 @@ game.import("character", function () {
|
||||||
//蒲元衍生
|
//蒲元衍生
|
||||||
sanlve: {
|
sanlve: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
ai: {
|
ai: {
|
||||||
|
@ -408,6 +409,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
zhaogujing: {
|
zhaogujing: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
ai: {
|
ai: {
|
||||||
|
@ -420,6 +422,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
shufazijinguan: {
|
shufazijinguan: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -433,6 +436,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
xuwangzhimian: {
|
xuwangzhimian: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "club",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
|
@ -444,6 +448,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
hongmianbaihuapao: {
|
hongmianbaihuapao: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "club",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip2",
|
subtype: "equip2",
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -457,6 +462,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
guofengyupao: {
|
guofengyupao: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -468,6 +474,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
qimenbagua: {
|
qimenbagua: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -479,6 +486,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
linglongshimandai: {
|
linglongshimandai: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip2",
|
subtype: "equip2",
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -492,6 +500,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
chixueqingfeng: {
|
chixueqingfeng: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -504,6 +513,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
guilongzhanyuedao: {
|
guilongzhanyuedao: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
|
@ -519,6 +529,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
wushuangfangtianji: {
|
wushuangfangtianji: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
modeimage: "boss",
|
modeimage: "boss",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
|
@ -535,6 +546,7 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
bintieshuangji: {
|
bintieshuangji: {
|
||||||
derivation: "ol_puyuan",
|
derivation: "ol_puyuan",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
distance: {
|
distance: {
|
||||||
|
@ -651,8 +663,8 @@ game.import("character", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
vanish: true,
|
vanish: true,
|
||||||
derivation: "fengfangnv",
|
derivation: "fengfangnv",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
suit: "spade",
|
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
skills: ["zhuangshu_basic"],
|
skills: ["zhuangshu_basic"],
|
||||||
forceDie: true,
|
forceDie: true,
|
||||||
|
@ -677,8 +689,8 @@ game.import("character", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
vanish: true,
|
vanish: true,
|
||||||
derivation: "fengfangnv",
|
derivation: "fengfangnv",
|
||||||
|
cardcolor: "club",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
suit: "club",
|
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
forceDie: true,
|
forceDie: true,
|
||||||
skills: ["zhuangshu_trick"],
|
skills: ["zhuangshu_trick"],
|
||||||
|
@ -697,8 +709,8 @@ game.import("character", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
vanish: true,
|
vanish: true,
|
||||||
derivation: "fengfangnv",
|
derivation: "fengfangnv",
|
||||||
|
cardcolor: "heart",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
suit: "heart",
|
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
skills: ["zhuangshu_equip"],
|
skills: ["zhuangshu_equip"],
|
||||||
forceDie: true,
|
forceDie: true,
|
||||||
|
@ -13420,7 +13432,7 @@ game.import("character", function () {
|
||||||
var card = target.getEquip(name);
|
var card = target.getEquip(name);
|
||||||
target.$give(card, trigger.player, false);
|
target.$give(card, trigger.player, false);
|
||||||
} else {
|
} else {
|
||||||
var card = game.createCard(name, lib.card[name].suit, 12);
|
var card = game.createCard(name, lib.card[name].cardcolor, 12);
|
||||||
trigger.player.$gain2(card, false);
|
trigger.player.$gain2(card, false);
|
||||||
}
|
}
|
||||||
game.delayx();
|
game.delayx();
|
||||||
|
@ -13447,7 +13459,7 @@ game.import("character", function () {
|
||||||
if (result.bool) {
|
if (result.bool) {
|
||||||
player.logSkill("zhuangshu");
|
player.logSkill("zhuangshu");
|
||||||
var name = result.links[0][2],
|
var name = result.links[0][2],
|
||||||
card = game.createCard(name, lib.card[name].suit, 12);
|
card = game.createCard(name, lib.card[name].cardcolor, 12);
|
||||||
player.$gain2(card, false);
|
player.$gain2(card, false);
|
||||||
game.delayx();
|
game.delayx();
|
||||||
player.equip(card);
|
player.equip(card);
|
||||||
|
@ -17918,7 +17930,12 @@ game.import("character", function () {
|
||||||
player.addMark("new_zhixi", 1, false);
|
player.addMark("new_zhixi", 1, false);
|
||||||
if (get.type2(trigger.card) == "trick") player.storage.new_zhixi2 = true;
|
if (get.type2(trigger.card) == "trick") player.storage.new_zhixi2 = true;
|
||||||
},
|
},
|
||||||
ai: { presha: true, pretao: true, nokeep: true },
|
ai: {
|
||||||
|
presha: true,
|
||||||
|
pretao: true,
|
||||||
|
neg: true,
|
||||||
|
nokeep: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
new_mumu2: {
|
new_mumu2: {
|
||||||
charlotte: true,
|
charlotte: true,
|
||||||
|
|
|
@ -8701,6 +8701,9 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
group: "panshi_damage",
|
group: "panshi_damage",
|
||||||
|
ai: {
|
||||||
|
halfneg: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
panshi_damage: {
|
panshi_damage: {
|
||||||
trigger: { source: "damageBegin1" },
|
trigger: { source: "damageBegin1" },
|
||||||
|
|
|
@ -380,6 +380,7 @@ game.import("character", function () {
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
derivation: "tw_gexuan",
|
derivation: "tw_gexuan",
|
||||||
|
cardcolor: "heart",
|
||||||
distance: { attackFrom: -2 },
|
distance: { attackFrom: -2 },
|
||||||
ai: {
|
ai: {
|
||||||
basic: {
|
basic: {
|
||||||
|
@ -393,6 +394,7 @@ game.import("character", function () {
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
derivation: "tw_gexuan",
|
derivation: "tw_gexuan",
|
||||||
|
cardcolor: "heart",
|
||||||
distance: { attackFrom: -4 },
|
distance: { attackFrom: -4 },
|
||||||
ai: {
|
ai: {
|
||||||
basic: {
|
basic: {
|
||||||
|
@ -406,6 +408,7 @@ game.import("character", function () {
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip2",
|
subtype: "equip2",
|
||||||
derivation: "tw_gexuan",
|
derivation: "tw_gexuan",
|
||||||
|
cardcolor: "heart",
|
||||||
ai: {
|
ai: {
|
||||||
basic: {
|
basic: {
|
||||||
equipValue: 7,
|
equipValue: 7,
|
||||||
|
@ -419,6 +422,7 @@ game.import("character", function () {
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
cardimage: "yinyueqiang",
|
cardimage: "yinyueqiang",
|
||||||
|
cardcolor: "diamond",
|
||||||
derivation: "tw_zhaoxiang",
|
derivation: "tw_zhaoxiang",
|
||||||
distance: { attackFrom: -2 },
|
distance: { attackFrom: -2 },
|
||||||
ai: {
|
ai: {
|
||||||
|
@ -19421,7 +19425,7 @@ game.import("character", function () {
|
||||||
});
|
});
|
||||||
"step 1";
|
"step 1";
|
||||||
if (result.bool) {
|
if (result.bool) {
|
||||||
var card = game.createCard2(result.links[0][2]);
|
var card = game.createCard2(result.links[0][2], "heart", 1);
|
||||||
lib.inpile.add(result.links[0][2]);
|
lib.inpile.add(result.links[0][2]);
|
||||||
player.storage.twsidao = card;
|
player.storage.twsidao = card;
|
||||||
player.chooseUseTarget(card, "nopopup", true);
|
player.chooseUseTarget(card, "nopopup", true);
|
||||||
|
@ -19821,7 +19825,6 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
twyanqin: {
|
twyanqin: {
|
||||||
forbid: ["guozhan"],
|
|
||||||
audio: 2,
|
audio: 2,
|
||||||
trigger: { player: "phaseBegin" },
|
trigger: { player: "phaseBegin" },
|
||||||
direct: true,
|
direct: true,
|
||||||
|
@ -19874,7 +19877,6 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
chijie: {
|
chijie: {
|
||||||
audio: true,
|
audio: true,
|
||||||
forbid: ["guozhan"],
|
|
||||||
trigger: {
|
trigger: {
|
||||||
global: "phaseBefore",
|
global: "phaseBefore",
|
||||||
player: "enterGame",
|
player: "enterGame",
|
||||||
|
@ -19984,7 +19986,6 @@ game.import("character", function () {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
renshe: {
|
renshe: {
|
||||||
forbid: ["guozhan"],
|
|
||||||
audio: 2,
|
audio: 2,
|
||||||
trigger: { player: "damageEnd" },
|
trigger: { player: "damageEnd" },
|
||||||
direct: true,
|
direct: true,
|
||||||
|
|
|
@ -18877,6 +18877,7 @@ game.import("character", function () {
|
||||||
pyzhuren_heart: {
|
pyzhuren_heart: {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "puyuan",
|
derivation: "puyuan",
|
||||||
|
cardcolor: "heart",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
distance: { attackFrom: -2 },
|
distance: { attackFrom: -2 },
|
||||||
|
@ -18895,6 +18896,7 @@ game.import("character", function () {
|
||||||
pyzhuren_diamond: {
|
pyzhuren_diamond: {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "puyuan",
|
derivation: "puyuan",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
distance: { attackFrom: -1 },
|
distance: { attackFrom: -1 },
|
||||||
|
@ -18913,6 +18915,7 @@ game.import("character", function () {
|
||||||
pyzhuren_club: {
|
pyzhuren_club: {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "puyuan",
|
derivation: "puyuan",
|
||||||
|
cardcolor: "club",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
distance: { attackFrom: -1 },
|
distance: { attackFrom: -1 },
|
||||||
|
@ -18944,6 +18947,7 @@ game.import("character", function () {
|
||||||
pyzhuren_spade: {
|
pyzhuren_spade: {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "puyuan",
|
derivation: "puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
skills: ["pyzhuren_spade"],
|
skills: ["pyzhuren_spade"],
|
||||||
|
@ -18961,6 +18965,7 @@ game.import("character", function () {
|
||||||
pyzhuren_shandian: {
|
pyzhuren_shandian: {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "puyuan",
|
derivation: "puyuan",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip1",
|
subtype: "equip1",
|
||||||
distance: { attackFrom: -3 },
|
distance: { attackFrom: -3 },
|
||||||
|
@ -18979,6 +18984,7 @@ game.import("character", function () {
|
||||||
dagongche: {
|
dagongche: {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "zhangfen",
|
derivation: "zhangfen",
|
||||||
|
cardcolor: "spade",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
skills: ["dagongche_skill"],
|
skills: ["dagongche_skill"],
|
||||||
|
@ -19008,6 +19014,7 @@ game.import("character", function () {
|
||||||
fullskin: true,
|
fullskin: true,
|
||||||
derivation: "dc_liuye",
|
derivation: "dc_liuye",
|
||||||
cardimage: "ly_piliche",
|
cardimage: "ly_piliche",
|
||||||
|
cardcolor: "diamond",
|
||||||
type: "equip",
|
type: "equip",
|
||||||
subtype: "equip5",
|
subtype: "equip5",
|
||||||
skills: ["pilitoushiche"],
|
skills: ["pilitoushiche"],
|
||||||
|
|
|
@ -2693,7 +2693,8 @@ game.import("character", function () {
|
||||||
return Math.random();
|
return Math.random();
|
||||||
});
|
});
|
||||||
"step 1";
|
"step 1";
|
||||||
var card = game.createCard(result.links[0][2]);
|
var name = result.links[0][2],
|
||||||
|
card = game.createCard(name, lib.card[name].cardcolor, 5);
|
||||||
player.$gain2(card);
|
player.$gain2(card);
|
||||||
player.equip(card);
|
player.equip(card);
|
||||||
game.delay();
|
game.delay();
|
||||||
|
@ -2756,6 +2757,7 @@ game.import("character", function () {
|
||||||
cheliji_sichengliangyu: {
|
cheliji_sichengliangyu: {
|
||||||
trigger: { global: "phaseJieshuBegin" },
|
trigger: { global: "phaseJieshuBegin" },
|
||||||
equipSkill: true,
|
equipSkill: true,
|
||||||
|
cardcolor: "heart",
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
return player.countCards("h") < player.hp && player.getEquip("cheliji_sichengliangyu");
|
return player.countCards("h") < player.hp && player.getEquip("cheliji_sichengliangyu");
|
||||||
},
|
},
|
||||||
|
@ -2770,6 +2772,7 @@ game.import("character", function () {
|
||||||
cheliji_tiejixuanyu: {
|
cheliji_tiejixuanyu: {
|
||||||
trigger: { global: "phaseJieshuBegin" },
|
trigger: { global: "phaseJieshuBegin" },
|
||||||
equipSkill: true,
|
equipSkill: true,
|
||||||
|
cardcolor: "club",
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
return (
|
return (
|
||||||
player != event.player &&
|
player != event.player &&
|
||||||
|
@ -2793,6 +2796,7 @@ game.import("character", function () {
|
||||||
cheliji_feilunzhanyu: {
|
cheliji_feilunzhanyu: {
|
||||||
trigger: { global: "phaseJieshuBegin" },
|
trigger: { global: "phaseJieshuBegin" },
|
||||||
equipSkill: true,
|
equipSkill: true,
|
||||||
|
cardcolor: "spade",
|
||||||
filter: function (event, player) {
|
filter: function (event, player) {
|
||||||
return (
|
return (
|
||||||
player != event.player &&
|
player != event.player &&
|
||||||
|
|
|
@ -5045,10 +5045,13 @@ game.import("mode", function (lib, game, ui, get, ai, _status) {
|
||||||
async content(event, trigger, player) {
|
async content(event, trigger, player) {
|
||||||
trigger.targets.length = 0;
|
trigger.targets.length = 0;
|
||||||
trigger.all_excluded = true;
|
trigger.all_excluded = true;
|
||||||
if (get.type(trigger.card) == "equip" && !get.owner(trigger.card)) {
|
const cards = trigger.cards.filter(i => !get.owner(i));
|
||||||
await player.gain(trigger.card, "gain2");
|
if (cards.length && get.type(trigger.card) == "equip") {
|
||||||
if (get.owner(trigger.card) == player && player.hasUseTarget(trigger.card)) {
|
await player.gain(cards, "gain2");
|
||||||
await player.chooseUseTarget(trigger.card);
|
for (let i of cards) {
|
||||||
|
if (get.owner(i) == player && player.hasUseTarget(i)) {
|
||||||
|
await player.chooseUseTarget(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue