Deploying to gh-pages from @ LingASDJ/RW-API-Code@7bd3b27c5e 🚀
This commit is contained in:
parent
01fa7f37b3
commit
9e2f1ca7db
10
api-dev.html
10
api-dev.html
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{_ as tn,o as nn,b as rn,w as an,l as sn,p as on,m as cn,k as T,G as le,a5 as ln,a6 as un,a7 as dn,a8 as fn,a9 as hn,aa as pn,ab as mn,ac as gn,ad as bn,ae as _n,$ as In,d as yn,u as En,j as wn,A as Tn,af as vn,ag as An,ah as Sn,ai as Cn}from"./chunks/framework.d377e0cc.js";import{t as rt}from"./chunks/theme.4e394fcc.js";/**
|
||||
import{_ as tn,o as nn,b as rn,w as an,l as sn,p as on,m as cn,k as T,G as le,a5 as ln,a6 as un,a7 as dn,a8 as fn,a9 as hn,aa as pn,ab as mn,ac as gn,ad as bn,ae as _n,$ as In,d as yn,u as En,j as wn,A as Tn,af as vn,ag as An,ah as Sn,ai as Cn}from"./chunks/framework.d377e0cc.js";import{t as rt}from"./chunks/theme.c4d0bb19.js";/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
*
|
1
assets/chunks/@localSearchIndexroot.6823a43c.js
Normal file
1
assets/chunks/@localSearchIndexroot.6823a43c.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/cos.md.c9635cbb.js
Normal file
1
assets/cos.md.c9635cbb.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{_ as t,o as a,c as s,X as r}from"./chunks/framework.d377e0cc.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"cos.md","filePath":"cos.md"}'),e={name:"cos.md"},b=r('<h3 id="站点开发贡献者-截止到2023-8-22" tabindex="-1">站点开发贡献者-截止到2023-8-22 <a class="header-anchor" href="#站点开发贡献者-截止到2023-8-22" aria-label="Permalink to "站点开发贡献者-截止到2023-8-22""></a></h3><table><tr><td align="center"><a href="https://github.com/shishanyue"><img src="https://avatars.githubusercontent.com/u/62888460?v=4" width="100;" alt="shishanyue"><br><sub><b>Shishanyue</b></sub><br>RWE作者 <br>第一深度 </a></td><td align="center"><a href="https://github.com/LingASDJ"><img src="https://avatars.githubusercontent.com/u/70191651?v=4" width="100;" alt="LingASDJ"><br><sub><b>JDSA Ling</b></sub><br>站长 </a></td><td align="center"><a href="https://github.com/tobby3600"><img src="https://avatars.githubusercontent.com/u/79432329?v=4" width="100;" alt="tobby3600"><br><sub><b>Tobby</b></sub><br>逻辑组 </a></td><td align="center"><a href="https://github.com/mason369"><img src="https://avatars.githubusercontent.com/u/93964390?v=4" width="100;" alt="mason369"><br><sub><b>Mason</b></sub><br>技术支持 <br>副站长 </a></td><td align="center"><a href="https://github.com/liusxs"><img src="https://avatars.githubusercontent.com/u/101164913?v=4" width="100;" alt="liusxs"><br><sub><b>Liuliu</b></sub><br>布局优化 <br>副站长 </a></td><td align="center"><a href="https://github.com/allureluoli"><img src="https://avatars.githubusercontent.com/u/106828088?v=4" width="100;" alt="allureluoli"><br><sub><b>二月</b></sub><br>图像组 <br>二月可爱捏 </a></td></tr><tr><td align="center"><a href="https://github.com/WisenextTime"><img src="https://avatars.githubusercontent.com/u/141509640?v=4" width="100;" alt="WisenextTime"><br><sub><b>作业中毒</b></sub><br>刷兵运动组 <br>催逝员 </a></td><td align="center"><a href="https://github.com/Thisisafox"><img src="https://avatars.githubusercontent.com/u/141534430?v=4" width="100;" alt="Thisisafox"><br><sub><b>屑狐狸</b></sub><br>附属攻击组 <br>大聪明 </a></td><td align="center"><a href="#"><img src="https://avatars.githubusercontent.com/in/29110?s=64&v=4" width="100;" alt="Thisisafox"><br><sub><b>???</b></sub><br>更多贡献者 <br>等待你的到来 </a></td></tr></table>',2),i=[b];function h(u,c,n,o,l,d){return a(),s("div",null,i)}const p=t(e,[["render",h]]);export{g as __pageData,p as default};
|
1
assets/cos.md.c9635cbb.lean.js
Normal file
1
assets/cos.md.c9635cbb.lean.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{_ as t,o as a,c as s,X as r}from"./chunks/framework.d377e0cc.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"cos.md","filePath":"cos.md"}'),e={name:"cos.md"},b=r("",2),i=[b];function h(u,c,n,o,l,d){return a(),s("div",null,i)}const p=t(e,[["render",h]]);export{g as __pageData,p as default};
|
37
assets/src_Unit_attachment.md.278f3818.js
Normal file
37
assets/src_Unit_attachment.md.278f3818.js
Normal file
|
@ -0,0 +1,37 @@
|
|||
import{_ as a,o as e,c as t,X as n}from"./chunks/framework.d377e0cc.js";const b=JSON.parse('{"title":"[attachment]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/attachment.md","filePath":"src/Unit/attachment.md"}'),i={name:"src/Unit/attachment.md"},o=n(`<h1 id="attachment-组" tabindex="-1"><strong>[attachment]组</strong> <a class="header-anchor" href="#attachment-组" aria-label="Permalink to "**[attachment]组**""></a></h1><h2 id="第一类-附属代码组" tabindex="-1">第一类-附属代码组 <a class="header-anchor" href="#第一类-附属代码组" aria-label="Permalink to "第一类-附属代码组""></a></h2><h3 id="x-y" tabindex="-1">x/y <a class="header-anchor" href="#x-y" aria-label="Permalink to "x/y""></a></h3><h4 id="x-y-代码简介" tabindex="-1">x/y-代码简介 <a class="header-anchor" href="#x-y-代码简介" aria-label="Permalink to "x/y-代码简介""></a></h4><p>代码:x/y 中文释义:x坐标/y坐标 类型:逻辑布尔值LogicBoolean 隶属于:附属代码组</p><h4 id="x-y-要点指示" tabindex="-1">x/y-要点指示 <a class="header-anchor" href="#x-y-要点指示" aria-label="Permalink to "x/y-要点指示""></a></h4><p>相对主体单位的x偏移坐标/y偏移坐标</p><h4 id="x-y-演示例子" tabindex="-1">x/y-演示例子 <a class="header-anchor" href="#x-y-演示例子" aria-label="Permalink to "x/y-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">x:10</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">y:10</span></span></code></pre></div><hr><h3 id="height" tabindex="-1">height <a class="header-anchor" href="#height" aria-label="Permalink to "height""></a></h3><h4 id="height-代码简介" tabindex="-1">height-代码简介 <a class="header-anchor" href="#height-代码简介" aria-label="Permalink to "height-代码简介""></a></h4><p>代码:height 中文释义:高度 类型:浮点值float 隶属于:附属代码组</p><h4 id="height-要点指示" tabindex="-1">height-要点指示 <a class="header-anchor" href="#height-要点指示" aria-label="Permalink to "height-要点指示""></a></h4><p>附属基于主体单位的高度</p><h4 id="height-演示例子" tabindex="-1">height-演示例子 <a class="header-anchor" href="#height-演示例子" aria-label="Permalink to "height-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">height:10.5</span></span></code></pre></div><hr><h3 id="idledir" tabindex="-1">idleDir <a class="header-anchor" href="#idledir" aria-label="Permalink to "idleDir""></a></h3><h4 id="idledir-代码简介" tabindex="-1">idleDir-代码简介 <a class="header-anchor" href="#idledir-代码简介" aria-label="Permalink to "idleDir-代码简介""></a></h4><p>代码:idleDir 中文释义:闲置角度 类型:浮点值float 隶属于:附属代码组</p><h4 id="idledir-要点指示" tabindex="-1">idleDir-要点指示 <a class="header-anchor" href="#idledir-要点指示" aria-label="Permalink to "idleDir-要点指示""></a></h4><p>闲置时的角度</p><h4 id="idledir-演示例子" tabindex="-1">idleDir-演示例子 <a class="header-anchor" href="#idledir-演示例子" aria-label="Permalink to "idleDir-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">idleDir:45</span></span></code></pre></div><hr><h3 id="idledirreversing" tabindex="-1">idleDirReversing <a class="header-anchor" href="#idledirreversing" aria-label="Permalink to "idleDirReversing""></a></h3><h4 id="idledirreversing-代码简介" tabindex="-1">idleDirReversing-代码简介 <a class="header-anchor" href="#idledirreversing-代码简介" aria-label="Permalink to "idleDirReversing-代码简介""></a></h4><p>代码:idleDirReversing 中文释义:闲置角度反转 类型:布尔值bool 隶属于:附属代码组</p><h4 id="idledirreversing-要点指示" tabindex="-1">idleDirReversing-要点指示 <a class="header-anchor" href="#idledirreversing-要点指示" aria-label="Permalink to "idleDirReversing-要点指示""></a></h4><p>闲置时的角度在部分情况下反转</p><h4 id="idledirreversing-演示例子" tabindex="-1">idleDirReversing-演示例子 <a class="header-anchor" href="#idledirreversing-演示例子" aria-label="Permalink to "idleDirReversing-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">idleDirReversing:true</span></span></code></pre></div><hr><h3 id="isvisible" tabindex="-1">isVisible <a class="header-anchor" href="#isvisible" aria-label="Permalink to "isVisible""></a></h3><h4 id="isvisible-代码简介" tabindex="-1">isVisible-代码简介 <a class="header-anchor" href="#isvisible-代码简介" aria-label="Permalink to "isVisible-代码简介""></a></h4><p>代码:isVisible 中文释义:是可见的 类型:逻辑布尔值LogicBoolean 隶属于:附属代码组</p><h4 id="isvisible-要点指示" tabindex="-1">isVisible-要点指示 <a class="header-anchor" href="#isvisible-要点指示" aria-label="Permalink to "isVisible-要点指示""></a></h4><p>输出false时隐藏附属内单位</p><h4 id="isvisible-演示例子" tabindex="-1">isVisible-演示例子 <a class="header-anchor" href="#isvisible-演示例子" aria-label="Permalink to "isVisible-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">isVisible:if self.hp>=100</span></span></code></pre></div><hr><h3 id="hidden" tabindex="-1">hidden <a class="header-anchor" href="#hidden" aria-label="Permalink to "hidden""></a></h3><h4 id="hidden-代码简介" tabindex="-1">hidden-代码简介 <a class="header-anchor" href="#hidden-代码简介" aria-label="Permalink to "hidden-代码简介""></a></h4><p>代码:hidden 中文释义:隐藏 类型:布尔值bool 隶属于:附属代码组</p><h4 id="hidden-要点指示" tabindex="-1">hidden-要点指示 <a class="header-anchor" href="#hidden-要点指示" aria-label="Permalink to "hidden-要点指示""></a></h4><p>隐藏此附属内的单位</p><h4 id="hidden-演示例子" tabindex="-1">hidden-演示例子 <a class="header-anchor" href="#hidden-演示例子" aria-label="Permalink to "hidden-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">hidden:true</span></span></code></pre></div><hr><h3 id="oncreatespawnunitof" tabindex="-1">onCreateSpawnUnitOf <a class="header-anchor" href="#oncreatespawnunitof" aria-label="Permalink to "onCreateSpawnUnitOf""></a></h3><h4 id="oncreatespawnunitof-代码简介" tabindex="-1">onCreateSpawnUnitOf-代码简介 <a class="header-anchor" href="#oncreatespawnunitof-代码简介" aria-label="Permalink to "onCreateSpawnUnitOf-代码简介""></a></h4><p>代码:onCreateSpawnUnitOf 中文释义:创建添加单位 类型:单位unit 隶属于:附属代码组</p><h4 id="oncreatespawnunitof-要点指示" tabindex="-1">onCreateSpawnUnitOf-要点指示 <a class="header-anchor" href="#oncreatespawnunitof-要点指示" aria-label="Permalink to "onCreateSpawnUnitOf-要点指示""></a></h4><p>创建时向此附属位添加的单位</p><h4 id="oncreatespawnunitof-演示例子" tabindex="-1">onCreateSpawnUnitOf-演示例子 <a class="header-anchor" href="#oncreatespawnunitof-演示例子" aria-label="Permalink to "onCreateSpawnUnitOf-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">onCreateSpawnUnitOf:tank</span></span></code></pre></div><hr><h3 id="canbeattackedanddamaged" tabindex="-1">canBeAttackedAndDamaged <a class="header-anchor" href="#canbeattackedanddamaged" aria-label="Permalink to "canBeAttackedAndDamaged""></a></h3><h4 id="canbeattackedanddamaged-代码简介" tabindex="-1">canBeAttackedAndDamaged-代码简介 <a class="header-anchor" href="#canbeattackedanddamaged-代码简介" aria-label="Permalink to "canBeAttackedAndDamaged-代码简介""></a></h4><p>代码:canBeAttackedAndDamaged 中文释义:可被攻击或伤害 类型:布尔值bool 隶属于:附属代码组</p><h4 id="canbeattackedanddamaged-要点指示" tabindex="-1">canBeAttackedAndDamaged-要点指示 <a class="header-anchor" href="#canbeattackedanddamaged-要点指示" aria-label="Permalink to "canBeAttackedAndDamaged-要点指示""></a></h4><p>设置此附属内的单位可被攻击或伤害</p><h4 id="canbeattackedanddamaged-演示例子" tabindex="-1">canBeAttackedAndDamaged-演示例子 <a class="header-anchor" href="#canbeattackedanddamaged-演示例子" aria-label="Permalink to "canBeAttackedAndDamaged-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">canBeAttackedAndDamaged:true</span></span></code></pre></div><hr><h3 id="isunselectable" tabindex="-1">isUnselectable <a class="header-anchor" href="#isunselectable" aria-label="Permalink to "isUnselectable""></a></h3><h4 id="isunselectable-代码简介" tabindex="-1">isUnselectable-代码简介 <a class="header-anchor" href="#isunselectable-代码简介" aria-label="Permalink to "isUnselectable-代码简介""></a></h4><p>代码:isUnselectable 中文释义:无法选择 类型:布尔值bool 隶属于:附属代码组</p><h4 id="isunselectable-要点指示" tabindex="-1">isUnselectable-要点指示 <a class="header-anchor" href="#isunselectable-要点指示" aria-label="Permalink to "isUnselectable-要点指示""></a></h4><p>此附属内的单位无法被选中或框选</p><h4 id="isunselectable-演示例子" tabindex="-1">isUnselectable-演示例子 <a class="header-anchor" href="#isunselectable-演示例子" aria-label="Permalink to "isUnselectable-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">isUnselectable:true</span></span></code></pre></div><hr><h3 id="isunselectableastarget" tabindex="-1">isUnselectableAsTarget <a class="header-anchor" href="#isunselectableastarget" aria-label="Permalink to "isUnselectableAsTarget""></a></h3><h4 id="isunselectableastarget-代码简介" tabindex="-1">isUnselectableAsTarget-代码简介 <a class="header-anchor" href="#isunselectableastarget-代码简介" aria-label="Permalink to "isUnselectableAsTarget-代码简介""></a></h4><p>代码:isUnselectableAsTarget 中文释义:禁止选择和作为目标 类型:布尔值bool 隶属于:附属代码组</p><h4 id="isunselectableastarget-要点指示" tabindex="-1">isUnselectableAsTarget-要点指示 <a class="header-anchor" href="#isunselectableastarget-要点指示" aria-label="Permalink to "isUnselectableAsTarget-要点指示""></a></h4><p>此附属内的单位无法被选择和作为目标</p><h4 id="isunselectableastarget-演示例子" tabindex="-1">isUnselectableAsTarget-演示例子 <a class="header-anchor" href="#isunselectableastarget-演示例子" aria-label="Permalink to "isUnselectableAsTarget-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">isUnselectableAsTarget:true</span></span></code></pre></div><hr><h3 id="locklegmovement" tabindex="-1">lockLegMovement <a class="header-anchor" href="#locklegmovement" aria-label="Permalink to "lockLegMovement""></a></h3><h4 id="locklegmovement-代码简介" tabindex="-1">lockLegMovement-代码简介 <a class="header-anchor" href="#locklegmovement-代码简介" aria-label="Permalink to "lockLegMovement-代码简介""></a></h4><p>代码:lockLegMovement 中文释义:锁定腿脚运动 类型:布尔值bool 隶属于:附属代码组</p><h4 id="locklegmovement-要点指示" tabindex="-1">lockLegMovement-要点指示 <a class="header-anchor" href="#locklegmovement-要点指示" aria-label="Permalink to "lockLegMovement-要点指示""></a></h4><p>锁定此附属内的单位的腿脚</p><h4 id="locklegmovement-演示例子" tabindex="-1">lockLegMovement-演示例子 <a class="header-anchor" href="#locklegmovement-演示例子" aria-label="Permalink to "lockLegMovement-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">lockLegMovement:true</span></span></code></pre></div><hr><h3 id="freezelegmovement" tabindex="-1">freezeLegMovement <a class="header-anchor" href="#freezelegmovement" aria-label="Permalink to "freezeLegMovement""></a></h3><h4 id="freezelegmovement-代码简介" tabindex="-1">freezeLegMovement-代码简介 <a class="header-anchor" href="#freezelegmovement-代码简介" aria-label="Permalink to "freezeLegMovement-代码简介""></a></h4><p>代码:freezeLegMovement 中文释义:冻结腿脚运动 类型:布尔值bool 隶属于:附属代码组</p><h4 id="freezelegmovement-要点指示" tabindex="-1">freezeLegMovement-要点指示 <a class="header-anchor" href="#freezelegmovement-要点指示" aria-label="Permalink to "freezeLegMovement-要点指示""></a></h4><p>相较于锁定腿脚更好用,可以避免锁定腿脚的腿脚乱动</p><h4 id="freezelegmovement-演示例子" tabindex="-1">freezeLegMovement-演示例子 <a class="header-anchor" href="#freezelegmovement-演示例子" aria-label="Permalink to "freezeLegMovement-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">freezeLegMovement:true</span></span></code></pre></div><hr><h3 id="hidehp" tabindex="-1">hideHp <a class="header-anchor" href="#hidehp" aria-label="Permalink to "hideHp""></a></h3><h4 id="hidehp-代码简介" tabindex="-1">hideHp-代码简介 <a class="header-anchor" href="#hidehp-代码简介" aria-label="Permalink to "hideHp-代码简介""></a></h4><p>代码:hideHp 中文释义:隐藏血条 类型:布尔值bool 隶属于:附属代码组</p><h4 id="hidehp-要点指示" tabindex="-1">hideHp-要点指示 <a class="header-anchor" href="#hidehp-要点指示" aria-label="Permalink to "hideHp-要点指示""></a></h4><p>隐藏此附属内的单位的血量</p><h4 id="hidehp-演示例子" tabindex="-1">hideHp-演示例子 <a class="header-anchor" href="#hidehp-演示例子" aria-label="Permalink to "hideHp-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">hideHp:true</span></span></code></pre></div><hr><h3 id="showminihp" tabindex="-1">showMiniHp <a class="header-anchor" href="#showminihp" aria-label="Permalink to "showMiniHp""></a></h3><h4 id="showminihp-代码简介" tabindex="-1">showMiniHp-代码简介 <a class="header-anchor" href="#showminihp-代码简介" aria-label="Permalink to "showMiniHp-代码简介""></a></h4><p>代码:showMiniHp 中文释义:显示迷你血条 类型:布尔值bool 隶属于:附属代码组</p><h4 id="showminihp-要点指示" tabindex="-1">showMiniHp-要点指示 <a class="header-anchor" href="#showminihp-要点指示" aria-label="Permalink to "showMiniHp-要点指示""></a></h4><p>显示此附属内的单位的迷你血条 如果hideHp:true时则此条强制false</p><h4 id="showminihp-演示例子" tabindex="-1">showMiniHp-演示例子 <a class="header-anchor" href="#showminihp-演示例子" aria-label="Permalink to "showMiniHp-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showMiniHp:true</span></span></code></pre></div><hr><h3 id="keepalivewhenparentdies" tabindex="-1">keepAliveWhenParentDies <a class="header-anchor" href="#keepalivewhenparentdies" aria-label="Permalink to "keepAliveWhenParentDies""></a></h3><h4 id="keepalivewhenparentdies-代码简介" tabindex="-1">keepAliveWhenParentDies-代码简介 <a class="header-anchor" href="#keepalivewhenparentdies-代码简介" aria-label="Permalink to "keepAliveWhenParentDies-代码简介""></a></h4><p>代码:keepAliveWhenParentDies 中文释义:保持子单位存活 类型:布尔值bool 隶属于:附属代码组</p><h4 id="keepalivewhenparentdies-要点指示" tabindex="-1">keepAliveWhenParentDies-要点指示 <a class="header-anchor" href="#keepalivewhenparentdies-要点指示" aria-label="Permalink to "keepAliveWhenParentDies-要点指示""></a></h4><p>主体单位死亡后此附属内的单位保持存活</p><h4 id="keepalivewhenparentdies-演示例子" tabindex="-1">keepAliveWhenParentDies-演示例子 <a class="header-anchor" href="#keepalivewhenparentdies-演示例子" aria-label="Permalink to "keepAliveWhenParentDies-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">keepAliveWhenParentDies:true</span></span></code></pre></div><hr><h3 id="setdrawlayerontop" tabindex="-1">setDrawLayerOnTop <a class="header-anchor" href="#setdrawlayerontop" aria-label="Permalink to "setDrawLayerOnTop""></a></h3><h4 id="setdrawlayerontop-代码简介" tabindex="-1">setDrawLayerOnTop-代码简介 <a class="header-anchor" href="#setdrawlayerontop-代码简介" aria-label="Permalink to "setDrawLayerOnTop-代码简介""></a></h4><p>代码:setDrawLayerOnTop 中文释义:绘制在顶层 类型:布尔值bool 隶属于:附属代码组</p><h4 id="setdrawlayerontop-要点指示" tabindex="-1">setDrawLayerOnTop-要点指示 <a class="header-anchor" href="#setdrawlayerontop-要点指示" aria-label="Permalink to "setDrawLayerOnTop-要点指示""></a></h4><p>此附属内的单位绘制在主体单位的顶层</p><h4 id="setdrawlayerontop-演示例子" tabindex="-1">setDrawLayerOnTop-演示例子 <a class="header-anchor" href="#setdrawlayerontop-演示例子" aria-label="Permalink to "setDrawLayerOnTop-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">setDrawLayerOnTop:true</span></span></code></pre></div><hr><h3 id="setdrawlayeronbottom" tabindex="-1">setDrawLayerOnBottom <a class="header-anchor" href="#setdrawlayeronbottom" aria-label="Permalink to "setDrawLayerOnBottom""></a></h3><h4 id="setdrawlayeronbottom-代码简介" tabindex="-1">setDrawLayerOnBottom-代码简介 <a class="header-anchor" href="#setdrawlayeronbottom-代码简介" aria-label="Permalink to "setDrawLayerOnBottom-代码简介""></a></h4><p>代码:setDrawLayerOnBottom 中文释义:绘制在底层 类型:布尔值bool 隶属于:附属代码组</p><h4 id="setdrawlayeronbottom-要点指示" tabindex="-1">setDrawLayerOnBottom-要点指示 <a class="header-anchor" href="#setdrawlayeronbottom-要点指示" aria-label="Permalink to "setDrawLayerOnBottom-要点指示""></a></h4><p>此附属内的单位绘制在主体单位的底层</p><h4 id="setdrawlayeronbottom-演示例子" tabindex="-1">setDrawLayerOnBottom-演示例子 <a class="header-anchor" href="#setdrawlayeronbottom-演示例子" aria-label="Permalink to "setDrawLayerOnBottom-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">setDrawLayerOnBottom:true</span></span></code></pre></div><hr><h3 id="addtransportedunits" tabindex="-1">addTransportedUnits <a class="header-anchor" href="#addtransportedunits" aria-label="Permalink to "addTransportedUnits""></a></h3><h4 id="addtransportedunits-代码简介" tabindex="-1">addTransportedUnits-代码简介 <a class="header-anchor" href="#addtransportedunits-代码简介" aria-label="Permalink to "addTransportedUnits-代码简介""></a></h4><p>代码:addTransportedUnits 中文释义:添加被运输单位 类型:布尔值bool 隶属于:附属代码组</p><h4 id="addtransportedunits-要点指示" tabindex="-1">addTransportedUnits-要点指示 <a class="header-anchor" href="#addtransportedunits-要点指示" aria-label="Permalink to "addTransportedUnits-要点指示""></a></h4><p>单位进入运输时,进入附属内</p><h4 id="addtransportedunits-演示例子" tabindex="-1">addTransportedUnits-演示例子 <a class="header-anchor" href="#addtransportedunits-演示例子" aria-label="Permalink to "addTransportedUnits-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">addTransportedUnits:true</span></span></code></pre></div><hr><h3 id="lockrotation" tabindex="-1">lockRotation <a class="header-anchor" href="#lockrotation" aria-label="Permalink to "lockRotation""></a></h3><h4 id="lockrotation-代码简介" tabindex="-1">lockRotation-代码简介 <a class="header-anchor" href="#lockrotation-代码简介" aria-label="Permalink to "lockRotation-代码简介""></a></h4><p>代码:lockRotation 中文释义:锁定旋转 类型:布尔值bool 隶属于:附属代码组</p><h4 id="lockrotation-要点指示" tabindex="-1">lockRotation-要点指示 <a class="header-anchor" href="#lockrotation-要点指示" aria-label="Permalink to "lockRotation-要点指示""></a></h4><p>锁定此附属内的单位的角度,禁止旋转</p><h4 id="lockrotation-演示例子" tabindex="-1">lockRotation-演示例子 <a class="header-anchor" href="#lockrotation-演示例子" aria-label="Permalink to "lockRotation-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">lockRotation:true</span></span></code></pre></div><hr><h3 id="rotatewithparent" tabindex="-1">rotateWithParent <a class="header-anchor" href="#rotatewithparent" aria-label="Permalink to "rotateWithParent""></a></h3><h4 id="rotatewithparent-代码简介" tabindex="-1">rotateWithParent-代码简介 <a class="header-anchor" href="#rotatewithparent-代码简介" aria-label="Permalink to "rotateWithParent-代码简介""></a></h4><p>代码:rotateWithParent 中文释义:子单位一同旋转 类型:布尔值bool 隶属于:附属代码组</p><h4 id="rotatewithparent-要点指示" tabindex="-1">rotateWithParent-要点指示 <a class="header-anchor" href="#rotatewithparent-要点指示" aria-label="Permalink to "rotateWithParent-要点指示""></a></h4><p>子单位与父单位一起旋转</p><h4 id="rotatewithparent-演示例子" tabindex="-1">rotateWithParent-演示例子 <a class="header-anchor" href="#rotatewithparent-演示例子" aria-label="Permalink to "rotateWithParent-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">rotateWithParent:true</span></span></code></pre></div><hr><h3 id="resetrotationwhennotattacking" tabindex="-1">resetRotationWhenNotAttacking <a class="header-anchor" href="#resetrotationwhennotattacking" aria-label="Permalink to "resetRotationWhenNotAttacking""></a></h3><h4 id="resetrotationwhennotattacking-代码简介" tabindex="-1">resetRotationWhenNotAttacking-代码简介 <a class="header-anchor" href="#resetrotationwhennotattacking-代码简介" aria-label="Permalink to "resetRotationWhenNotAttacking-代码简介""></a></h4><p>代码:resetRotationWhenNotAttacking 中文释义:不攻击时重置角度 类型:布尔值bool 隶属于:附属代码组</p><h4 id="resetrotationwhennotattacking-要点指示" tabindex="-1">resetRotationWhenNotAttacking-要点指示 <a class="header-anchor" href="#resetrotationwhennotattacking-要点指示" aria-label="Permalink to "resetRotationWhenNotAttacking-要点指示""></a></h4><p>子单位不攻击时旋转回闲置角度</p><h4 id="resetrotationwhennotattacking-演示例子" tabindex="-1">resetRotationWhenNotAttacking-演示例子 <a class="header-anchor" href="#resetrotationwhennotattacking-演示例子" aria-label="Permalink to "resetRotationWhenNotAttacking-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">resetRotationWhenNotAttacking:true</span></span></code></pre></div><hr><h3 id="deattachifwantingtomove" tabindex="-1">deattachIfWantingToMove <a class="header-anchor" href="#deattachifwantingtomove" aria-label="Permalink to "deattachIfWantingToMove""></a></h3><h4 id="deattachifwantingtomove-代码简介" tabindex="-1">deattachIfWantingToMove-代码简介 <a class="header-anchor" href="#deattachifwantingtomove-代码简介" aria-label="Permalink to "deattachIfWantingToMove-代码简介""></a></h4><p>代码:deattachIfWantingToMove 中文释义:移动时脱离 类型:布尔值bool 隶属于:附属代码组</p><h4 id="deattachifwantingtomove-要点指示" tabindex="-1">deattachIfWantingToMove-要点指示 <a class="header-anchor" href="#deattachifwantingtomove-要点指示" aria-label="Permalink to "deattachIfWantingToMove-要点指示""></a></h4><p>子单位拥有路径时自动脱离附属</p><h4 id="deattachifwantingtomove-演示例子" tabindex="-1">deattachIfWantingToMove-演示例子 <a class="header-anchor" href="#deattachifwantingtomove-演示例子" aria-label="Permalink to "deattachIfWantingToMove-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">deattachIfWantingToMove:true</span></span></code></pre></div><hr><h3 id="prioritizeparentsmaintarget" tabindex="-1">prioritizeParentsMainTarget <a class="header-anchor" href="#prioritizeparentsmaintarget" aria-label="Permalink to "prioritizeParentsMainTarget""></a></h3><h4 id="prioritizeparentsmaintarget-代码简介" tabindex="-1">prioritizeParentsMainTarget-代码简介 <a class="header-anchor" href="#prioritizeparentsmaintarget-代码简介" aria-label="Permalink to "prioritizeParentsMainTarget-代码简介""></a></h4><p>代码:prioritizeParentsMainTarget 中文释义:优先攻击父单位主要目标 类型:布尔值bool 隶属于:附属代码组</p><h4 id="prioritizeparentsmaintarget-要点指示" tabindex="-1">prioritizeParentsMainTarget-要点指示 <a class="header-anchor" href="#prioritizeparentsmaintarget-要点指示" aria-label="Permalink to "prioritizeParentsMainTarget-要点指示""></a></h4><p>父单位攻击时子单位优先攻击父单位攻击的目标</p><h4 id="prioritizeparentsmaintarget-演示例子" tabindex="-1">prioritizeParentsMainTarget-演示例子 <a class="header-anchor" href="#prioritizeparentsmaintarget-演示例子" aria-label="Permalink to "prioritizeParentsMainTarget-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">prioritizeParentsMainTarget:true</span></span></code></pre></div><hr><h3 id="alwaysallowedtoattackparentsmaintarget" tabindex="-1">alwaysAllowedToAttackParentsMainTarget <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget" aria-label="Permalink to "alwaysAllowedToAttackParentsMainTarget""></a></h3><h4 id="alwaysallowedtoattackparentsmaintarget-代码简介" tabindex="-1">alwaysAllowedToAttackParentsMainTarget-代码简介 <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget-代码简介" aria-label="Permalink to "alwaysAllowedToAttackParentsMainTarget-代码简介""></a></h4><p>代码:alwaysAllowedToAttackParentsMainTarget 中文释义:总是攻击父单位主要目标 类型:布尔值bool 隶属于:附属代码组</p><h4 id="alwaysallowedtoattackparentsmaintarget-要点指示" tabindex="-1">alwaysAllowedToAttackParentsMainTarget-要点指示 <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget-要点指示" aria-label="Permalink to "alwaysAllowedToAttackParentsMainTarget-要点指示""></a></h4><p>子单位总是跟随攻击父单位攻击的目标</p><h4 id="alwaysallowedtoattackparentsmaintarget-演示例子" tabindex="-1">alwaysAllowedToAttackParentsMainTarget-演示例子 <a class="header-anchor" href="#alwaysallowedtoattackparentsmaintarget-演示例子" aria-label="Permalink to "alwaysAllowedToAttackParentsMainTarget-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">alwaysAllowedToAttackParentsMainTarget:true</span></span></code></pre></div><hr><h3 id="onlyattackparentsmaintarget" tabindex="-1">onlyAttackParentsMainTarget <a class="header-anchor" href="#onlyattackparentsmaintarget" aria-label="Permalink to "onlyAttackParentsMainTarget""></a></h3><h4 id="onlyattackparentsmaintarget-代码简介" tabindex="-1">onlyAttackParentsMainTarget-代码简介 <a class="header-anchor" href="#onlyattackparentsmaintarget-代码简介" aria-label="Permalink to "onlyAttackParentsMainTarget-代码简介""></a></h4><p>代码:lockRotation 中文释义:只攻击父单位的主要目标 类型:布尔值bool 隶属于:附属代码组</p><h4 id="onlyattackparentsmaintarget-要点指示" tabindex="-1">onlyAttackParentsMainTarget-要点指示 <a class="header-anchor" href="#onlyattackparentsmaintarget-要点指示" aria-label="Permalink to "onlyAttackParentsMainTarget-要点指示""></a></h4><p>子单位与父单位攻击目标必定相同 就算子单位攻击范围内有敌人但父单位攻击范围内没有此敌人则子单位无法攻击此敌人</p><h4 id="onlyattackparentsmaintarget-演示例子" tabindex="-1">onlyAttackParentsMainTarget-演示例子 <a class="header-anchor" href="#onlyattackparentsmaintarget-演示例子" aria-label="Permalink to "onlyAttackParentsMainTarget-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">onlyAttackParentsMainTarget:true</span></span></code></pre></div><hr><h3 id="onparentteamchangekeepcurrentteam" tabindex="-1">onParentTeamChangeKeepCurrentTeam <a class="header-anchor" href="#onparentteamchangekeepcurrentteam" aria-label="Permalink to "onParentTeamChangeKeepCurrentTeam""></a></h3><h4 id="onparentteamchangekeepcurrentteam-代码简介" tabindex="-1">onParentTeamChangeKeepCurrentTeam-代码简介 <a class="header-anchor" href="#onparentteamchangekeepcurrentteam-代码简介" aria-label="Permalink to "onParentTeamChangeKeepCurrentTeam-代码简介""></a></h4><p>代码:onParentTeamChangeKeepCurrentTeam 中文释义:改变队伍时子单位保持原队伍 类型:布尔值bool 隶属于:附属代码组</p><h4 id="onparentteamchangekeepcurrentteam-要点指示" tabindex="-1">onParentTeamChangeKeepCurrentTeam-要点指示 <a class="header-anchor" href="#onparentteamchangekeepcurrentteam-要点指示" aria-label="Permalink to "onParentTeamChangeKeepCurrentTeam-要点指示""></a></h4><p>父单位队伍改变时子单位队伍不改变</p><h4 id="onparentteamchangekeepcurrentteam-演示例子" tabindex="-1">onParentTeamChangeKeepCurrentTeam-演示例子 <a class="header-anchor" href="#onparentteamchangekeepcurrentteam-演示例子" aria-label="Permalink to "onParentTeamChangeKeepCurrentTeam-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">onParentTeamChangeKeepCurrentTeam:true</span></span></code></pre></div><hr><h3 id="smoothlyblendpositionwhenexistingunitadded" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded" aria-label="Permalink to "smoothlyBlendPositionWhenExistingUnitAdded""></a></h3><h4 id="smoothlyblendpositionwhenexistingunitadded-代码简介" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded-代码简介 <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded-代码简介" aria-label="Permalink to "smoothlyBlendPositionWhenExistingUnitAdded-代码简介""></a></h4><p>代码:smoothlyBlendPositionWhenExistingUnitAdded 中文释义:补充时平滑移动 类型:布尔值bool 隶属于:附属代码组</p><h4 id="smoothlyblendpositionwhenexistingunitadded-要点指示" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded-要点指示 <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded-要点指示" aria-label="Permalink to "smoothlyBlendPositionWhenExistingUnitAdded-要点指示""></a></h4><p>补充运输单位至槽位时平滑移动</p><h4 id="smoothlyblendpositionwhenexistingunitadded-演示例子" tabindex="-1">smoothlyBlendPositionWhenExistingUnitAdded-演示例子 <a class="header-anchor" href="#smoothlyblendpositionwhenexistingunitadded-演示例子" aria-label="Permalink to "smoothlyBlendPositionWhenExistingUnitAdded-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">smoothlyBlendPositionWhenExistingUnitAdded:true</span></span></code></pre></div><hr><h3 id="keepwaypointsneedingmovement" tabindex="-1">keepWaypointsNeedingMovement <a class="header-anchor" href="#keepwaypointsneedingmovement" aria-label="Permalink to "keepWaypointsNeedingMovement""></a></h3><h4 id="keepwaypointsneedingmovement-代码简介" tabindex="-1">keepWaypointsNeedingMovement-代码简介 <a class="header-anchor" href="#keepwaypointsneedingmovement-代码简介" aria-label="Permalink to "keepWaypointsNeedingMovement-代码简介""></a></h4><p>代码:keepWaypointsNeedingMovement 中文释义:保持需要移动路径点 类型:布尔值bool 隶属于:附属代码组</p><h4 id="keepwaypointsneedingmovement-要点指示" tabindex="-1">keepWaypointsNeedingMovement-要点指示 <a class="header-anchor" href="#keepwaypointsneedingmovement-要点指示" aria-label="Permalink to "keepWaypointsNeedingMovement-要点指示""></a></h4><p>默认值为false,为false时队列中任何需要移动才能完成的队列路径点都会被移除</p><h4 id="keepwaypointsneedingmovement-演示例子" tabindex="-1">keepWaypointsNeedingMovement-演示例子 <a class="header-anchor" href="#keepwaypointsneedingmovement-演示例子" aria-label="Permalink to "keepWaypointsNeedingMovement-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">keepWaypointsNeedingMovement:true</span></span></code></pre></div><hr><h3 id="showallactionsfrom" tabindex="-1">showAllActionsFrom <a class="header-anchor" href="#showallactionsfrom" aria-label="Permalink to "showAllActionsFrom""></a></h3><h4 id="showallactionsfrom-代码简介" tabindex="-1">showAllActionsFrom-代码简介 <a class="header-anchor" href="#showallactionsfrom-代码简介" aria-label="Permalink to "showAllActionsFrom-代码简介""></a></h4><p>代码:showAllActionsFrom 中文释义:显示所有操作来源 类型:逻辑布尔值LogicBoolean 隶属于:附属代码组</p><h4 id="showallactionsfrom-要点指示" tabindex="-1">showAllActionsFrom-要点指示 <a class="header-anchor" href="#showallactionsfrom-要点指示" aria-label="Permalink to "showAllActionsFrom-要点指示""></a></h4><p>父单位显示子单位的全部行动</p><h4 id="showallactionsfrom-演示例子" tabindex="-1">showAllActionsFrom-演示例子 <a class="header-anchor" href="#showallactionsfrom-演示例子" aria-label="Permalink to "showAllActionsFrom-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showAllActionsFrom:if </span><span style="color:#F07178;">self.ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">=1</span></span></code></pre></div><hr><h3 id="createincompleteifparentis" tabindex="-1">createIncompleteIfParentIs <a class="header-anchor" href="#createincompleteifparentis" aria-label="Permalink to "createIncompleteIfParentIs""></a></h3><h4 id="createincompleteifparentis-代码简介" tabindex="-1">createIncompleteIfParentIs-代码简介 <a class="header-anchor" href="#createincompleteifparentis-代码简介" aria-label="Permalink to "createIncompleteIfParentIs-代码简介""></a></h4><p>代码:createIncompleteIfParentIs 中文释义:创建随父单位 类型:布尔值bool 隶属于:附属代码组</p><h4 id="createincompleteifparentis-要点指示" tabindex="-1">createIncompleteIfParentIs-要点指示 <a class="header-anchor" href="#createincompleteifparentis-要点指示" aria-label="Permalink to "createIncompleteIfParentIs-要点指示""></a></h4><p>父单位创建时子单位同步创建 且子单位建造进度与父单位建造进度相同</p><h4 id="createincompleteifparentis-演示例子" tabindex="-1">createIncompleteIfParentIs-演示例子 <a class="header-anchor" href="#createincompleteifparentis-演示例子" aria-label="Permalink to "createIncompleteIfParentIs-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">createIncompleteIfParentIs:true</span></span></code></pre></div><hr><h3 id="redirectdamagetoparent" tabindex="-1">redirectDamageToParent <a class="header-anchor" href="#redirectdamagetoparent" aria-label="Permalink to "redirectDamageToParent""></a></h3><h4 id="redirectdamagetoparent-代码简介" tabindex="-1">redirectDamageToParent-代码简介 <a class="header-anchor" href="#redirectdamagetoparent-代码简介" aria-label="Permalink to "redirectDamageToParent-代码简介""></a></h4><p>代码:redirectDamageToParent 中文释义:附属受伤转给父单位 类型:布尔值bool 隶属于:附属代码组</p><h4 id="redirectdamagetoparent-要点指示" tabindex="-1">redirectDamageToParent-要点指示 <a class="header-anchor" href="#redirectdamagetoparent-要点指示" aria-label="Permalink to "redirectDamageToParent-要点指示""></a></h4><p>子单位受伤时将伤害传给父单位</p><h4 id="redirectdamagetoparent-演示例子" tabindex="-1">redirectDamageToParent-演示例子 <a class="header-anchor" href="#redirectdamagetoparent-演示例子" aria-label="Permalink to "redirectDamageToParent-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">redirectDamageToParent:true</span></span></code></pre></div><hr><h3 id="redirectdamagetoparent-shieldonly" tabindex="-1">redirectDamageToParent_shieldOnly <a class="header-anchor" href="#redirectdamagetoparent-shieldonly" aria-label="Permalink to "redirectDamageToParent_shieldOnly""></a></h3><h4 id="redirectdamagetoparent-shieldonly-代码简介" tabindex="-1">redirectDamageToParent_shieldOnly-代码简介 <a class="header-anchor" href="#redirectdamagetoparent-shieldonly-代码简介" aria-label="Permalink to "redirectDamageToParent_shieldOnly-代码简介""></a></h4><p>代码:redirectDamageToParent_shieldOnly 中文释义:附属受伤转给父单位的护盾 类型:布尔值bool 隶属于:附属代码组</p><h4 id="redirectdamagetoparent-shieldonly-要点指示" tabindex="-1">redirectDamageToParent_shieldOnly-要点指示 <a class="header-anchor" href="#redirectdamagetoparent-shieldonly-要点指示" aria-label="Permalink to "redirectDamageToParent_shieldOnly-要点指示""></a></h4><p>子单位受伤时将伤害传给父单位 如果父单位护盾为空则无法将伤害传给父单位</p><h4 id="redirectdamagetoparent-shieldonly-演示例子" tabindex="-1">redirectDamageToParent_shieldOnly-演示例子 <a class="header-anchor" href="#redirectdamagetoparent-shieldonly-演示例子" aria-label="Permalink to "redirectDamageToParent_shieldOnly-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">redirectDamageToParent_shieldOnly:true</span></span></code></pre></div><hr><h2 id="第二类-未知代码组" tabindex="-1">第二类-未知代码组 <a class="header-anchor" href="#第二类-未知代码组" aria-label="Permalink to "第二类-未知代码组""></a></h2><h3 id="lockdir" tabindex="-1">lockDir <a class="header-anchor" href="#lockdir" aria-label="Permalink to "lockDir""></a></h3><h4 id="lockdir-代码简介" tabindex="-1">lockDir-代码简介 <a class="header-anchor" href="#lockdir-代码简介" aria-label="Permalink to "lockDir-代码简介""></a></h4><p>代码:lockDir 中文释义:锁定角度 类型:布尔值bool 隶属于:未知代码组</p><h4 id="lockdir-要点指示" tabindex="-1">lockDir-要点指示 <a class="header-anchor" href="#lockdir-要点指示" aria-label="Permalink to "lockDir-要点指示""></a></h4><p>未知</p><h4 id="lockdir-演示例子" tabindex="-1">lockDir-演示例子 <a class="header-anchor" href="#lockdir-演示例子" aria-label="Permalink to "lockDir-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">lockDir:true</span></span></code></pre></div><hr><h3 id="unloadincurrentposition" tabindex="-1">unloadInCurrentPosition <a class="header-anchor" href="#unloadincurrentposition" aria-label="Permalink to "unloadInCurrentPosition""></a></h3><h4 id="unloadincurrentposition-代码简介" tabindex="-1">unloadInCurrentPosition-代码简介 <a class="header-anchor" href="#unloadincurrentposition-代码简介" aria-label="Permalink to "unloadInCurrentPosition-代码简介""></a></h4><p>代码:lockRotation 中文释义:卸载于此位置 类型:布尔值bool 隶属于:未知代码组</p><h4 id="unloadincurrentposition-要点指示" tabindex="-1">unloadInCurrentPosition-要点指示 <a class="header-anchor" href="#unloadincurrentposition-要点指示" aria-label="Permalink to "unloadInCurrentPosition-要点指示""></a></h4><p>未知</p><h4 id="unloadincurrentposition-演示例子" tabindex="-1">unloadInCurrentPosition-演示例子 <a class="header-anchor" href="#unloadincurrentposition-演示例子" aria-label="Permalink to "unloadInCurrentPosition-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">unloadInCurrentPosition:true</span></span></code></pre></div><hr><h3 id="onconvertkeepexistingunitinsameslot" tabindex="-1">onConvertKeepExistingUnitInSameSlot <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot" aria-label="Permalink to "onConvertKeepExistingUnitInSameSlot""></a></h3><h4 id="onconvertkeepexistingunitinsameslot-代码简介" tabindex="-1">onConvertKeepExistingUnitInSameSlot-代码简介 <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot-代码简介" aria-label="Permalink to "onConvertKeepExistingUnitInSameSlot-代码简介""></a></h4><p>代码:onConvertKeepExistingUnitInSameSlot 中文释义:转换时附属仍然在同一槽位中 类型:布尔值bool 隶属于:未知代码组</p><h4 id="onconvertkeepexistingunitinsameslot-要点指示" tabindex="-1">onConvertKeepExistingUnitInSameSlot-要点指示 <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot-要点指示" aria-label="Permalink to "onConvertKeepExistingUnitInSameSlot-要点指示""></a></h4><p>未知</p><h4 id="onconvertkeepexistingunitinsameslot-演示例子" tabindex="-1">onConvertKeepExistingUnitInSameSlot-演示例子 <a class="header-anchor" href="#onconvertkeepexistingunitinsameslot-演示例子" aria-label="Permalink to "onConvertKeepExistingUnitInSameSlot-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attachment_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">onConvertKeepExistingUnitInSameSlot:true</span></span></code></pre></div><hr>`,283),s=[o];function r(l,h,d,c,p,m){return e(),t("div",null,s)}const g=a(i,[["render",r]]);export{b as __pageData,g as default};
|
1
assets/src_Unit_attachment.md.278f3818.lean.js
Normal file
1
assets/src_Unit_attachment.md.278f3818.lean.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{_ as a,o as e,c as t,X as n}from"./chunks/framework.d377e0cc.js";const b=JSON.parse('{"title":"[attachment]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/attachment.md","filePath":"src/Unit/attachment.md"}'),i={name:"src/Unit/attachment.md"},o=n("",283),s=[o];function r(l,h,d,c,p,m){return e(),t("div",null,s)}const g=a(i,[["render",r]]);export{b as __pageData,g as default};
|
|
@ -19,9 +19,9 @@ import{_ as a,o as t,c as e,X as n}from"./chunks/framework.d377e0cc.js";const k=
|
|||
<span class="line"><span style="color:#A6ACCD;">shootDelay:60</span></span></code></pre></div><hr><h3 id="maxattackrange" tabindex="-1">maxAttackRange <a class="header-anchor" href="#maxattackrange" aria-label="Permalink to "maxAttackRange""></a></h3><h4 id="maxattackrange-代码简介" tabindex="-1">maxAttackRange-代码简介 <a class="header-anchor" href="#maxattackrange-代码简介" aria-label="Permalink to "maxAttackRange-代码简介""></a></h4><p>代码:maxAttackRange 中文释义:攻击距离 类型:整数int 隶属于:攻击属性代码组</p><h4 id="maxattackrange-要点指示" tabindex="-1">maxAttackRange-要点指示 <a class="header-anchor" href="#maxattackrange-要点指示" aria-label="Permalink to "maxAttackRange-要点指示""></a></h4><p>设置单位炮塔的攻击距离,在炮塔节使用limitingRange覆盖</p><details class="details custom-block"><summary>Details</summary><p>limitingRange不能超过maxAttackRange,如果炮塔都使用了limitingRange,那此处需要删除maxAttackRange</p></details><h4 id="maxattackrange-演示例子" tabindex="-1">maxAttackRange-演示例子 <a class="header-anchor" href="#maxattackrange-演示例子" aria-label="Permalink to "maxAttackRange-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attack]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">maxAttackRange:1000</span></span></code></pre></div><hr><h3 id="aimoffsetspread" tabindex="-1">aimOffsetSpread <a class="header-anchor" href="#aimoffsetspread" aria-label="Permalink to "aimOffsetSpread""></a></h3><h4 id="aimoffsetspread-代码简介" tabindex="-1">aimOffsetSpread-代码简介 <a class="header-anchor" href="#aimoffsetspread-代码简介" aria-label="Permalink to "aimOffsetSpread-代码简介""></a></h4><p>代码:aimOffsetSpread 中文释义:攻击偏移 类型:浮点值float 隶属于:攻击属性组</p><h4 id="aimoffsetspread-要点指示" tabindex="-1">aimOffsetSpread-要点指示 <a class="header-anchor" href="#aimoffsetspread-要点指示" aria-label="Permalink to "aimOffsetSpread-要点指示""></a></h4><p>攻击时按照敌人半径乘对应值进行位置偏移,填0时攻击中心</p><h4 id="aimoffsetspread-演示例子" tabindex="-1">aimOffsetSpread-演示例子 <a class="header-anchor" href="#aimoffsetspread-演示例子" aria-label="Permalink to "aimOffsetSpread-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attack]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">aimOffsetSpread:0.6</span></span></code></pre></div><hr><h3 id="shootdelaymultiplier-shootdamagemultiplier" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier" aria-label="Permalink to "shootDelayMultiplier/shootDamageMultiplier""></a></h3><h4 id="shootdelaymultiplier-shootdamagemultiplier-代码简介" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier-代码简介 <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-代码简介" aria-label="Permalink to "shootDelayMultiplier/shootDamageMultiplier-代码简介""></a></h4><p>代码:shootDelayMultiplier/shootDamageMultiplier 中文释义:攻击间隔乘数/攻击伤害乘数 类型:浮点值 隶属于:攻击属性代码组</p><h4 id="shootdelaymultiplier-shootdamagemultiplier-要点指示" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier-要点指示 <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-要点指示" aria-label="Permalink to "shootDelayMultiplier/shootDamageMultiplier-要点指示""></a></h4><p>设置单位的攻击间隔乘数和攻击伤害乘数,在行动节使用setUnitStats修改</p><h4 id="shootdelaymultiplier-shootdamagemultiplier-演示例子" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier-演示例子 <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-演示例子" aria-label="Permalink to "shootDelayMultiplier/shootDamageMultiplier-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[action_1]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">setUnitStats:</span><span style="color:#F07178;">shootDelayMultiplier</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">0.8,</span><span style="color:#F07178;">shootDamageMultiplier</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">1.4</span></span></code></pre></div><hr><h2 id="第四类-显示相关组" tabindex="-1">第四类-显示相关组 <a class="header-anchor" href="#第四类-显示相关组" aria-label="Permalink to "第四类-显示相关组""></a></h2><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-c9PZJ" id="tab-5RrFqjE" checked="checked"><label for="tab-5RrFqjE">屑狐狸</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">以下的代码为</span><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">显示代码</span><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">,用于让单位在攻击时效果更好</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">setUnitStats:</span><span style="color:#F07178;">shootDelayMultiplier</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">0.8,</span><span style="color:#F07178;">shootDamageMultiplier</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">1.4</span></span></code></pre></div><hr><h2 id="第四类-显示相关组" tabindex="-1">第四类-显示相关组 <a class="header-anchor" href="#第四类-显示相关组" aria-label="Permalink to "第四类-显示相关组""></a></h2><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-akJAc" id="tab-yJOMwMN" checked="checked"><label for="tab-yJOMwMN">屑狐狸</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">以下的代码为</span><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">显示代码</span><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">,用于让单位在攻击时效果更好</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">对于部分有对应需求的单位来说这部分较为有用</span></span></code></pre></div></div></div><h3 id="setmainturretas" tabindex="-1">setMainTurretAs <a class="header-anchor" href="#setmainturretas" aria-label="Permalink to "setMainTurretAs""></a></h3><h4 id="setmainturretas-代码简介" tabindex="-1">setMainTurretAs-代码简介 <a class="header-anchor" href="#setmainturretas-代码简介" aria-label="Permalink to "setMainTurretAs-代码简介""></a></h4><p>代码:setMainTurretAs 中文释义:设置主炮塔 类型:炮塔turret ref 隶属于:显示相关组</p><h4 id="setmainturretas-要点指示" tabindex="-1">setMainTurretAs-要点指示 <a class="header-anchor" href="#setmainturretas-要点指示" aria-label="Permalink to "setMainTurretAs-要点指示""></a></h4><p>设置单位主炮塔</p><h4 id="setmainturretas-演示例子" tabindex="-1">setMainTurretAs-演示例子 <a class="header-anchor" href="#setmainturretas-演示例子" aria-label="Permalink to "setMainTurretAs-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attack]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">setMainTurretAs:31</span></span></code></pre></div><hr><h3 id="turretrotatewithbody" tabindex="-1">turretRotateWithBody <a class="header-anchor" href="#turretrotatewithbody" aria-label="Permalink to "turretRotateWithBody""></a></h3><h4 id="turretrotatewithbody-代码简介" tabindex="-1">turretRotateWithBody-代码简介 <a class="header-anchor" href="#turretrotatewithbody-代码简介" aria-label="Permalink to "turretRotateWithBody-代码简介""></a></h4><p>代码:turretRotateWithBody 中文释义:炮塔跟随主体旋转 类型:布尔值bool 隶属于:显示相关组</p><h4 id="turretrotatewithbody-要点指示" tabindex="-1">turretRotateWithBody-要点指示 <a class="header-anchor" href="#turretrotatewithbody-要点指示" aria-label="Permalink to "turretRotateWithBody-要点指示""></a></h4><p>设置单位炮塔跟随主体旋转,比如重型拦截机</p><h4 id="turretrotatewithbody-演示例子" tabindex="-1">turretRotateWithBody-演示例子 <a class="header-anchor" href="#turretrotatewithbody-演示例子" aria-label="Permalink to "turretRotateWithBody-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attack]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">turretRotateWithBody:true</span></span></code></pre></div><hr><h3 id="attackmovement" tabindex="-1">attackMovement <a class="header-anchor" href="#attackmovement" aria-label="Permalink to "attackMovement""></a></h3><h4 id="attackmovement-代码简介" tabindex="-1">attackMovement-代码简介 <a class="header-anchor" href="#attackmovement-代码简介" aria-label="Permalink to "attackMovement-代码简介""></a></h4><p>代码:attackMovement 中文释义:攻击移动类型 类型:字符串string 隶属于:显示相关组</p><h4 id="attackmovement-要点指示" tabindex="-1">attackMovement-要点指示 <a class="header-anchor" href="#attackmovement-要点指示" aria-label="Permalink to "attackMovement-要点指示""></a></h4><p>设置单位攻击移动类型</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>可填类型如下</p><table><thead><tr><th>类型</th><th>normal</th><th>bomber</th><th>moveaway</th><th>strafing</th></tr></thead><tbody><tr><td>效果</td><td>无</td><td>轰炸机</td><td>无效</td><td>无效</td></tr></tbody></table></div><h4 id="attackmovement-演示例子" tabindex="-1">attackMovement-演示例子 <a class="header-anchor" href="#attackmovement-演示例子" aria-label="Permalink to "attackMovement-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attack]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">attackMovement:bomber</span></span></code></pre></div><hr><h3 id="showrangeuiguide" tabindex="-1">showRangeUIGuide <a class="header-anchor" href="#showrangeuiguide" aria-label="Permalink to "showRangeUIGuide""></a></h3><h4 id="showrangeuiguide-代码简介" tabindex="-1">showRangeUIGuide-代码简介 <a class="header-anchor" href="#showrangeuiguide-代码简介" aria-label="Permalink to "showRangeUIGuide-代码简介""></a></h4><p>代码:showRangeUIGuide 中文释义:显示范围UI 类型:布尔值bool 隶属于:显示相关组</p><h4 id="showrangeuiguide-要点指示" tabindex="-1">showRangeUIGuide-要点指示 <a class="header-anchor" href="#showrangeuiguide-要点指示" aria-label="Permalink to "showRangeUIGuide-要点指示""></a></h4><p>是否显示范围UI,如默认不显示的小范围填写true则会显示范围,比如瞭望塔</p><h4 id="showrangeuiguide-演示例子" tabindex="-1">showRangeUIGuide-演示例子 <a class="header-anchor" href="#showrangeuiguide-演示例子" aria-label="Permalink to "showRangeUIGuide-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[attack]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">showRangeUIGuide:true</span></span></code></pre></div><hr>`,206),r=[s];function l(o,c,h,d,p,u){return t(),e("div",null,r)}const m=a(i,[["render",l]]);export{k as __pageData,m as default};
|
||||
<span class="line"><span style="color:#A6ACCD;">showRangeUIGuide:true</span></span></code></pre></div><hr>`,206),l=[s];function r(o,c,h,d,p,u){return t(),e("div",null,l)}const m=a(i,[["render",r]]);export{k as __pageData,m as default};
|
|
@ -1 +1 @@
|
|||
import{_ as a,o as t,c as e,X as n}from"./chunks/framework.d377e0cc.js";const k=JSON.parse('{"title":"[attack]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/attack.md","filePath":"src/Unit/attack.md"}'),i={name:"src/Unit/attack.md"},s=n("",206),r=[s];function l(o,c,h,d,p,u){return t(),e("div",null,r)}const m=a(i,[["render",l]]);export{k as __pageData,m as default};
|
||||
import{_ as a,o as t,c as e,X as n}from"./chunks/framework.d377e0cc.js";const k=JSON.parse('{"title":"[attack]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/attack.md","filePath":"src/Unit/attack.md"}'),i={name:"src/Unit/attack.md"},s=n("",206),l=[s];function r(o,c,h,d,p,u){return t(),e("div",null,l)}const m=a(i,[["render",r]]);export{k as __pageData,m as default};
|
|
@ -1,4 +1,4 @@
|
|||
import{_ as n,K as i,o,c,k as s,a,O as t,w as p,X as e}from"./chunks/framework.d377e0cc.js";const _=JSON.parse('{"title":"[canBuild]建造组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/canbuild.md","filePath":"src/Unit/canbuild.md"}'),r={name:"src/Unit/canbuild.md"},d=e(`<h1 id="canbuild-建造组" tabindex="-1"><strong>[canBuild]建造组</strong> <a class="header-anchor" href="#canbuild-建造组" aria-label="Permalink to "**[canBuild]建造组**""></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to "[canBuild_NAME]""></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to "[canBuild_NAME]-代码简介""></a></h4><p>代码: [canBuild_NAME] 中文释义:可建造_名字 类型:字符型 canBuild_NAME = 组名 如果不填写此组名 将默认拥有一个命名为空格的组名。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议将NAME命名为此组的描述或可建造单位的昵称。<br> 以便于阅读代码。</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-g8ruq" id="tab-PU-ZWkE" checked="checked"><label for="tab-PU-ZWkE">allureluoli</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_造小坦</span><span style="color:#89DDFF;">]</span></span>
|
||||
import{_ as n,K as i,o,c,k as s,a,O as t,w as p,X as e}from"./chunks/framework.d377e0cc.js";const _=JSON.parse('{"title":"[canBuild]建造组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/canbuild.md","filePath":"src/Unit/canbuild.md"}'),r={name:"src/Unit/canbuild.md"},d=e(`<h1 id="canbuild-建造组" tabindex="-1"><strong>[canBuild]建造组</strong> <a class="header-anchor" href="#canbuild-建造组" aria-label="Permalink to "**[canBuild]建造组**""></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to "[canBuild_NAME]""></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to "[canBuild_NAME]-代码简介""></a></h4><p>代码: [canBuild_NAME] 中文释义:可建造_名字 类型:字符型 canBuild_NAME = 组名 如果不填写此组名 将默认拥有一个命名为空格的组名。</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>建议将NAME命名为此组的描述或可建造单位的昵称。<br> 以便于阅读代码。</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-ci17m" id="tab-YuJZaE5" checked="checked"><label for="tab-YuJZaE5">allureluoli</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_造小坦</span><span style="color:#89DDFF;">]</span></span>
|
||||
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_SmallTank</span><span style="color:#89DDFF;">]</span></span>
|
||||
<span class="line"><span style="color:#89DDFF;">[</span><span style="color:#A6ACCD;">canBuild_建造科技</span><span style="color:#89DDFF;">]</span></span></code></pre></div></div></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>[canBuild_NAME] 中的NAME命名禁止重复,否则会引发报错。<br> 其中下划线作为分隔符也是重要的,如果没有将引发报错。</p></div><h4 id="canbuild-name-演示例子" tabindex="-1">[canBuild_NAME]-演示例子 <a class="header-anchor" href="#canbuild-name-演示例子" aria-label="Permalink to "[canBuild_NAME]-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[canBuild_SmallTank]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#英文命名</span></span>
|
||||
<span class="line"><span style="color:#89DDFF;">[canBuild_小坦克]</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;font-style:italic;">#中文命名</span></span>
|
|
@ -1,4 +1,4 @@
|
|||
import{_ as t,K as o,o as r,c,k as e,a,O as n,w as l,X as i}from"./chunks/framework.d377e0cc.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i(`<h1 id="core-组" tabindex="-1"><strong>[core]组</strong> <a class="header-anchor" href="#core-组" aria-label="Permalink to "**[core]组**""></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to "第一类-通用代码组""></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to "name""></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to "name-代码简介""></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to "name-要点指示""></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-ZTPwi" id="tab-brMK14m" checked="checked"><label for="tab-brMK14m">JDSALing</label><input type="radio" name="group-ZTPwi" id="tab-bhWEi3x"><label for="tab-bhWEi3x">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">定义单位原始名称,可以是中文。</span></span>
|
||||
import{_ as t,K as o,o as r,c,k as e,a,O as n,w as l,X as i}from"./chunks/framework.d377e0cc.js";const E=JSON.parse('{"title":"[core]组","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"src/Unit/core.md","filePath":"src/Unit/core.md"}'),p={name:"src/Unit/core.md"},d=i(`<h1 id="core-组" tabindex="-1"><strong>[core]组</strong> <a class="header-anchor" href="#core-组" aria-label="Permalink to "**[core]组**""></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to "第一类-通用代码组""></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to "name""></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to "name-代码简介""></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to "name-要点指示""></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-prG4G" id="tab-fBziPR9" checked="checked"><label for="tab-fBziPR9">JDSALing</label><input type="radio" name="group-prG4G" id="tab-sZHHQVv"><label for="tab-sZHHQVv">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">定义单位原始名称,可以是中文。</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">游戏使用它区分其它单位。</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">如果没有在[displayText或者语言文件设置显示名称],</span></span>
|
||||
|
@ -16,13 +16,13 @@ import{_ as t,K as o,o as r,c,k as e,a,O as n,w as l,X as i}from"./chunks/framew
|
|||
<span class="line"><span style="color:#A6ACCD;">displayText_zh:中文标题</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription: -English Description</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription_zh:-中文描述</span></span></code></pre></div><hr><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to "price""></a></h3><h4 id="price-代码简介" tabindex="-1">price-代码简介 <a class="header-anchor" href="#price-代码简介" aria-label="Permalink to "price-代码简介""></a></h4><p>代码:price 中文释义:价格 类型:整数 隶属于:通用代码组</p><h4 id="price-要点指示" tabindex="-1">price-要点指示 <a class="header-anchor" href="#price-要点指示" aria-label="Permalink to "price-要点指示""></a></h4><p>定义单位的价格,显示在单位信息中,建造时也以此价格为准。</p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-ZTH-w" id="tab-WoRgdGo" checked="checked"><label for="tab-WoRgdGo">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">默认情况下,price只需要填写一个整数,此时使用的是游戏内自带的资金credit;</span><span style="color:#A6ACCD;"> </span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">displayDescription_zh:-中文描述</span></span></code></pre></div><hr><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to "price""></a></h3><h4 id="price-代码简介" tabindex="-1">price-代码简介 <a class="header-anchor" href="#price-代码简介" aria-label="Permalink to "price-代码简介""></a></h4><p>代码:price 中文释义:价格 类型:整数 隶属于:通用代码组</p><h4 id="price-要点指示" tabindex="-1">price-要点指示 <a class="header-anchor" href="#price-要点指示" aria-label="Permalink to "price-要点指示""></a></h4><p>定义单位的价格,显示在单位信息中,建造时也以此价格为准。</p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-9IZbM" id="tab-WtG_KbK" checked="checked"><label for="tab-WtG_KbK">Tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">默认情况下,price只需要填写一个整数,此时使用的是游戏内自带的资金credit;</span><span style="color:#A6ACCD;"> </span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">想要更改资源类型,可以使用:</span></span>
|
||||
<span class="line"><span style="color:#89DDFF;">\`</span><span style="color:#FFCB6B;">price:资源1</span><span style="color:#C3E88D;">=数值1,资源2=数值2,资源3=数值3,……</span><span style="color:#89DDFF;">\`</span><span style="color:#A6ACCD;"> </span><span style="color:#FFCB6B;">的格式</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">(前提是此资源要在使用的单位进行定义)。</span></span></code></pre></div></div></div><h4 id="price-演示例子" tabindex="-1">price-演示例子 <a class="header-anchor" href="#price-演示例子" aria-label="Permalink to "price-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">price:120,石油=80,铁=60</span></span></code></pre></div><hr><h3 id="radius" tabindex="-1">radius <a class="header-anchor" href="#radius" aria-label="Permalink to "radius""></a></h3><h4 id="radius-代码简介" tabindex="-1">radius-代码简介 <a class="header-anchor" href="#radius-代码简介" aria-label="Permalink to "radius-代码简介""></a></h4><p>代码:radius 中文释义:半径 类型:整数 隶属于:通用代码组</p><h4 id="radius-要点指示" tabindex="-1">radius-要点指示 <a class="header-anchor" href="#radius-要点指示" aria-label="Permalink to "radius-要点指示""></a></h4><p>半径定义单位的<code>实际碰撞体积和显示范围</code>,在未设置<code>选择框大小</code>时,半径决定是单位选择框的大小。 半径的单位是像素(px)。</p><h4 id="radius-演示例子" tabindex="-1">radius-演示例子 <a class="header-anchor" href="#radius-演示例子" aria-label="Permalink to "radius-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">radius:20</span></span></code></pre></div><hr><h3 id="mass" tabindex="-1">mass <a class="header-anchor" href="#mass" aria-label="Permalink to "mass""></a></h3><h4 id="mass-代码简介" tabindex="-1">mass-代码简介 <a class="header-anchor" href="#mass-代码简介" aria-label="Permalink to "mass-代码简介""></a></h4><p>代码:mass 中文释义:质量 类型:整数 隶属于:通用代码组</p><h4 id="mass-要点指示" tabindex="-1">mass-要点指示 <a class="header-anchor" href="#mass-要点指示" aria-label="Permalink to "mass-要点指示""></a></h4><p>质量决定单位在各种碰撞时的效果。<code>质量越大,其他单位越难推动</code>。</p><h4 id="mass-演示例子" tabindex="-1">mass-演示例子 <a class="header-anchor" href="#mass-演示例子" aria-label="Permalink to "mass-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">mass:2000</span></span></code></pre></div><hr><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to "maxHp""></a></h3><h4 id="maxhp-代码简介" tabindex="-1">maxHp-代码简介 <a class="header-anchor" href="#maxhp-代码简介" aria-label="Permalink to "maxHp-代码简介""></a></h4><p>代码:maxHp 中文释义:最大生命值 类型:整数 隶属于:通用代码组</p><h4 id="maxhp-要点指示" tabindex="-1">maxHp-要点指示 <a class="header-anchor" href="#maxhp-要点指示" aria-label="Permalink to "maxHp-要点指示""></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-etCF0" id="tab-FATF6x1" checked="checked"><label for="tab-FATF6x1">tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">最大生命值定义单位在不修改它时最多能够有多少血量,</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">mass:2000</span></span></code></pre></div><hr><h3 id="maxhp" tabindex="-1">maxHp <a class="header-anchor" href="#maxhp" aria-label="Permalink to "maxHp""></a></h3><h4 id="maxhp-代码简介" tabindex="-1">maxHp-代码简介 <a class="header-anchor" href="#maxhp-代码简介" aria-label="Permalink to "maxHp-代码简介""></a></h4><p>代码:maxHp 中文释义:最大生命值 类型:整数 隶属于:通用代码组</p><h4 id="maxhp-要点指示" tabindex="-1">maxHp-要点指示 <a class="header-anchor" href="#maxhp-要点指示" aria-label="Permalink to "maxHp-要点指示""></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-3G7bg" id="tab-WMrig0B" checked="checked"><label for="tab-WMrig0B">tobby3600</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">最大生命值定义单位在不修改它时最多能够有多少血量,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">单位默认生成时即是这个血量。</span></span>
|
||||
<span class="line"><span style="color:#82AAFF;">maxHp可以通过单位参考.maxHp</span><span style="color:#89DDFF;">()</span><span style="color:#A6ACCD;">来获取,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">也可以通过[action]进行修改。</span></span></code></pre></div></div></div><h4 id="maxhp-演示例子" tabindex="-1">maxHp-演示例子 <a class="header-anchor" href="#maxhp-演示例子" aria-label="Permalink to "maxHp-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
|
@ -61,7 +61,7 @@ import{_ as t,K as o,o as r,c,k as e,a,O as n,w as l,X as i}from"./chunks/framew
|
|||
<span class="line"><span style="color:#676E95;font-style:italic;">#如果受到40以下的常规攻击,则进行最低伤害判定</span></span></code></pre></div><hr><h3 id="borrowresourceswhilealive" tabindex="-1">borrowResourcesWhileAlive <a class="header-anchor" href="#borrowresourceswhilealive" aria-label="Permalink to "borrowResourcesWhileAlive""></a></h3><h4 id="borrowresourceswhilealive-代码简介" tabindex="-1">borrowResourcesWhileAlive-代码简介 <a class="header-anchor" href="#borrowresourceswhilealive-代码简介" aria-label="Permalink to "borrowResourcesWhileAlive-代码简介""></a></h4><p>代码:armour 中文释义:资源活着时借用 类型:Price型 隶属于:单位统计代码组</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>创建时获取这些资源,删除或销毁时将其返回。 例如用于电力逻辑,负数供电和正数耗电。</p></div><h4 id="borrowresourceswhilealive-演示例子" tabindex="-1">borrowResourcesWhileAlive-演示例子 <a class="header-anchor" href="#borrowresourceswhilealive-演示例子" aria-label="Permalink to "borrowResourcesWhileAlive-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[core]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">borrowResourcesWhileAlive:5000</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#单位活着的时候给予5000金币,死亡扣除5000金币</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#一个小型贷款系统,</span></span></code></pre></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-J7xCG" id="tab-QxGSem9" checked="checked"><label for="tab-QxGSem9">考考你</label><input type="radio" name="group-J7xCG" id="tab-Znq4JMV"><label for="tab-Znq4JMV">显示答案</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">如果这里要通过这个代码做一个小的贷款系统,</span></span>
|
||||
<span class="line"><span style="color:#676E95;font-style:italic;">#一个小型贷款系统,</span></span></code></pre></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-BK20l" id="tab-q13WT1Q" checked="checked"><label for="tab-q13WT1Q">考考你</label><input type="radio" name="group-BK20l" id="tab-yL02nT4"><label for="tab-yL02nT4">显示答案</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">如果这里要通过这个代码做一个小的贷款系统,</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">并经过一段时间让单位死亡。</span><span style="color:#A6ACCD;"> </span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">只需要4行代码即可实现,试试看。</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">提示:dieOnZeroEnergy:true</span></span>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ import{_ as e,o as a,c as t,X as n}from"./chunks/framework.d377e0cc.js";const u=
|
|||
<span class="line"><span style="color:#A6ACCD;">reverseSpeedPercentage:0.4</span></span></code></pre></div><hr><h3 id="maxturnspeed" tabindex="-1">maxTurnSpeed <a class="header-anchor" href="#maxturnspeed" aria-label="Permalink to "maxTurnSpeed""></a></h3><h4 id="maxturnspeed-代码简介" tabindex="-1">maxTurnSpeed-代码简介 <a class="header-anchor" href="#maxturnspeed-代码简介" aria-label="Permalink to "maxTurnSpeed-代码简介""></a></h4><p>代码:maxTurnSpeed 中文释义:转弯速度 类型:浮点数 隶属于:速度相关组</p><h4 id="maxturnspeed-要点指示" tabindex="-1">maxTurnSpeed-要点指示 <a class="header-anchor" href="#maxturnspeed-要点指示" aria-label="Permalink to "maxTurnSpeed-要点指示""></a></h4><p>定义单位转弯的速度</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>转弯速度的单位是<strong>度/帧</strong>,如果转弯速度为1,那么一秒将旋转60度</p></div><h4 id="maxturnspeed-演示例子" tabindex="-1">maxTurnSpeed-演示例子 <a class="header-anchor" href="#maxturnspeed-演示例子" aria-label="Permalink to "maxTurnSpeed-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[movement]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">maxTurnSpeed:1.5</span></span></code></pre></div><hr><h3 id="turnacceleration" tabindex="-1">turnAcceleration <a class="header-anchor" href="#turnacceleration" aria-label="Permalink to "turnAcceleration""></a></h3><h4 id="turnacceleration-代码简介" tabindex="-1">turnAcceleration-代码简介 <a class="header-anchor" href="#turnacceleration-代码简介" aria-label="Permalink to "turnAcceleration-代码简介""></a></h4><p>代码:turnAcceleration 中文释义:转弯速度 类型:浮点数 隶属于:速度相关组</p><h4 id="turnacceleration-要点指示" tabindex="-1">turnAcceleration-要点指示 <a class="header-anchor" href="#turnacceleration-要点指示" aria-label="Permalink to "turnAcceleration-要点指示""></a></h4><p>定义单位转弯的加速度,开始转弯时将从零开始加速直到转弯速度</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>转弯加速度是按帧计算的,如果想要每秒增加0.6需要填0.01</p></div><h4 id="turnacceleration-演示例子" tabindex="-1">turnAcceleration-演示例子 <a class="header-anchor" href="#turnacceleration-演示例子" aria-label="Permalink to "turnAcceleration-演示例子""></a></h4><div class="language-ini"><button title="Copy Code" class="copy"></button><span class="lang">ini</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">[movement]</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">maxTurnSpeed:1.5</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">turnAcceleration:0.01</span></span></code></pre></div><hr><h2 id="第三类-高度相关组" tabindex="-1">第三类-高度相关组 <a class="header-anchor" href="#第三类-高度相关组" aria-label="Permalink to "第三类-高度相关组""></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to "targetHeight""></a></h3><h4 id="targetheight-代码简介" tabindex="-1">targetHeight-代码简介 <a class="header-anchor" href="#targetheight-代码简介" aria-label="Permalink to "targetHeight-代码简介""></a></h4><p>代码:targetHeight 中文释义:到达高度 类型:浮点数 隶属于:高度相关组</p><h4 id="targetheight-要点指示" tabindex="-1">targetHeight-要点指示 <a class="header-anchor" href="#targetheight-要点指示" aria-label="Permalink to "targetHeight-要点指示""></a></h4><p>定义单位的高度,当单位创建完成时会从0到达这个高度</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>如果运动类型为AIR,targetHeight默认值将为20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-f1uOb" id="tab-73XjsZG" checked="checked"><label for="tab-73XjsZG">摸鱼人time</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">大部分单位能被什么类型的攻击方式攻击不取决于移动类型,而是取决于高度</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">turnAcceleration:0.01</span></span></code></pre></div><hr><h2 id="第三类-高度相关组" tabindex="-1">第三类-高度相关组 <a class="header-anchor" href="#第三类-高度相关组" aria-label="Permalink to "第三类-高度相关组""></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to "targetHeight""></a></h3><h4 id="targetheight-代码简介" tabindex="-1">targetHeight-代码简介 <a class="header-anchor" href="#targetheight-代码简介" aria-label="Permalink to "targetHeight-代码简介""></a></h4><p>代码:targetHeight 中文释义:到达高度 类型:浮点数 隶属于:高度相关组</p><h4 id="targetheight-要点指示" tabindex="-1">targetHeight-要点指示 <a class="header-anchor" href="#targetheight-要点指示" aria-label="Permalink to "targetHeight-要点指示""></a></h4><p>定义单位的高度,当单位创建完成时会从0到达这个高度</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>如果运动类型为AIR,targetHeight默认值将为20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-M8TUi" id="tab-mwMJMjS" checked="checked"><label for="tab-mwMJMjS">摸鱼人time</label></div><div class="blocks"><div class="language-bash active"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#FFCB6B;">大部分单位能被什么类型的攻击方式攻击不取决于移动类型,而是取决于高度</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">如果高度是负数,那么可以被水下攻击命中</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">如果高度位于0到10之间,可以被对表面攻击命中</span></span>
|
||||
<span class="line"><span style="color:#FFCB6B;">如果高度大于10,可以被对空攻击命中</span></span>
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"src_map_tsada.md":"a63d0bb5","src_rw-engine_quick-start.md":"921da213","index.md":"f503aa80","api-dev.md":"8b5f2e0b","src_debug_test.md":"5eb6a57a","src_unit_graphics.md":"8ae7ad98","src_unit_core.md":"462d934e","src_unit_movement.md":"d18a9e99","src_unit_spawnunit_spawnprojectile.md":"d50999f9","src_unit_loginboolean.md":"3b9cc54b","src_unit_canbuild.md":"5fbb7b24","src_unit_attack.md":"7f0843b3","src_unit_turret.md":"d370e296"}
|
||||
{"src_debug_test.md":"5eb6a57a","index.md":"f503aa80","src_map_tsada.md":"a63d0bb5","src_rw-engine_quick-start.md":"921da213","src_unit_attack.md":"86ca6fa2","cos.md":"c9635cbb","src_unit_attachment.md":"278f3818","src_unit_canbuild.md":"69b9f7f2","src_unit_spawnunit_spawnprojectile.md":"d50999f9","src_unit_movement.md":"e3fbd25c","src_unit_core.md":"c26e5487","src_unit_graphics.md":"8ae7ad98","api-dev.md":"8b5f2e0b","src_unit_turret.md":"d370e296","src_unit_loginboolean.md":"4ca2b8c2"}
|
||||
|
|
10
index.html
10
index.html
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
58
src/Unit/attachment.html
Normal file
58
src/Unit/attachment.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user