游戏王残局简化版

Annotation For script/c0.lua
Login

Annotation For script/c0.lua

Origin for each line in script/c0.lua from check-in a2e76b01c2:

e59d27b43b 2023-07-17    1: local str = {}
6f9888787e 2023-08-02    2: local math = math
6f9888787e 2023-08-02    3: local string = string
6f9888787e 2023-08-02    4: local table = table
6f9888787e 2023-08-02    5: _G.fun = {}
6f9888787e 2023-08-02    6: ---------------------------------
155b00bc3f 2024-01-23    7: local cache_1
155b00bc3f 2024-01-23    8: local cache_2
155b00bc3f 2024-01-23    9: local cache_3
155b00bc3f 2024-01-23   10: local cache_4
155b00bc3f 2024-01-23   11: local cache_5
155b00bc3f 2024-01-23   12: local cache_6
155b00bc3f 2024-01-23   13: local cache_7
155b00bc3f 2024-01-23   14: local cache_8
155b00bc3f 2024-01-23   15: local cache_9
155b00bc3f 2024-01-23   16: local _
155b00bc3f 2024-01-23   17: str["效果卡的种类表"] = {
a2e76b01c2 2024-01-26   18: 	TYPE_SPELL,
a2e76b01c2 2024-01-26   19: 	TYPE_TRAP,
a2e76b01c2 2024-01-26   20: 	TYPE_EFFECT,
a2e76b01c2 2024-01-26   21: }
155b00bc3f 2024-01-23   22: str["无效果灵摆怪兽表"] = {
a2e76b01c2 2024-01-26   23: 	28363749,
a2e76b01c2 2024-01-26   24: 	19474136,
a2e76b01c2 2024-01-26   25: 	17390179,
a2e76b01c2 2024-01-26   26: 	83980492,
a2e76b01c2 2024-01-26   27: }
155b00bc3f 2024-01-23   28: cache_1 = 0
a2e76b01c2 2024-01-26   29: cache_1 = cache_1 + LOCATION_HAND + LOCATION_MZONE + LOCATION_SZONE + LOCATION_GRAVE + LOCATION_REMOVED
155b00bc3f 2024-01-23   30: str["除卡组与额外卡组以外的区域"] = cache_1
a2e76b01c2 2024-01-26   31: cache_1 = cache_1 + LOCATION_DECK + LOCATION_EXTRA
155b00bc3f 2024-01-23   32: str["所有区域"] = cache_1
155b00bc3f 2024-01-23   33: --第一层-------------------------------
bc52fc3ea8 2023-08-02   34: local cache_1
bc52fc3ea8 2023-08-02   35: local cache_2
bc52fc3ea8 2023-08-02   36: local cache_3
bc52fc3ea8 2023-08-02   37: local cache_4
bc52fc3ea8 2023-08-02   38: local cache_5
bc52fc3ea8 2023-08-02   39: local cache_6
bc52fc3ea8 2023-08-02   40: local cache_7
bc52fc3ea8 2023-08-02   41: local cache_8
bc52fc3ea8 2023-08-02   42: local cache_9
bc52fc3ea8 2023-08-02   43: local _
155b00bc3f 2024-01-23   44: fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin
155b00bc3f 2024-01-23   45: Debug.ReloadFieldBegin = function(str_1, str_2) --{
a2e76b01c2 2024-01-26   46: 	str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
a2e76b01c2 2024-01-26   47: 	str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN
a2e76b01c2 2024-01-26   48: 	str["无AI"] = str_1 & DUEL_SIMPLE_AI
a2e76b01c2 2024-01-26   49: 	str["规则表"] = {
a2e76b01c2 2024-01-26   50: 		[3] = "大师3 ",
a2e76b01c2 2024-01-26   51: 		[4] = "新大师 ",
a2e76b01c2 2024-01-26   52: 		[5] = "大师2020 ",
a2e76b01c2 2024-01-26   53: 	}
a2e76b01c2 2024-01-26   54: 	if str_2 then --{
a2e76b01c2 2024-01-26   55: 		str["规则"] = str["规则表"][str_2]
a2e76b01c2 2024-01-26   56: 	--}
a2e76b01c2 2024-01-26   57: 	else --{
a2e76b01c2 2024-01-26   58: 		str["规则"] = str["规则表"][5]
a2e76b01c2 2024-01-26   59: 	end --}
a2e76b01c2 2024-01-26   60: 	fun["Debug.ReloadFieldBegin"](str_1, str_2)
a2e76b01c2 2024-01-26   61: end --}
155b00bc3f 2024-01-23   62: fun["一_随机抽卡"] = function(str_1) --{
a2e76b01c2 2024-01-26   63: 	str["随机抽卡的数量"] = str_1
a2e76b01c2 2024-01-26   64: 	str["效果"] = Effect.GlobalEffect()
a2e76b01c2 2024-01-26   65: 	str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
a2e76b01c2 2024-01-26   66: 	str["效果"]:SetCode(EVENT_ADJUST)
a2e76b01c2 2024-01-26   67: 	str["效果"]:SetCondition(aux.TRUE)
a2e76b01c2 2024-01-26   68: 	function cache_1(effect_event, player_who_activate_the_effect) --{
a2e76b01c2 2024-01-26   69: 		Duel.ShuffleDeck(0)
a2e76b01c2 2024-01-26   70: 		Duel.Draw(0, str_1, REASON_RULE)
a2e76b01c2 2024-01-26   71: 		effect_event:Reset()
a2e76b01c2 2024-01-26   72: 	end --}
a2e76b01c2 2024-01-26   73: 	str["效果"]:SetOperation(cache_1)
a2e76b01c2 2024-01-26   74: 	Duel.RegisterEffect(str["效果"], 0)
a2e76b01c2 2024-01-26   75: end --}
155b00bc3f 2024-01-23   76: fun["一_失败得分"] = function() --{
a2e76b01c2 2024-01-26   77: 	str["失败得分表"] = {
a2e76b01c2 2024-01-26   78: 		[0] = "神龙之圣刻印",
a2e76b01c2 2024-01-26   79: 		[100] = "调和支援士",
a2e76b01c2 2024-01-26   80: 		[200] = "深渊的暗杀者",
a2e76b01c2 2024-01-26   81: 		[300] = "救援猫",
a2e76b01c2 2024-01-26   82: 		[400] = "注射天使 莉莉",
a2e76b01c2 2024-01-26   83: 		[500] = "不知火的隐者",
a2e76b01c2 2024-01-26   84: 		[600] = "影依猎鹰",
a2e76b01c2 2024-01-26   85: 		[700] = "铁兽战线 姬特",
a2e76b01c2 2024-01-26   86: 		[800] = "召唤僧",
a2e76b01c2 2024-01-26   87: 		[900] = "恩底弥翁的仆从",
a2e76b01c2 2024-01-26   88: 		[1000] = "机壳工具 丑恶",
a2e76b01c2 2024-01-26   89: 		[1100] = "欧尼斯特",
a2e76b01c2 2024-01-26   90: 		[1200] = "次元吸引者",
a2e76b01c2 2024-01-26   91: 		[1300] = "黑羽-疾风之盖尔",
a2e76b01c2 2024-01-26   92: 		[1400] = "加农炮兵",
a2e76b01c2 2024-01-26   93: 		[1500] = "教导的大神祗官",
a2e76b01c2 2024-01-26   94: 		[1600] = "地中族导师",
a2e76b01c2 2024-01-26   95: 		[1700] = "相剑师-莫邪",
a2e76b01c2 2024-01-26   96: 		[1800] = "宝玉兽-青玉飞马",
a2e76b01c2 2024-01-26   97: 		[1900] = "命运英雄 血魔-D",
a2e76b01c2 2024-01-26   98: 		[2000] = "流离的狮鹫骑手",
a2e76b01c2 2024-01-26   99: 		[2100] = "电子龙",
a2e76b01c2 2024-01-26  100: 		[2200] = "古遗物-死镰",
a2e76b01c2 2024-01-26  101: 		[2300] = "能朋克 调狐",
a2e76b01c2 2024-01-26  102: 		[2400] = "俱舍怒威族·芬里尔狼",
a2e76b01c2 2024-01-26  103: 		[2500] = "黑魔术师",
a2e76b01c2 2024-01-26  104: 		[2600] = "雅典娜",
a2e76b01c2 2024-01-26  105: 		[2700] = "暗黑界的龙神 格拉法",
a2e76b01c2 2024-01-26  106: 		[2800] = "魔导兽 刻耳柏洛斯尊主",
a2e76b01c2 2024-01-26  107: 		[2900] = "元素英雄 永生侠",
a2e76b01c2 2024-01-26  108: 		[3000] = "青眼白龙",
a2e76b01c2 2024-01-26  109: 	}
a2e76b01c2 2024-01-26  110: 	str["对方玩家的初始生命值"] = Duel.GetLP(1)
a2e76b01c2 2024-01-26  111: 	str["效果"] = Effect.GlobalEffect()
a2e76b01c2 2024-01-26  112: 	str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
a2e76b01c2 2024-01-26  113: 	str["效果"]:SetCode(EVENT_PHASE_START + PHASE_END)
a2e76b01c2 2024-01-26  114: 	function cache_1(effect_event, player_who_activate_the_effect) --{
a2e76b01c2 2024-01-26  115: 		cache_1 = Duel.GetLP(1) - str["对方玩家的初始生命值"]
a2e76b01c2 2024-01-26  116: 		if cache_1 > 0 then --{
a2e76b01c2 2024-01-26  117: 			return
a2e76b01c2 2024-01-26  118: 		--}
a2e76b01c2 2024-01-26  119: 		else --{
a2e76b01c2 2024-01-26  120: 			cache_1 = math.abs(cache_1) / (str["对方玩家的初始生命值"] - 100)
a2e76b01c2 2024-01-26  121: 			cache_1 = math.tointeger(cache_1 * 3000 // 100 * 100)
a2e76b01c2 2024-01-26  122: 		end --}
a2e76b01c2 2024-01-26  123: 		if cache_1 > 3000 then --{
a2e76b01c2 2024-01-26  124: 		--}
a2e76b01c2 2024-01-26  125: 		else --{
a2e76b01c2 2024-01-26  126: 			Debug.ShowHint(
a2e76b01c2 2024-01-26  127: 				"这局,您的得分是 "
a2e76b01c2 2024-01-26  128: 					.. cache_1
a2e76b01c2 2024-01-26  129: 					.. " 分!\n处于「"
a2e76b01c2 2024-01-26  130: 					.. str["失败得分表"][cache_1]
a2e76b01c2 2024-01-26  131: 					.. "」级别!"
a2e76b01c2 2024-01-26  132: 			)
a2e76b01c2 2024-01-26  133: 		end --}
a2e76b01c2 2024-01-26  134: 		effect_event:Reset()
a2e76b01c2 2024-01-26  135: 	end --}
a2e76b01c2 2024-01-26  136: 	str["效果"]:SetOperation(cache_1)
a2e76b01c2 2024-01-26  137: 	Duel.RegisterEffect(str["效果"], 0)
a2e76b01c2 2024-01-26  138: end --}
155b00bc3f 2024-01-23  139: fun["一_该效果不能被连锁"] = function() --{
a2e76b01c2 2024-01-26  140: 	Duel.SetChainLimit(aux.FALSE)
a2e76b01c2 2024-01-26  141: 	return true
a2e76b01c2 2024-01-26  142: end --}
155b00bc3f 2024-01-23  143: fun["一_通关邀请"] = function() --{
a2e76b01c2 2024-01-26  144: 	--备用:圣魔术师
a2e76b01c2 2024-01-26  145: 	str["原解邀请"] = "残局群181175613"
a2e76b01c2 2024-01-26  146: 	str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
a2e76b01c2 2024-01-26  147: 	str["效果"] = Effect.GlobalEffect()
a2e76b01c2 2024-01-26  148: 	str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
a2e76b01c2 2024-01-26  149: 	str["效果"]:SetCode(EVENT_DAMAGE)
a2e76b01c2 2024-01-26  150: 	function cache_1() --{
a2e76b01c2 2024-01-26  151: 		cache_1 = Duel.GetLP(1)
a2e76b01c2 2024-01-26  152: 		if cache_1 <= 0 then --{
a2e76b01c2 2024-01-26  153: 			if cache_1 == 0 then --{
a2e76b01c2 2024-01-26  154: 			--}
a2e76b01c2 2024-01-26  155: 			else --{
a2e76b01c2 2024-01-26  156: 				Debug.ShowHint(str["二解邀请"])
a2e76b01c2 2024-01-26  157: 			end --}
a2e76b01c2 2024-01-26  158: 			Debug.ShowHint(str["原解邀请"])
a2e76b01c2 2024-01-26  159: 		--}
a2e76b01c2 2024-01-26  160: 		else --{
a2e76b01c2 2024-01-26  161: 			return false
a2e76b01c2 2024-01-26  162: 		end --}
a2e76b01c2 2024-01-26  163: 	end --}
a2e76b01c2 2024-01-26  164: 	str["效果"]:SetCondition(cache_1)
a2e76b01c2 2024-01-26  165: 	str["效果"]:SetOperation(aux.NULL)
a2e76b01c2 2024-01-26  166: 	Duel.RegisterEffect(str["效果"], 0)
a2e76b01c2 2024-01-26  167: end --}
155b00bc3f 2024-01-23  168: fun["一_是否效果卡"] = function(card) --{
a2e76b01c2 2024-01-26  169: 	for i = 1, #str["效果卡的种类表"] do --{
a2e76b01c2 2024-01-26  170: 		if Card.IsType(card, str["效果卡的种类表"][i]) then --{
a2e76b01c2 2024-01-26  171: 			return true
a2e76b01c2 2024-01-26  172: 		end --}
a2e76b01c2 2024-01-26  173: 	end --}
a2e76b01c2 2024-01-26  174: 	if Card.IsType(card, TYPE_PENDULUM) then --{
a2e76b01c2 2024-01-26  175: 		for i = 1, #str["无效果灵摆怪兽表"] do --{
a2e76b01c2 2024-01-26  176: 			if Card.IsCode(card, str["无效果灵摆怪兽表"][i]) then --{
a2e76b01c2 2024-01-26  177: 			--}
a2e76b01c2 2024-01-26  178: 			else --{
a2e76b01c2 2024-01-26  179: 				return true
a2e76b01c2 2024-01-26  180: 			end --}
a2e76b01c2 2024-01-26  181: 		end --}
a2e76b01c2 2024-01-26  182: 	end --}
a2e76b01c2 2024-01-26  183: 	return false
a2e76b01c2 2024-01-26  184: end --}
155b00bc3f 2024-01-23  185: fun["一_开局添加手卡"] = function(str_1) --{
a2e76b01c2 2024-01-26  186: 	str["开局添加手卡"] = true
a2e76b01c2 2024-01-26  187: 	str["开局添加手卡的数量"] = str_1
a2e76b01c2 2024-01-26  188: 	str["效果"] = Effect.GlobalEffect()
a2e76b01c2 2024-01-26  189: 	str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
a2e76b01c2 2024-01-26  190: 	str["效果"]:SetCode(EVENT_ADJUST)
a2e76b01c2 2024-01-26  191: 	str["效果"]:SetCondition(aux.TRUE)
a2e76b01c2 2024-01-26  192: 	function cache_1(effect_event, player_who_activate_the_effect) --{
a2e76b01c2 2024-01-26  193: 		str["玩家选定的卡"] = Duel.SelectMatchingCard(
a2e76b01c2 2024-01-26  194: 			player_who_activate_the_effect,
a2e76b01c2 2024-01-26  195: 			Card.IsAbleToHand,
a2e76b01c2 2024-01-26  196: 			player_who_activate_the_effect,
a2e76b01c2 2024-01-26  197: 			LOCATION_DECK,
a2e76b01c2 2024-01-26  198: 			0,
a2e76b01c2 2024-01-26  199: 			str_1,
a2e76b01c2 2024-01-26  200: 			str_1,
a2e76b01c2 2024-01-26  201: 			nil
a2e76b01c2 2024-01-26  202: 		)
a2e76b01c2 2024-01-26  203: 		Duel.SendtoHand(str["玩家选定的卡"], nil, REASON_RULE)
a2e76b01c2 2024-01-26  204: 		effect_event:Reset()
a2e76b01c2 2024-01-26  205: 	end --}
a2e76b01c2 2024-01-26  206: 	str["效果"]:SetOperation(cache_1)
a2e76b01c2 2024-01-26  207: 	Duel.RegisterEffect(str["效果"], 0)
a2e76b01c2 2024-01-26  208: end --}
155b00bc3f 2024-01-23  209: fun["一_禁格"] = function(str_1) --{
a2e76b01c2 2024-01-26  210: 	str["禁格"] = true
a2e76b01c2 2024-01-26  211: 	str["禁格的数量"] = str_1
a2e76b01c2 2024-01-26  212: 	str["效果"] = Effect.GlobalEffect()
a2e76b01c2 2024-01-26  213: 	str["效果"]:SetCode(EFFECT_USE_EXTRA_MZONE)
a2e76b01c2 2024-01-26  214: 	str["效果"]:SetValue(str_1)
a2e76b01c2 2024-01-26  215: 	Duel.RegisterEffect(str["效果"], 0)
a2e76b01c2 2024-01-26  216: end --}
155b00bc3f 2024-01-23  217: --第二层-------------------------------
dd1a253607 2023-08-02  218: local cache_1
dd1a253607 2023-08-02  219: local cache_2
dd1a253607 2023-08-02  220: local cache_3
dd1a253607 2023-08-02  221: local cache_4
dd1a253607 2023-08-02  222: local cache_5
dd1a253607 2023-08-02  223: local cache_6
dd1a253607 2023-08-02  224: local cache_7
dd1a253607 2023-08-02  225: local cache_8
dd1a253607 2023-08-02  226: local cache_9
dd1a253607 2023-08-02  227: local _
155b00bc3f 2024-01-23  228: fun["Debug.ReloadFieldEnd"] = Debug.ReloadFieldEnd
155b00bc3f 2024-01-23  229: Debug.ReloadFieldEnd = function(str_1) --{
a2e76b01c2 2024-01-26  230: 	fun["Debug.ReloadFieldEnd"]()
a2e76b01c2 2024-01-26  231: 	if str_1 then --{
a2e76b01c2 2024-01-26  232: 		fun["一_随机抽卡"](str_1)
a2e76b01c2 2024-01-26  233: 	end --}
a2e76b01c2 2024-01-26  234: end --}
155b00bc3f 2024-01-23  235: fun["二_印卡"] = function(str_1, str_2, str_3) --{
a2e76b01c2 2024-01-26  236: 	if str_3 then --{
a2e76b01c2 2024-01-26  237: 	--}
a2e76b01c2 2024-01-26  238: 	else --{
a2e76b01c2 2024-01-26  239: 		str_3 = str_2
a2e76b01c2 2024-01-26  240: 	end --}
a2e76b01c2 2024-01-26  241: 	Debug.ShowHint(
a2e76b01c2 2024-01-26  242: 		"点击对方额外卡组可以进行印卡。\n手卡只能印 "
a2e76b01c2 2024-01-26  243: 			.. str_2
a2e76b01c2 2024-01-26  244: 			.. " 张。\n最多可以印 "
a2e76b01c2 2024-01-26  245: 			.. str_3
a2e76b01c2 2024-01-26  246: 			.. " 张"
a2e76b01c2 2024-01-26  247: 	)
a2e76b01c2 2024-01-26  248: 	str["效果"] = Effect.CreateEffect(str_1)
a2e76b01c2 2024-01-26  249: 	str["当前印卡数"] = 1
a2e76b01c2 2024-01-26  250: 	str["效果"]:SetType(EFFECT_TYPE_IGNITION)
a2e76b01c2 2024-01-26  251: 	str["效果"]:SetProperty(
a2e76b01c2 2024-01-26  252: 		EFFECT_FLAG_BOTH_SIDE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_CANNOT_NEGATE + EFFECT_FLAG_CANNOT_DISABLE
a2e76b01c2 2024-01-26  253: 	)
a2e76b01c2 2024-01-26  254: 	str["效果"]:SetTarget(fun["一_该效果不能被连锁"])
a2e76b01c2 2024-01-26  255: 	str["效果"]:SetRange(LOCATION_EXTRA)
a2e76b01c2 2024-01-26  256: 	function print_hand(effect_event, player_who_activate_the_effect) --{
a2e76b01c2 2024-01-26  257: 		announce_card = Duel.AnnounceCard(player_who_activate_the_effect)
a2e76b01c2 2024-01-26  258: 		card = Duel.CreateToken(player_who_activate_the_effect, announce_card)
a2e76b01c2 2024-01-26  259: 		if str["当前印卡数"] <= str_2 then --{
a2e76b01c2 2024-01-26  260: 			str["当前印卡数"] = str["当前印卡数"] + 1
a2e76b01c2 2024-01-26  261: 			Duel.SendtoHand(card, nil, REASON_RULE)
a2e76b01c2 2024-01-26  262: 		--}
a2e76b01c2 2024-01-26  263: 		else --{
a2e76b01c2 2024-01-26  264: 			if str["当前印卡数"] <= str_3 then --{
a2e76b01c2 2024-01-26  265: 				str["当前印卡数"] = str["当前印卡数"] + 1
a2e76b01c2 2024-01-26  266: 				Duel.Remove(card, POS_FACEUP, REASON_RULE)
a2e76b01c2 2024-01-26  267: 				Duel.SendtoDeck(card, player_who_activate_the_effect, 0, REASON_RULE)
a2e76b01c2 2024-01-26  268: 			--}
a2e76b01c2 2024-01-26  269: 			else --{
a2e76b01c2 2024-01-26  270: 				Debug.ShowHint("印卡过多!")
a2e76b01c2 2024-01-26  271: 				effect_event:Reset()
a2e76b01c2 2024-01-26  272: 			end --}
a2e76b01c2 2024-01-26  273: 		end --}
a2e76b01c2 2024-01-26  274: 	end --}
a2e76b01c2 2024-01-26  275: 	str["效果"]:SetOperation(print_hand)
a2e76b01c2 2024-01-26  276: 	str_1:RegisterEffect(str["效果"])
a2e76b01c2 2024-01-26  277: end --}
155b00bc3f 2024-01-23  278: fun["二_开局说明"] = function() --{
a2e76b01c2 2024-01-26  279: 	str["这个残局的效果卡数量"] =
a2e76b01c2 2024-01-26  280: 		Duel.GetMatchingGroupCount(fun["是否效果卡"], 0, str["所有区域"], str["所有区域"], nil)
a2e76b01c2 2024-01-26  281: 	str["超量素材组"] = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE)
a2e76b01c2 2024-01-26  282: 	for k in aux.Next(str["超量素材组"]) do --{
a2e76b01c2 2024-01-26  283: 		if fun["一_是否效果卡"](k) then --{
a2e76b01c2 2024-01-26  284: 			str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1
a2e76b01c2 2024-01-26  285: 		end --}
a2e76b01c2 2024-01-26  286: 	end --}
a2e76b01c2 2024-01-26  287: 	str["开局说明"] = str["这个残局的效果卡数量"] .. "卡 " .. str["规则"]
a2e76b01c2 2024-01-26  288: 	if str["不洗牌"] == 0 then --{
a2e76b01c2 2024-01-26  289: 	--}
a2e76b01c2 2024-01-26  290: 	else --{
a2e76b01c2 2024-01-26  291: 		str["开局说明"] = str["开局说明"] .. "伪洗牌 "
a2e76b01c2 2024-01-26  292: 	end --}
a2e76b01c2 2024-01-26  293: 	if str["无BP"] == 0 then --{
a2e76b01c2 2024-01-26  294: 		str["开局说明"] = str["开局说明"] .. "无BP "
a2e76b01c2 2024-01-26  295: 	end --}
a2e76b01c2 2024-01-26  296: 	if str["无AI"] == 0 then --{
a2e76b01c2 2024-01-26  297: 		str["开局说明"] = str["开局说明"] .. "无AI "
a2e76b01c2 2024-01-26  298: 	end --}
a2e76b01c2 2024-01-26  299: 	if str["开局添加手卡"] then --{
a2e76b01c2 2024-01-26  300: 		str["开局说明"] = str["开局说明"] .. "选" .. str["开局添加手卡的数量"] .. "卡 "
a2e76b01c2 2024-01-26  301: 	end --}
a2e76b01c2 2024-01-26  302: 	if str["禁格"] then --{
a2e76b01c2 2024-01-26  303: 		str["开局说明"] = str["开局说明"] .. "禁" .. str["禁格的数量"] .. "格 "
a2e76b01c2 2024-01-26  304: 	end --}
a2e76b01c2 2024-01-26  305: 	if str["随机抽卡的数量"] then --{
a2e76b01c2 2024-01-26  306: 		str["开局说明"] = str["开局说明"] .. "抽" .. str["随机抽卡的数量"] .. "卡 "
a2e76b01c2 2024-01-26  307: 	end --}
a2e76b01c2 2024-01-26  308: 	Debug.ShowHint(str["开局说明"])
a2e76b01c2 2024-01-26  309: end --}
155b00bc3f 2024-01-23  310: --第三层-------------------------------
e59d27b43b 2023-07-17  311: local cache_1
e59d27b43b 2023-07-17  312: local cache_2
e59d27b43b 2023-07-17  313: local cache_3
e59d27b43b 2023-07-17  314: local cache_4
e59d27b43b 2023-07-17  315: local cache_5
27cb01cd8e 2023-07-17  316: local cache_6
27cb01cd8e 2023-07-17  317: local cache_7
27cb01cd8e 2023-07-17  318: local cache_8
27cb01cd8e 2023-07-17  319: local cache_9
155b00bc3f 2024-01-23  320: local _
155b00bc3f 2024-01-23  321: fun["aux.BeginPuzzle"] = aux.BeginPuzzle
155b00bc3f 2024-01-23  322: aux.BeginPuzzle = function(str_1, str_2) --{
a2e76b01c2 2024-01-26  323: 	fun["aux.BeginPuzzle"]()
a2e76b01c2 2024-01-26  324: 	if str_1 then --{
a2e76b01c2 2024-01-26  325: 		fun["一_开局添加手卡"](str_1)
a2e76b01c2 2024-01-26  326: 	end --}
a2e76b01c2 2024-01-26  327: 	if str_2 then --{
a2e76b01c2 2024-01-26  328: 		fun["一_禁格"](str_2)
a2e76b01c2 2024-01-26  329: 	end --}
a2e76b01c2 2024-01-26  330: 	fun["二_开局说明"]()
a2e76b01c2 2024-01-26  331: 	fun["一_通关邀请"]()
a2e76b01c2 2024-01-26  332: 	fun["一_失败得分"]()
a2e76b01c2 2024-01-26  333: end --}
155b00bc3f 2024-01-23  334: --兼容层-------------------------------
30619e5bbd 2023-08-02  335: fun["印卡"] = fun["二_印卡"]
30619e5bbd 2023-08-02  336: fun["开局添加手卡"] = fun["一_开局添加手卡"]
30619e5bbd 2023-08-02  337: fun["是否效果卡"] = fun["一_是否效果卡"]
30619e5bbd 2023-08-02  338: fun["禁格"] = fun["一_禁格"]
30619e5bbd 2023-08-02  339: fun["随机抽卡"] = fun["一_随机抽卡"]