Lines of
single_doc/三个绑定函数.html
from check-in e1b217bace
that are changed by the sequence of edits moving toward
check-in 580b09114c:
1: <!DOCTYPE html>
2: <html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
3: <head>
4: <meta charset="utf-8" />
5: <meta name="generator" content="pandoc" />
6: <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
7: <title>三个绑定函数</title>
8: <style>
9: code{white-space: pre-wrap;}
10: span.smallcaps{font-variant: small-caps;}
11: div.columns{display: flex; gap: min(4vw, 1.5em);}
12: div.column{flex: auto; overflow-x: auto;}
13: div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
14:
15: ul.task-list[class]{list-style: none;}
16: ul.task-list li input[type="checkbox"] {
17: font-size: inherit;
18: width: 0.8em;
19: margin: 0 0.8em 0.2em -1.6em;
20: vertical-align: middle;
21: }
22: .display.math{display: block; text-align: center; margin: 0.5rem auto;}
23: </style>
24: <style type="text/css">@media screen and (min-aspect-ratio:1/1) {html {background-color: f8f8f8;background-image:linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);background-size: 8px 8px;background-position: 0 0, 16px 8px;}body {border: solid #a0a0a0 1px ;border-radius: 20px ;padding: 26px ;margin: 16px ;color: #101010 ;background: linear-gradient(to right, #efefefff, #efefeffc);padding: 2em 18%;line-height: 2.1em;box-shadow: 0px 0px 1px rgba(160, 160, 160, 1), 0px 0px 1px rgba(160, 160, 160, 1);}}h1,h2,h3,h4,h5,h6 {font-size: 1.5em;color: #3F5770;border-bottom: 0.1em solid #666666;margin: 1.2em 0em;}a {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;background-color: white;text-decoration-color: blue;}a:visited {color: blue;text-decoration-color: white;}a:active {color: red;}nav ul li {margin: 1.2em 0em;}p::before {content: " ";}p {margin: 1.2em 0;}.title {background-color: white;font-size: 2em;text-align: center;}b {background-color: white;list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;}details > summary {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;}details > summary:active {color: red;}pre {background: #f6f6f6;border-left: 0.5em solid #ccc;padding: 0.4em;border-radius: 0.2em;overflow-wrap:break-word;}pre:active {color: red;}code {font-family: "Verdana";}button {background: #ffffff;color: #20894d;}button:active {color: red;}</style>
25: <!--[if lt IE 9]>
26: <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
27: <![endif]-->
28: </head>
29: <body>
30: <header id="title-block-header">
31: <h1 class="title">三个绑定函数</h1>
32: </header>
33: <nav id="TOC" role="doc-toc">
34: <ul>
35: <li><a href="#presummon" id="toc-presummon"><span class="toc-section-number">1</span> PreSummon</a></li>
36: </ul>
37: </nav>
38: <h1 data-number="1" id="presummon"><span class="header-section-number">1</span> PreSummon</h1>
39: <p>Debug.PreSummon(卡, 召唤类型[, 从哪个区域特召到场上])</p>
40: <details>
41: <summary>
42: 补充
43: </summary>
e1b217bace 2023-09-09 44: <pre><code>●void Debug.PreSummon(Card c, int sum_type[, int sum_location=0])
e1b217bace 2023-09-09 45: 设置卡片c的召唤信息:以 sum_type 方法(通常召唤、特殊召唤等)[从 sum_location]出场</code></pre>
46: </details>
e1b217bace 2023-09-09 47: <p>sum_type的可选值:</p>
48: <pre><code>--Summon Type --召唤类型
e1b217bace 2023-09-09 49: SUMMON_TYPE_NORMAL =0x10000000 --通常召唤(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用Value修改數值)
50: SUMMON_TYPE_ADVANCE =0x11000000 --上级召唤
51: SUMMON_TYPE_DUAL =0x12000000 --再度召唤(二重)
52: SUMMON_TYPE_FLIP =0x20000000 --翻转召唤
e1b217bace 2023-09-09 53: SUMMON_TYPE_SPECIAL =0x40000000 --特殊召唤(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用Value修改數值)
54: SUMMON_TYPE_FUSION =0x43000000 --融合召唤
55: SUMMON_TYPE_RITUAL =0x45000000 --仪式召唤
56: SUMMON_TYPE_SYNCHRO =0x46000000 --同调召唤
57: SUMMON_TYPE_XYZ =0x49000000 --超量召唤
58: SUMMON_TYPE_PENDULUM =0x4a000000 --灵摆召唤
59: SUMMON_TYPE_LINK =0x4c000000 --连接召唤</code></pre>
e1b217bace 2023-09-09 60: <p>●bool Debug.PreEquip(Card equip_card, Card target)
e1b217bace 2023-09-09 61: 为target添加装备equip_card ,返回值表示是否成功</p>
e1b217bace 2023-09-09 62: <p>●void Debug.PreSetTarget(Card c, Card target)
e1b217bace 2023-09-09 63: 把target选为c的永续对象</p>
64: <script>
65:
66: document.onclick = function(event) {
67:
68: var target = event.target
69:
70: if (target.tagName == "PRE"
71: || target.tagName == "CODE") {
72: if (window.getSelection().toString() !== "") {
73: return
74: }
75: var range = document.createRange();
76: range.selectNodeContents(target);
77: window.getSelection().removeAllRanges();
78: window.getSelection().addRange(range);
79: var successful = document.execCommand("copy");
80: target.removeAttribute("contenteditable");
81: window.getSelection().removeAllRanges();
82: }
83:
84: }
85:
86: </script>
87: </body>
88: </html>