Deploying to gh-pages from @ LingASDJ/RW-API-Code@a839daa005 🚀

This commit is contained in:
LingASDJ 2023-08-06 04:01:22 +00:00
parent 01aefac5ca
commit b872216e08
28 changed files with 198 additions and 96 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{_ as tn,v as nn,C as rn,O as an,N as sn,e as on,f as cn,F as v,u as ln,Q as le,a5 as un,c as dn,A as fn,H as hn,a6 as pn,a7 as mn,a8 as gn,a9 as bn,aa as _n,ab as In,ac as yn,ad as En,ae as Tn,af as vn,ag as wn,ah as An,ai as Sn,Y as Cn}from"./chunks/framework.c741a37c.js";import{t as rt}from"./chunks/theme.feb1b77f.js";/**
import{_ as tn,v as nn,C as rn,O as an,N as sn,e as on,f as cn,F as v,u as ln,Q as le,a5 as un,c as dn,A as fn,H as hn,a6 as pn,a7 as mn,a8 as gn,a9 as bn,aa as _n,ab as In,ac as yn,ad as En,ae as Tn,af as vn,ag as wn,ah as An,ai as Sn,Y as Cn}from"./chunks/framework.c741a37c.js";import{t as rt}from"./chunks/theme.cba16022.js";/**
* @license
* Copyright 2017 Google LLC
*

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

View File

@ -0,0 +1,27 @@
import{_ as a,v as t,b as e,R as n}from"./chunks/framework.c741a37c.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(`<h1 id="attack-组" tabindex="-1"><strong>[attack]组</strong> <a class="header-anchor" href="#attack-组" aria-label="Permalink to &quot;**[attack]组**&quot;"></a></h1><h2 id="第一类-基础攻击代码组" tabindex="-1">第一类-基础攻击代码组 <a class="header-anchor" href="#第一类-基础攻击代码组" aria-label="Permalink to &quot;第一类-基础攻击代码组&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p>此处攻击代码均可以在炮塔节进行覆盖</p></div><h3 id="canattack" tabindex="-1">canAttack <a class="header-anchor" href="#canattack" aria-label="Permalink to &quot;canAttack&quot;"></a></h3><h4 id="canattack-代码简介" tabindex="-1">canAttack-代码简介 <a class="header-anchor" href="#canattack-代码简介" aria-label="Permalink to &quot;canAttack-代码简介&quot;"></a></h4><p>代码:canAttack 中文释义:可攻击 类型:布尔值bool 隶属于:基础攻击代码组</p><h4 id="canattack-要点指示" tabindex="-1">canAttack-要点指示 <a class="header-anchor" href="#canattack-要点指示" aria-label="Permalink to &quot;canAttack-要点指示&quot;"></a></h4><p>设置单位是否能攻击</p><h4 id="canattack-演示例子" tabindex="-1">canAttack-演示例子 <a class="header-anchor" href="#canattack-演示例子" aria-label="Permalink to &quot;canAttack-演示例子&quot;"></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;">canAttack:true</span></span></code></pre></div><hr><h3 id="canattacklandunits" tabindex="-1">canAttackLandUnits <a class="header-anchor" href="#canattacklandunits" aria-label="Permalink to &quot;canAttackLandUnits&quot;"></a></h3><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p>:canAttackLandUnits : :LogicBoolean :</p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p></p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></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;">canAttackLandUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackflyingunits" tabindex="-1">canAttackFlyingUnits <a class="header-anchor" href="#canattackflyingunits" aria-label="Permalink to &quot;canAttackFlyingUnits&quot;"></a></h3><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p>:canAttackFlyingUnits : :LogicBoolean :</p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p></p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></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;">canAttackFlyingUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackunderwaterunits" tabindex="-1">canAttackUnderwaterUnits <a class="header-anchor" href="#canattackunderwaterunits" aria-label="Permalink to &quot;canAttackUnderwaterUnits&quot;"></a></h3><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p>:canAttackUnderwaterUnits : :LogicBoolean :</p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p></p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></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;">canAttackUnderwaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattacknottouchingwaterunits" tabindex="-1">canAttackNotTouchingWaterUnits <a class="header-anchor" href="#canattacknottouchingwaterunits" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits&quot;"></a></h3><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p>:canAttackNotTouchingWaterUnits : :LogicBoolean :</p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p></p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></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;">canAttackNotTouchingWaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>使</p></div><h3 id="canonlyattackunitswithtags" tabindex="-1">canOnlyAttackUnitsWithTags <a class="header-anchor" href="#canonlyattackunitswithtags" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags&quot;"></a></h3><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p>:canOnlyAttackUnitsWithTags : :tag :</p><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p></p><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></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;">canOnlyAttackUnitsWithTags:标签</span></span></code></pre></div><hr><h3 id="canonlyattackunitswithouttags" tabindex="-1">canOnlyAttackUnitsWithoutTags <a class="header-anchor" href="#canonlyattackunitswithouttags" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags&quot;"></a></h3><h4 id="canonlyattackunitswithtags--1" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags--1" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p>:canOnlyAttackUnitsWithoutTags : :tag :</p><h4 id="canonlyattackunitswithouttags-" tabindex="-1">canOnlyAttackUnitsWithoutTags- <a class="header-anchor" href="#canonlyattackunitswithouttags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags-&quot;"></a></h4><p></p><h4 id="canonlyattackunitswithouttags-" tabindex="-1">canOnlyAttackUnitsWithoutTags- <a class="header-anchor" href="#canonlyattackunitswithouttags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags-&quot;"></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;">canOnlyAttackUnitsWithoutTags:标签</span></span></code></pre></div><hr><h3 id="turretmultitargeting" tabindex="-1">turretMultiTargeting <a class="header-anchor" href="#turretmultitargeting" aria-label="Permalink to &quot;turretMultiTargeting&quot;"></a></h3><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></a></h4><p>:turretMultiTargeting : :bool :</p><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></a></h4><p>, </p><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></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;">turretMultiTargeting:true</span></span></code></pre></div><hr><h3 id="dieonattack-removeonattack" tabindex="-1">dieOnAttack/removeOnAttack <a class="header-anchor" href="#dieonattack-removeonattack" aria-label="Permalink to &quot;dieOnAttack/removeOnAttack&quot;"></a></h3><h4 id="dieonattack-" tabindex="-1">dieOnAttack- <a class="header-anchor" href="#dieonattack-" aria-label="Permalink to &quot;dieOnAttack-&quot;"></a></h4><p>:dieOnAttack/removeOnAttack:/ :bool :</p><h4 id="dieonattack-" tabindex="-1">dieOnAttack- <a class="header-anchor" href="#dieonattack-" aria-label="Permalink to &quot;dieOnAttack-&quot;"></a></h4><p></p><h4 id="removeonattack-" tabindex="-1">removeOnAttack- <a class="header-anchor" href="#removeonattack-" aria-label="Permalink to &quot;removeOnAttack-&quot;"></a></h4><p></p><h4 id="dieonattack-removeonattack-" tabindex="-1">dieOnAttack/removeOnAttack- <a class="header-anchor" href="#dieonattack-removeonattack-" aria-label="Permalink to &quot;dieOnAttack/removeOnAttack-&quot;"></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;">dieOnAttack:true</span></span>
<span class="line"><span style="color:#A6ACCD;">removeOnAttack:true</span></span></code></pre></div><hr><h3 id="isfixedfiring" tabindex="-1">isFixedFiring <a class="header-anchor" href="#isfixedfiring" aria-label="Permalink to &quot;isFixedFiring&quot;"></a></h3><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></a></h4><p>:isFixedFiring : :bool :</p><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></a></h4><p></p><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></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;">isFixedFiring:true</span></span></code></pre></div><hr><h3 id="stoptargetingafterfiring" tabindex="-1">stopTargetingAfterFiring <a class="header-anchor" href="#stoptargetingafterfiring" aria-label="Permalink to &quot;stopTargetingAfterFiring&quot;"></a></h3><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></a></h4><p>:stopTargetingAfterFiring : :bool :</p><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></a></h4><p></p><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></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;">stopTargetingAfterFiring:true</span></span></code></pre></div><hr><h3 id="disablepassivetargeting" tabindex="-1">disablePassiveTargeting <a class="header-anchor" href="#disablepassivetargeting" aria-label="Permalink to &quot;disablePassiveTargeting&quot;"></a></h3><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></a></h4><p>:disablePassiveTargeting : :bool :</p><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></a></h4><p>,attack,</p><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></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;">disablePassiveTargeting:true</span></span></code></pre></div><hr><h3 id="ismelee" tabindex="-1">isMelee <a class="header-anchor" href="#ismelee" aria-label="Permalink to &quot;isMelee&quot;"></a></h3><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></a></h4><p>:isMelee : :bool :</p><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></a></h4><p>,,,</p><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></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;">isMelee:true</span></span></code></pre></div><hr><h3 id="meleeengangementdistance" tabindex="-1">meleeEngangementDistance <a class="header-anchor" href="#meleeengangementdistance" aria-label="Permalink to &quot;meleeEngangementDistance&quot;"></a></h3><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></a></h4><p>:meleeEngangementDistance : :int :</p><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></a></h4><p>,isMelee使,1500</p><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></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;">meleeEngangementDistance:1500</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><code></code>,使</p></div><h3 id="turretsize" tabindex="-1">turretSize <a class="header-anchor" href="#turretsize" aria-label="Permalink to &quot;turretSize&quot;"></a></h3><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></a></h4><p>:turretSize : :float :</p><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></a></h4><p>使size</p><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></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;">turretSize:20</span></span></code></pre></div><hr><h3 id="turretturnspeed" tabindex="-1">turretTurnSpeed <a class="header-anchor" href="#turretturnspeed" aria-label="Permalink to &quot;turretTurnSpeed&quot;"></a></h3><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></a></h4><p>:turretTurnSpeed : :float :</p><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></a></h4><p>601160使turnSpeed</p><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></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;">turretTurnSpeed:2</span></span></code></pre></div><hr><h3 id="shootdelay" tabindex="-1">shootDelay <a class="header-anchor" href="#shootdelay" aria-label="Permalink to &quot;shootDelay&quot;"></a></h3><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></a></h4><p>:shootDelay : :float :</p><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></a></h4><p>601s使delay</p><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></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;">shootDelay:60</span></span></code></pre></div><hr><h3 id="maxattackrange" tabindex="-1">maxAttackRange <a class="header-anchor" href="#maxattackrange" aria-label="Permalink to &quot;maxAttackRange&quot;"></a></h3><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></a></h4><p>:maxAttackRange : :int :</p><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></a></h4><p>使limitingRange</p><details class="details custom-block"><summary>Details</summary><p>limitingRangemaxAttackRange使limitingRangemaxAttackRange</p></details><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></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 &quot;aimOffsetSpread&quot;"></a></h3><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>:aimOffsetSpread : :float :</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>0</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></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 &quot;shootDelayMultiplier/shootDamageMultiplier&quot;"></a></h3><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></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 &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></a></h4><p>使setUnitStats</p><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></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 &quot;-&quot;"></a></h2><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-k2C9S" id="tab-0oa9XuG" checked="checked"><label for="tab-0oa9XuG"></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 &quot;setMainTurretAs&quot;"></a></h3><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></a></h4><p>:setMainTurretAs : :turret ref :</p><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></a></h4><p></p><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></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 &quot;turretRotateWithBody&quot;"></a></h3><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></a></h4><p>:turretRotateWithBody : :bool :</p><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></a></h4><p></p><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></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 &quot;attackMovement&quot;"></a></h3><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&quot;"></a></h4><p>:attackMovement : :string :</p><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&quot;"></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 &quot;attackMovement-&quot;"></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 &quot;showRangeUIGuide&quot;"></a></h3><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>:showRangeUIGuide :UI :bool :</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>UItrue</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></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),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};

View File

@ -0,0 +1,27 @@
import{_ as a,v as t,b as e,R as n}from"./chunks/framework.c741a37c.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(`<h1 id="attack-组" tabindex="-1"><strong>[attack]组</strong> <a class="header-anchor" href="#attack-组" aria-label="Permalink to &quot;**[attack]组**&quot;"></a></h1><h2 id="第一类-基础攻击代码组" tabindex="-1">第一类-基础攻击代码组 <a class="header-anchor" href="#第一类-基础攻击代码组" aria-label="Permalink to &quot;第一类-基础攻击代码组&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>以下的代码为<code>通用代码</code>,多半是必要的代码,如果不包括这些,可能在<code>绝大多数情况下导致错误</code>。</p></div><div class="info custom-block"><p class="custom-block-title">INFO</p><p>此处攻击代码均可以在炮塔节进行覆盖</p></div><h3 id="canattack" tabindex="-1">canAttack <a class="header-anchor" href="#canattack" aria-label="Permalink to &quot;canAttack&quot;"></a></h3><h4 id="canattack-代码简介" tabindex="-1">canAttack-代码简介 <a class="header-anchor" href="#canattack-代码简介" aria-label="Permalink to &quot;canAttack-代码简介&quot;"></a></h4><p>代码:canAttack 中文释义:可攻击 类型:布尔值bool 隶属于:基础攻击代码组</p><h4 id="canattack-要点指示" tabindex="-1">canAttack-要点指示 <a class="header-anchor" href="#canattack-要点指示" aria-label="Permalink to &quot;canAttack-要点指示&quot;"></a></h4><p>设置单位是否能攻击</p><h4 id="canattack-演示例子" tabindex="-1">canAttack-演示例子 <a class="header-anchor" href="#canattack-演示例子" aria-label="Permalink to &quot;canAttack-演示例子&quot;"></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;">canAttack:true</span></span></code></pre></div><hr><h3 id="canattacklandunits" tabindex="-1">canAttackLandUnits <a class="header-anchor" href="#canattacklandunits" aria-label="Permalink to &quot;canAttackLandUnits&quot;"></a></h3><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p>:canAttackLandUnits : :LogicBoolean :</p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></a></h4><p></p><h4 id="canattacklandunits-" tabindex="-1">canAttackLandUnits- <a class="header-anchor" href="#canattacklandunits-" aria-label="Permalink to &quot;canAttackLandUnits-&quot;"></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;">canAttackLandUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackflyingunits" tabindex="-1">canAttackFlyingUnits <a class="header-anchor" href="#canattackflyingunits" aria-label="Permalink to &quot;canAttackFlyingUnits&quot;"></a></h3><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p>:canAttackFlyingUnits : :LogicBoolean :</p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></a></h4><p></p><h4 id="canattackflyingunits-" tabindex="-1">canAttackFlyingUnits- <a class="header-anchor" href="#canattackflyingunits-" aria-label="Permalink to &quot;canAttackFlyingUnits-&quot;"></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;">canAttackFlyingUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattackunderwaterunits" tabindex="-1">canAttackUnderwaterUnits <a class="header-anchor" href="#canattackunderwaterunits" aria-label="Permalink to &quot;canAttackUnderwaterUnits&quot;"></a></h3><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p>:canAttackUnderwaterUnits : :LogicBoolean :</p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></a></h4><p></p><h4 id="canattackunderwaterunits-" tabindex="-1">canAttackUnderwaterUnits- <a class="header-anchor" href="#canattackunderwaterunits-" aria-label="Permalink to &quot;canAttackUnderwaterUnits-&quot;"></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;">canAttackUnderwaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h3 id="canattacknottouchingwaterunits" tabindex="-1">canAttackNotTouchingWaterUnits <a class="header-anchor" href="#canattacknottouchingwaterunits" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits&quot;"></a></h3><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p>:canAttackNotTouchingWaterUnits : :LogicBoolean :</p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></a></h4><p></p><h4 id="canattacknottouchingwaterunits-" tabindex="-1">canAttackNotTouchingWaterUnits- <a class="header-anchor" href="#canattacknottouchingwaterunits-" aria-label="Permalink to &quot;canAttackNotTouchingWaterUnits-&quot;"></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;">canAttackNotTouchingWaterUnits:if self.ammo&gt;=2</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>使</p></div><h3 id="canonlyattackunitswithtags" tabindex="-1">canOnlyAttackUnitsWithTags <a class="header-anchor" href="#canonlyattackunitswithtags" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags&quot;"></a></h3><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p>:canOnlyAttackUnitsWithTags : :tag :</p><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p></p><h4 id="canonlyattackunitswithtags-" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></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;">canOnlyAttackUnitsWithTags:标签</span></span></code></pre></div><hr><h3 id="canonlyattackunitswithouttags" tabindex="-1">canOnlyAttackUnitsWithoutTags <a class="header-anchor" href="#canonlyattackunitswithouttags" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags&quot;"></a></h3><h4 id="canonlyattackunitswithtags--1" tabindex="-1">canOnlyAttackUnitsWithTags- <a class="header-anchor" href="#canonlyattackunitswithtags--1" aria-label="Permalink to &quot;canOnlyAttackUnitsWithTags-&quot;"></a></h4><p>:canOnlyAttackUnitsWithoutTags : :tag :</p><h4 id="canonlyattackunitswithouttags-" tabindex="-1">canOnlyAttackUnitsWithoutTags- <a class="header-anchor" href="#canonlyattackunitswithouttags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags-&quot;"></a></h4><p></p><h4 id="canonlyattackunitswithouttags-" tabindex="-1">canOnlyAttackUnitsWithoutTags- <a class="header-anchor" href="#canonlyattackunitswithouttags-" aria-label="Permalink to &quot;canOnlyAttackUnitsWithoutTags-&quot;"></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;">canOnlyAttackUnitsWithoutTags:标签</span></span></code></pre></div><hr><h3 id="turretmultitargeting" tabindex="-1">turretMultiTargeting <a class="header-anchor" href="#turretmultitargeting" aria-label="Permalink to &quot;turretMultiTargeting&quot;"></a></h3><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></a></h4><p>:turretMultiTargeting : :bool :</p><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></a></h4><p>, </p><h4 id="turretmultitargeting-" tabindex="-1">turretMultiTargeting- <a class="header-anchor" href="#turretmultitargeting-" aria-label="Permalink to &quot;turretMultiTargeting-&quot;"></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;">turretMultiTargeting:true</span></span></code></pre></div><hr><h3 id="dieonattack-removeonattack" tabindex="-1">dieOnAttack/removeOnAttack <a class="header-anchor" href="#dieonattack-removeonattack" aria-label="Permalink to &quot;dieOnAttack/removeOnAttack&quot;"></a></h3><h4 id="dieonattack-" tabindex="-1">dieOnAttack- <a class="header-anchor" href="#dieonattack-" aria-label="Permalink to &quot;dieOnAttack-&quot;"></a></h4><p>:dieOnAttack/removeOnAttack:/ :bool :</p><h4 id="dieonattack-" tabindex="-1">dieOnAttack- <a class="header-anchor" href="#dieonattack-" aria-label="Permalink to &quot;dieOnAttack-&quot;"></a></h4><p></p><h4 id="removeonattack-" tabindex="-1">removeOnAttack- <a class="header-anchor" href="#removeonattack-" aria-label="Permalink to &quot;removeOnAttack-&quot;"></a></h4><p></p><h4 id="dieonattack-removeonattack-" tabindex="-1">dieOnAttack/removeOnAttack- <a class="header-anchor" href="#dieonattack-removeonattack-" aria-label="Permalink to &quot;dieOnAttack/removeOnAttack-&quot;"></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;">dieOnAttack:true</span></span>
<span class="line"><span style="color:#A6ACCD;">removeOnAttack:true</span></span></code></pre></div><hr><h3 id="isfixedfiring" tabindex="-1">isFixedFiring <a class="header-anchor" href="#isfixedfiring" aria-label="Permalink to &quot;isFixedFiring&quot;"></a></h3><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></a></h4><p>:isFixedFiring : :bool :</p><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></a></h4><p></p><h4 id="isfixedfiring-" tabindex="-1">isFixedFiring- <a class="header-anchor" href="#isfixedfiring-" aria-label="Permalink to &quot;isFixedFiring-&quot;"></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;">isFixedFiring:true</span></span></code></pre></div><hr><h3 id="stoptargetingafterfiring" tabindex="-1">stopTargetingAfterFiring <a class="header-anchor" href="#stoptargetingafterfiring" aria-label="Permalink to &quot;stopTargetingAfterFiring&quot;"></a></h3><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></a></h4><p>:stopTargetingAfterFiring : :bool :</p><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></a></h4><p></p><h4 id="stoptargetingafterfiring-" tabindex="-1">stopTargetingAfterFiring- <a class="header-anchor" href="#stoptargetingafterfiring-" aria-label="Permalink to &quot;stopTargetingAfterFiring-&quot;"></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;">stopTargetingAfterFiring:true</span></span></code></pre></div><hr><h3 id="disablepassivetargeting" tabindex="-1">disablePassiveTargeting <a class="header-anchor" href="#disablepassivetargeting" aria-label="Permalink to &quot;disablePassiveTargeting&quot;"></a></h3><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></a></h4><p>:disablePassiveTargeting : :bool :</p><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></a></h4><p>,attack,</p><h4 id="disablepassivetargeting-" tabindex="-1">disablePassiveTargeting- <a class="header-anchor" href="#disablepassivetargeting-" aria-label="Permalink to &quot;disablePassiveTargeting-&quot;"></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;">disablePassiveTargeting:true</span></span></code></pre></div><hr><h3 id="ismelee" tabindex="-1">isMelee <a class="header-anchor" href="#ismelee" aria-label="Permalink to &quot;isMelee&quot;"></a></h3><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></a></h4><p>:isMelee : :bool :</p><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></a></h4><p>,,,</p><h4 id="ismelee-" tabindex="-1">isMelee- <a class="header-anchor" href="#ismelee-" aria-label="Permalink to &quot;isMelee-&quot;"></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;">isMelee:true</span></span></code></pre></div><hr><h3 id="meleeengangementdistance" tabindex="-1">meleeEngangementDistance <a class="header-anchor" href="#meleeengangementdistance" aria-label="Permalink to &quot;meleeEngangementDistance&quot;"></a></h3><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></a></h4><p>:meleeEngangementDistance : :int :</p><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></a></h4><p>,isMelee使,1500</p><h4 id="meleeengangementdistance-" tabindex="-1">meleeEngangementDistance- <a class="header-anchor" href="#meleeengangementdistance-" aria-label="Permalink to &quot;meleeEngangementDistance-&quot;"></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;">meleeEngangementDistance:1500</span></span></code></pre></div><hr><h2 id="-" tabindex="-1">- <a class="header-anchor" href="#-" aria-label="Permalink to &quot;-&quot;"></a></h2><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><code></code>,使</p></div><h3 id="turretsize" tabindex="-1">turretSize <a class="header-anchor" href="#turretsize" aria-label="Permalink to &quot;turretSize&quot;"></a></h3><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></a></h4><p>:turretSize : :float :</p><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></a></h4><p>使size</p><h4 id="turretsize-" tabindex="-1">turretSize- <a class="header-anchor" href="#turretsize-" aria-label="Permalink to &quot;turretSize-&quot;"></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;">turretSize:20</span></span></code></pre></div><hr><h3 id="turretturnspeed" tabindex="-1">turretTurnSpeed <a class="header-anchor" href="#turretturnspeed" aria-label="Permalink to &quot;turretTurnSpeed&quot;"></a></h3><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></a></h4><p>:turretTurnSpeed : :float :</p><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></a></h4><p>601160使turnSpeed</p><h4 id="turretturnspeed-" tabindex="-1">turretTurnSpeed- <a class="header-anchor" href="#turretturnspeed-" aria-label="Permalink to &quot;turretTurnSpeed-&quot;"></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;">turretTurnSpeed:2</span></span></code></pre></div><hr><h3 id="shootdelay" tabindex="-1">shootDelay <a class="header-anchor" href="#shootdelay" aria-label="Permalink to &quot;shootDelay&quot;"></a></h3><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></a></h4><p>:shootDelay : :float :</p><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></a></h4><p>601s使delay</p><h4 id="shootdelay-" tabindex="-1">shootDelay- <a class="header-anchor" href="#shootdelay-" aria-label="Permalink to &quot;shootDelay-&quot;"></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;">shootDelay:60</span></span></code></pre></div><hr><h3 id="maxattackrange" tabindex="-1">maxAttackRange <a class="header-anchor" href="#maxattackrange" aria-label="Permalink to &quot;maxAttackRange&quot;"></a></h3><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></a></h4><p>:maxAttackRange : :int :</p><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></a></h4><p>使limitingRange</p><details class="details custom-block"><summary>Details</summary><p>limitingRangemaxAttackRange使limitingRangemaxAttackRange</p></details><h4 id="maxattackrange-" tabindex="-1">maxAttackRange- <a class="header-anchor" href="#maxattackrange-" aria-label="Permalink to &quot;maxAttackRange-&quot;"></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 &quot;aimOffsetSpread&quot;"></a></h3><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>:aimOffsetSpread : :float :</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></a></h4><p>0</p><h4 id="aimoffsetspread-" tabindex="-1">aimOffsetSpread- <a class="header-anchor" href="#aimoffsetspread-" aria-label="Permalink to &quot;aimOffsetSpread-&quot;"></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 &quot;shootDelayMultiplier/shootDamageMultiplier&quot;"></a></h3><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></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 &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></a></h4><p>使setUnitStats</p><h4 id="shootdelaymultiplier-shootdamagemultiplier-" tabindex="-1">shootDelayMultiplier/shootDamageMultiplier- <a class="header-anchor" href="#shootdelaymultiplier-shootdamagemultiplier-" aria-label="Permalink to &quot;shootDelayMultiplier/shootDamageMultiplier-&quot;"></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 &quot;-&quot;"></a></h2><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-k2C9S" id="tab-0oa9XuG" checked="checked"><label for="tab-0oa9XuG"></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 &quot;setMainTurretAs&quot;"></a></h3><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></a></h4><p>:setMainTurretAs : :turret ref :</p><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></a></h4><p></p><h4 id="setmainturretas-" tabindex="-1">setMainTurretAs- <a class="header-anchor" href="#setmainturretas-" aria-label="Permalink to &quot;setMainTurretAs-&quot;"></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 &quot;turretRotateWithBody&quot;"></a></h3><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></a></h4><p>:turretRotateWithBody : :bool :</p><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></a></h4><p></p><h4 id="turretrotatewithbody-" tabindex="-1">turretRotateWithBody- <a class="header-anchor" href="#turretrotatewithbody-" aria-label="Permalink to &quot;turretRotateWithBody-&quot;"></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 &quot;attackMovement&quot;"></a></h3><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&quot;"></a></h4><p>:attackMovement : :string :</p><h4 id="attackmovement-" tabindex="-1">attackMovement- <a class="header-anchor" href="#attackmovement-" aria-label="Permalink to &quot;attackMovement-&quot;"></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 &quot;attackMovement-&quot;"></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 &quot;showRangeUIGuide&quot;"></a></h3><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>:showRangeUIGuide :UI :bool :</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></a></h4><p>UItrue</p><h4 id="showrangeuiguide-" tabindex="-1">showRangeUIGuide- <a class="header-anchor" href="#showrangeuiguide-" aria-label="Permalink to &quot;showRangeUIGuide-&quot;"></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),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};

View File

@ -1,4 +1,4 @@
import{_ as n,v as i,b as o,F as s,L as a,E as c,O as t,R as e,M as p}from"./chunks/framework.c741a37c.js";const v=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 &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></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-uFOfk" id="tab-SG3WohS" checked="checked"><label for="tab-SG3WohS">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,v as i,b as o,F as s,L as a,E as c,O as t,R as e,M as p}from"./chunks/framework.c741a37c.js";const v=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 &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></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-fK1pV" id="tab-dynsmKU" checked="checked"><label for="tab-dynsmKU">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 &quot;[canBuild_NAME]-&quot;"></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>
@ -30,4 +30,4 @@ import{_ as n,v as i,b as o,F as s,L as a,E as c,O as t,R as e,M as p}from"./chu
<span class="line"><span style="color:#A6ACCD;">isLockedAlt2Message: 第三个原因是我觉得你应该把雪糕分我一半吃</span></span></code></pre></div><h3 id="addresources" tabindex="-1">addResources <a class="header-anchor" href="#addresources" aria-label="Permalink to &quot;addResources&quot;"></a></h3><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></a></h4><p>:addResources : : </p><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>使</p></div><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></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>
<span class="line"><span style="color:#A6ACCD;">addResources: </span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5, </span><span style="color:#F07178;">setFlag</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">1</span></span></code></pre></div><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : </p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>,600,1400,2000,1400,600,HX</p></div><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></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>
<span class="line"><span style="color:#A6ACCD;">price: 5000,</span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5</span></span></code></pre></div><h3 id="isguiblinking" tabindex="-1">isGuiBlinking <a class="header-anchor" href="#isguiblinking" aria-label="Permalink to &quot;isGuiBlinking&quot;"></a></h3><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></a></h4><p>:isGuiBlinking : : </p><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></a></h4><p>trueUI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> UI</p></div><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></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>
<span class="line"><span style="color:#A6ACCD;">isGuiBlinking:true</span></span></code></pre></div>`,59);function m(g,A,y,C,q,D){const l=p("font");return i(),o("div",null,[d,s("div",h,[u,s("p",null,[a(""),k,a(" "),c(l,{color:"red"},{default:t(()=>[a("\\n")]),_:1}),a(" ")])]),b])}const F=n(r,[["render",m]]);export{v as __pageData,F as default};
<span class="line"><span style="color:#A6ACCD;">isGuiBlinking:true</span></span></code></pre></div>`,59);function m(g,A,y,C,q,D){const l=p("font");return i(),o("div",null,[d,s("div",h,[u,s("p",null,[a(""),k,a(" "),c(l,{color:"red"},{default:t(()=>[a("\\n")]),_:1}),a(" ")])]),b])}const L=n(r,[["render",m]]);export{v as __pageData,L as default};

View File

@ -1,4 +1,4 @@
import{_ as n,v as i,b as o,F as s,L as a,E as c,O as t,R as e,M as p}from"./chunks/framework.c741a37c.js";const v=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 &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></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-uFOfk" id="tab-SG3WohS" checked="checked"><label for="tab-SG3WohS">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,v as i,b as o,F as s,L as a,E as c,O as t,R as e,M as p}from"./chunks/framework.c741a37c.js";const v=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 &quot;**[canBuild]建造组**&quot;"></a></h1><h3 id="canbuild-name" tabindex="-1">[canBuild_NAME] <a class="header-anchor" href="#canbuild-name" aria-label="Permalink to &quot;[canBuild_NAME]&quot;"></a></h3><h4 id="canbuild-name-代码简介" tabindex="-1">[canBuild_NAME]-代码简介 <a class="header-anchor" href="#canbuild-name-代码简介" aria-label="Permalink to &quot;[canBuild_NAME]-代码简介&quot;"></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-fK1pV" id="tab-dynsmKU" checked="checked"><label for="tab-dynsmKU">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 &quot;[canBuild_NAME]-&quot;"></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>
@ -30,4 +30,4 @@ import{_ as n,v as i,b as o,F as s,L as a,E as c,O as t,R as e,M as p}from"./chu
<span class="line"><span style="color:#A6ACCD;">isLockedAlt2Message: 第三个原因是我觉得你应该把雪糕分我一半吃</span></span></code></pre></div><h3 id="addresources" tabindex="-1">addResources <a class="header-anchor" href="#addresources" aria-label="Permalink to &quot;addResources&quot;"></a></h3><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></a></h4><p>:addResources : : </p><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>使</p></div><h4 id="addresources-" tabindex="-1">addResources- <a class="header-anchor" href="#addresources-" aria-label="Permalink to &quot;addResources-&quot;"></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>
<span class="line"><span style="color:#A6ACCD;">addResources: </span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5, </span><span style="color:#F07178;">setFlag</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">1</span></span></code></pre></div><h3 id="price" tabindex="-1">price <a class="header-anchor" href="#price" aria-label="Permalink to &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : </p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>,600,1400,2000,1400,600,HX</p></div><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></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>
<span class="line"><span style="color:#A6ACCD;">price: 5000,</span><span style="color:#F07178;">ammo</span><span style="color:#89DDFF;">=</span><span style="color:#A6ACCD;">5</span></span></code></pre></div><h3 id="isguiblinking" tabindex="-1">isGuiBlinking <a class="header-anchor" href="#isguiblinking" aria-label="Permalink to &quot;isGuiBlinking&quot;"></a></h3><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></a></h4><p>:isGuiBlinking : : </p><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></a></h4><p>trueUI</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> UI</p></div><h4 id="isguiblinking-" tabindex="-1">isGuiBlinking- <a class="header-anchor" href="#isguiblinking-" aria-label="Permalink to &quot;isGuiBlinking-&quot;"></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>
<span class="line"><span style="color:#A6ACCD;">isGuiBlinking:true</span></span></code></pre></div>`,59);function m(g,A,y,C,q,D){const l=p("font");return i(),o("div",null,[d,s("div",h,[u,s("p",null,[a(""),k,a(" "),c(l,{color:"red"},{default:t(()=>[a("\\n")]),_:1}),a(" ")])]),b])}const F=n(r,[["render",m]]);export{v as __pageData,F as default};
<span class="line"><span style="color:#A6ACCD;">isGuiBlinking:true</span></span></code></pre></div>`,59);function m(g,A,y,C,q,D){const l=p("font");return i(),o("div",null,[d,s("div",h,[u,s("p",null,[a(""),k,a(" "),c(l,{color:"red"},{default:t(()=>[a("\\n")]),_:1}),a(" ")])]),b])}const L=n(r,[["render",m]]);export{v as __pageData,L as default};

View File

@ -1,4 +1,4 @@
import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chunks/framework.c741a37c.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 &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></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 &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-hrka2" id="tab-5neogNR" checked="checked"><label for="tab-5neogNR">JDSALing</label><input type="radio" name="group-hrka2" id="tab-tToI1gF"><label for="tab-tToI1gF">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,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chunks/framework.c741a37c.js";const M=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 &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></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 &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-uOwFg" id="tab-E9H4NZ1" checked="checked"><label for="tab-E9H4NZ1">JDSALing</label><input type="radio" name="group-uOwFg" id="tab-RwkoOQQ"><label for="tab-RwkoOQQ">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,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<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 &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-9isRD" id="tab-RDyyt7K" checked="checked"><label for="tab-RDyyt7K">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 &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-nJkC4" id="tab-_6Hxv7h" checked="checked"><label for="tab-_6Hxv7h">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 &quot;price-&quot;"></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 &quot;radius&quot;"></a></h3><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></a></h4><p>:radius : : :</p><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></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 &quot;radius-&quot;"></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 &quot;mass&quot;"></a></h3><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p>:mass : : :</p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p><code></code></p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></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 &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-GoaxX" id="tab-EY9hYo4" checked="checked"><label for="tab-EY9hYo4">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 &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-fTD6i" id="tab-mKGHBYK" checked="checked"><label for="tab-mKGHBYK">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 &quot;maxHp-&quot;"></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>
@ -48,7 +48,7 @@ import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<span class="line"><span style="color:#A6ACCD;">maxShield:3000</span></span>
<span class="line"><span style="color:#A6ACCD;">shieldRegen:0.5</span></span></code></pre></div><hr><h3 id="energymax" tabindex="-1">energyMax <a class="header-anchor" href="#energymax" aria-label="Permalink to &quot;energyMax&quot;"></a></h3><h4 id="energymax-" tabindex="-1">energyMax- <a class="header-anchor" href="#energymax-" aria-label="Permalink to &quot;energyMax-&quot;"></a></h4><p>:energyMax : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0</p></div><h4 id="energymax-" tabindex="-1">energyMax- <a class="header-anchor" href="#energymax-" aria-label="Permalink to &quot;energyMax-&quot;"></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;">energyMax:5</span></span></code></pre></div><hr><h3 id="energyregen" tabindex="-1">energyRegen <a class="header-anchor" href="#energyregen" aria-label="Permalink to &quot;energyRegen&quot;"></a></h3><h4 id="energyregen-" tabindex="-1">energyRegen- <a class="header-anchor" href="#energyregen-" aria-label="Permalink to &quot;energyRegen-&quot;"></a></h4><p>:energyRegen : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>60</p></div><h4 id="energyregen-" tabindex="-1">energyRegen- <a class="header-anchor" href="#energyregen-" aria-label="Permalink to &quot;energyRegen-&quot;"></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;">energyRegen:0.4</span></span></code></pre></div><hr><h3 id="energyregenwhenrecharging" tabindex="-1">energyRegenWhenRecharging <a class="header-anchor" href="#energyregenwhenrecharging" aria-label="Permalink to &quot;energyRegenWhenRecharging&quot;"></a></h3><h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></a></h4><p>:energyRegenWhenRecharging : : :</p>`,77),D={class:"tip custom-block"},A=e("p",{class:"custom-block-title"},"TIP",-1),F=i(`<h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></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;">energyRegen:0.4</span></span></code></pre></div><hr><h3 id="energyregenwhenrecharging" tabindex="-1">energyRegenWhenRecharging <a class="header-anchor" href="#energyregenwhenrecharging" aria-label="Permalink to &quot;energyRegenWhenRecharging&quot;"></a></h3><h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></a></h4><p>:energyRegenWhenRecharging : : :</p>`,77),D={class:"tip custom-block"},F=e("p",{class:"custom-block-title"},"TIP",-1),A=i(`<h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></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;">energyMax:1</span></span>
<span class="line"><span style="color:#A6ACCD;">energyRegenWhenRecharging:0.4</span></span></code></pre></div><hr><h3 id="energyneedstorechargetofull" tabindex="-1">energyNeedsToRechargeToFull <a class="header-anchor" href="#energyneedstorechargetofull" aria-label="Permalink to &quot;energyNeedsToRechargeToFull&quot;"></a></h3><h4 id="energyneedstorechargetofull-" tabindex="-1">energyNeedsToRechargeToFull- <a class="header-anchor" href="#energyneedstorechargetofull-" aria-label="Permalink to &quot;energyNeedsToRechargeToFull-&quot;"></a></h4><p>:energyNeedsToRechargeToFull : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="energyneedstorechargetofull-" tabindex="-1">energyNeedsToRechargeToFull- <a class="header-anchor" href="#energyneedstorechargetofull-" aria-label="Permalink to &quot;energyNeedsToRechargeToFull-&quot;"></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;">energyMax:4</span></span>
@ -61,7 +61,7 @@ import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<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 &quot;borrowResourcesWhileAlive&quot;"></a></h3><h4 id="borrowresourceswhilealive-" tabindex="-1">borrowResourcesWhileAlive- <a class="header-anchor" href="#borrowresourceswhilealive-" aria-label="Permalink to &quot;borrowResourcesWhileAlive-&quot;"></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 &quot;borrowResourcesWhileAlive-&quot;"></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-79nED" id="tab-L2Vbug_" checked="checked"><label for="tab-L2Vbug_"></label><input type="radio" name="group-79nED" id="tab-ZLdnadJ"><label for="tab-ZLdnadJ"></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-9Y55r" id="tab-zsQIbnh" checked="checked"><label for="tab-zsQIbnh"></label><input type="radio" name="group-9Y55r" id="tab-SKpFIjp"><label for="tab-SKpFIjp"></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>
@ -116,4 +116,4 @@ import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<span class="line"><span style="color:#A6ACCD;">footprint: -1,-1,1,1</span></span></code></pre></div><hr><h3 id="constructionfootprint" tabindex="-1">constructionFootprint <a class="header-anchor" href="#constructionfootprint" aria-label="Permalink to &quot;constructionFootprint&quot;"></a></h3><h4 id="constructionfootprint-" tabindex="-1">constructionFootprint- <a class="header-anchor" href="#constructionfootprint-" aria-label="Permalink to &quot;constructionFootprint-&quot;"></a></h4><p>:constructionFootprint : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> <br> 使</p></div><h4 id="constructionfootprint-" tabindex="-1">constructionFootprint- <a class="header-anchor" href="#constructionfootprint-" aria-label="Permalink to &quot;constructionFootprint-&quot;"></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;">constructionFootprint: -1,-1,1,3</span></span></code></pre></div><hr><h3 id="displayfootprint" tabindex="-1">displayFootprint <a class="header-anchor" href="#displayfootprint" aria-label="Permalink to &quot;displayFootprint&quot;"></a></h3><h4 id="displayfootprint-" tabindex="-1">displayFootprint- <a class="header-anchor" href="#displayfootprint-" aria-label="Permalink to &quot;displayFootprint-&quot;"></a></h4><p>:displayFootprint :UI : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>UI</p></div><h4 id="displayfootprint-" tabindex="-1">displayFootprint- <a class="header-anchor" href="#displayfootprint-" aria-label="Permalink to &quot;displayFootprint-&quot;"></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;">displayFootprint: 0,0,1,1</span></span></code></pre></div><hr><h3 id="buildingselectionoffset" tabindex="-1">buildingSelectionOffset <a class="header-anchor" href="#buildingselectionoffset" aria-label="Permalink to &quot;buildingSelectionOffset&quot;"></a></h3><h4 id="buildingselectionoffset-" tabindex="-1">buildingSelectionOffset- <a class="header-anchor" href="#buildingselectionoffset-" aria-label="Permalink to &quot;buildingSelectionOffset-&quot;"></a></h4><p>:buildingSelectionOffset :UI : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>UI</p></div><h4 id="buildingselectionoffset-" tabindex="-1">buildingSelectionOffset- <a class="header-anchor" href="#buildingselectionoffset-" aria-label="Permalink to &quot;buildingSelectionOffset-&quot;"></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;">buildingSelectionOffset: 4</span></span></code></pre></div><hr>`,183);function P(T,R,w,_,B,I){const s=c("font");return o(),r("div",null,[d,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("Mod")]),_:1}),a(""),h,a(" "),n(s,{color:"orange"},{default:l(()=>[a("")]),_:1}),a(""),n(s,{color:"orange"},{default:l(()=>[a("mod")]),_:1}),a("")]),u,e("div",b,[g,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a(",使"),m,a("1.09"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("使"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a(""),y,a(" 31GUI绿233")])]),k,e("div",C,[f,e("p",null,[a("true,,"),q,a(" "),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("hideScorchMark:true")]),_:1}),a("")])]),x,e("div",D,[A,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" energyRegen")])]),F])}const M=t(p,[["render",P]]);export{E as __pageData,M as default};
<span class="line"><span style="color:#A6ACCD;">buildingSelectionOffset: 4</span></span></code></pre></div><hr>`,183);function P(T,R,w,_,B,I){const s=c("font");return o(),r("div",null,[d,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("Mod")]),_:1}),a(""),h,a(" "),n(s,{color:"orange"},{default:l(()=>[a("")]),_:1}),a(""),n(s,{color:"orange"},{default:l(()=>[a("mod")]),_:1}),a("")]),u,e("div",b,[g,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a(",使"),m,a("1.09"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("使"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a(""),y,a(" 31GUI绿233")])]),k,e("div",C,[f,e("p",null,[a("true,,"),q,a(" "),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("hideScorchMark:true")]),_:1}),a("")])]),x,e("div",D,[F,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" energyRegen")])]),A])}const E=t(p,[["render",P]]);export{M as __pageData,E as default};

View File

@ -1,4 +1,4 @@
import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chunks/framework.c741a37c.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 &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></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 &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-hrka2" id="tab-5neogNR" checked="checked"><label for="tab-5neogNR">JDSALing</label><input type="radio" name="group-hrka2" id="tab-tToI1gF"><label for="tab-tToI1gF">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,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chunks/framework.c741a37c.js";const M=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 &quot;**[core]组**&quot;"></a></h1><h2 id="第一类-通用代码组" tabindex="-1">第一类-通用代码组 <a class="header-anchor" href="#第一类-通用代码组" aria-label="Permalink to &quot;第一类-通用代码组&quot;"></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 &quot;name&quot;"></a></h3><h4 id="name-代码简介" tabindex="-1">name-代码简介 <a class="header-anchor" href="#name-代码简介" aria-label="Permalink to &quot;name-代码简介&quot;"></a></h4><p>代码:name 中文释义:名字 类型:字符型 隶属于:通用代码组</p><h4 id="name-要点指示" tabindex="-1">name-要点指示 <a class="header-anchor" href="#name-要点指示" aria-label="Permalink to &quot;name-要点指示&quot;"></a></h4><hr><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-uOwFg" id="tab-E9H4NZ1" checked="checked"><label for="tab-E9H4NZ1">JDSALing</label><input type="radio" name="group-uOwFg" id="tab-RwkoOQQ"><label for="tab-RwkoOQQ">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,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<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 &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-9isRD" id="tab-RDyyt7K" checked="checked"><label for="tab-RDyyt7K">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 &quot;price&quot;"></a></h3><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p>:price : : :</p><h4 id="price-" tabindex="-1">price- <a class="header-anchor" href="#price-" aria-label="Permalink to &quot;price-&quot;"></a></h4><p></p><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-nJkC4" id="tab-_6Hxv7h" checked="checked"><label for="tab-_6Hxv7h">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 &quot;price-&quot;"></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 &quot;radius&quot;"></a></h3><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></a></h4><p>:radius : : :</p><h4 id="radius-" tabindex="-1">radius- <a class="header-anchor" href="#radius-" aria-label="Permalink to &quot;radius-&quot;"></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 &quot;radius-&quot;"></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 &quot;mass&quot;"></a></h3><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p>:mass : : :</p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></a></h4><p><code></code></p><h4 id="mass-" tabindex="-1">mass- <a class="header-anchor" href="#mass-" aria-label="Permalink to &quot;mass-&quot;"></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 &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-GoaxX" id="tab-EY9hYo4" checked="checked"><label for="tab-EY9hYo4">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 &quot;maxHp&quot;"></a></h3><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><p>:maxHp : : :</p><h4 id="maxhp-" tabindex="-1">maxHp- <a class="header-anchor" href="#maxhp-" aria-label="Permalink to &quot;maxHp-&quot;"></a></h4><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-fTD6i" id="tab-mKGHBYK" checked="checked"><label for="tab-mKGHBYK">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 &quot;maxHp-&quot;"></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>
@ -48,7 +48,7 @@ import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<span class="line"><span style="color:#A6ACCD;">maxShield:3000</span></span>
<span class="line"><span style="color:#A6ACCD;">shieldRegen:0.5</span></span></code></pre></div><hr><h3 id="energymax" tabindex="-1">energyMax <a class="header-anchor" href="#energymax" aria-label="Permalink to &quot;energyMax&quot;"></a></h3><h4 id="energymax-" tabindex="-1">energyMax- <a class="header-anchor" href="#energymax-" aria-label="Permalink to &quot;energyMax-&quot;"></a></h4><p>:energyMax : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0</p></div><h4 id="energymax-" tabindex="-1">energyMax- <a class="header-anchor" href="#energymax-" aria-label="Permalink to &quot;energyMax-&quot;"></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;">energyMax:5</span></span></code></pre></div><hr><h3 id="energyregen" tabindex="-1">energyRegen <a class="header-anchor" href="#energyregen" aria-label="Permalink to &quot;energyRegen&quot;"></a></h3><h4 id="energyregen-" tabindex="-1">energyRegen- <a class="header-anchor" href="#energyregen-" aria-label="Permalink to &quot;energyRegen-&quot;"></a></h4><p>:energyRegen : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>60</p></div><h4 id="energyregen-" tabindex="-1">energyRegen- <a class="header-anchor" href="#energyregen-" aria-label="Permalink to &quot;energyRegen-&quot;"></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;">energyRegen:0.4</span></span></code></pre></div><hr><h3 id="energyregenwhenrecharging" tabindex="-1">energyRegenWhenRecharging <a class="header-anchor" href="#energyregenwhenrecharging" aria-label="Permalink to &quot;energyRegenWhenRecharging&quot;"></a></h3><h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></a></h4><p>:energyRegenWhenRecharging : : :</p>`,77),D={class:"tip custom-block"},A=e("p",{class:"custom-block-title"},"TIP",-1),F=i(`<h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></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;">energyRegen:0.4</span></span></code></pre></div><hr><h3 id="energyregenwhenrecharging" tabindex="-1">energyRegenWhenRecharging <a class="header-anchor" href="#energyregenwhenrecharging" aria-label="Permalink to &quot;energyRegenWhenRecharging&quot;"></a></h3><h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></a></h4><p>:energyRegenWhenRecharging : : :</p>`,77),D={class:"tip custom-block"},F=e("p",{class:"custom-block-title"},"TIP",-1),A=i(`<h4 id="energyregenwhenrecharging-" tabindex="-1">energyRegenWhenRecharging- <a class="header-anchor" href="#energyregenwhenrecharging-" aria-label="Permalink to &quot;energyRegenWhenRecharging-&quot;"></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;">energyMax:1</span></span>
<span class="line"><span style="color:#A6ACCD;">energyRegenWhenRecharging:0.4</span></span></code></pre></div><hr><h3 id="energyneedstorechargetofull" tabindex="-1">energyNeedsToRechargeToFull <a class="header-anchor" href="#energyneedstorechargetofull" aria-label="Permalink to &quot;energyNeedsToRechargeToFull&quot;"></a></h3><h4 id="energyneedstorechargetofull-" tabindex="-1">energyNeedsToRechargeToFull- <a class="header-anchor" href="#energyneedstorechargetofull-" aria-label="Permalink to &quot;energyNeedsToRechargeToFull-&quot;"></a></h4><p>:energyNeedsToRechargeToFull : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p></p></div><h4 id="energyneedstorechargetofull-" tabindex="-1">energyNeedsToRechargeToFull- <a class="header-anchor" href="#energyneedstorechargetofull-" aria-label="Permalink to &quot;energyNeedsToRechargeToFull-&quot;"></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;">energyMax:4</span></span>
@ -61,7 +61,7 @@ import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<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 &quot;borrowResourcesWhileAlive&quot;"></a></h3><h4 id="borrowresourceswhilealive-" tabindex="-1">borrowResourcesWhileAlive- <a class="header-anchor" href="#borrowresourceswhilealive-" aria-label="Permalink to &quot;borrowResourcesWhileAlive-&quot;"></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 &quot;borrowResourcesWhileAlive-&quot;"></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-79nED" id="tab-L2Vbug_" checked="checked"><label for="tab-L2Vbug_"></label><input type="radio" name="group-79nED" id="tab-ZLdnadJ"><label for="tab-ZLdnadJ"></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-9Y55r" id="tab-zsQIbnh" checked="checked"><label for="tab-zsQIbnh"></label><input type="radio" name="group-9Y55r" id="tab-SKpFIjp"><label for="tab-SKpFIjp"></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>
@ -116,4 +116,4 @@ import{_ as t,v as o,b as r,F as e,L as a,E as n,O as l,R as i,M as c}from"./chu
<span class="line"><span style="color:#A6ACCD;">footprint: -1,-1,1,1</span></span></code></pre></div><hr><h3 id="constructionfootprint" tabindex="-1">constructionFootprint <a class="header-anchor" href="#constructionfootprint" aria-label="Permalink to &quot;constructionFootprint&quot;"></a></h3><h4 id="constructionfootprint-" tabindex="-1">constructionFootprint- <a class="header-anchor" href="#constructionfootprint-" aria-label="Permalink to &quot;constructionFootprint-&quot;"></a></h4><p>:constructionFootprint : : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><br> <br> 使</p></div><h4 id="constructionfootprint-" tabindex="-1">constructionFootprint- <a class="header-anchor" href="#constructionfootprint-" aria-label="Permalink to &quot;constructionFootprint-&quot;"></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;">constructionFootprint: -1,-1,1,3</span></span></code></pre></div><hr><h3 id="displayfootprint" tabindex="-1">displayFootprint <a class="header-anchor" href="#displayfootprint" aria-label="Permalink to &quot;displayFootprint&quot;"></a></h3><h4 id="displayfootprint-" tabindex="-1">displayFootprint- <a class="header-anchor" href="#displayfootprint-" aria-label="Permalink to &quot;displayFootprint-&quot;"></a></h4><p>:displayFootprint :UI : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>UI</p></div><h4 id="displayfootprint-" tabindex="-1">displayFootprint- <a class="header-anchor" href="#displayfootprint-" aria-label="Permalink to &quot;displayFootprint-&quot;"></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;">displayFootprint: 0,0,1,1</span></span></code></pre></div><hr><h3 id="buildingselectionoffset" tabindex="-1">buildingSelectionOffset <a class="header-anchor" href="#buildingselectionoffset" aria-label="Permalink to &quot;buildingSelectionOffset&quot;"></a></h3><h4 id="buildingselectionoffset-" tabindex="-1">buildingSelectionOffset- <a class="header-anchor" href="#buildingselectionoffset-" aria-label="Permalink to &quot;buildingSelectionOffset-&quot;"></a></h4><p>:buildingSelectionOffset :UI : :</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>UI</p></div><h4 id="buildingselectionoffset-" tabindex="-1">buildingSelectionOffset- <a class="header-anchor" href="#buildingselectionoffset-" aria-label="Permalink to &quot;buildingSelectionOffset-&quot;"></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;">buildingSelectionOffset: 4</span></span></code></pre></div><hr>`,183);function P(T,R,w,_,B,I){const s=c("font");return o(),r("div",null,[d,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("Mod")]),_:1}),a(""),h,a(" "),n(s,{color:"orange"},{default:l(()=>[a("")]),_:1}),a(""),n(s,{color:"orange"},{default:l(()=>[a("mod")]),_:1}),a("")]),u,e("div",b,[g,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a(",使"),m,a("1.09"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("使"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a(""),y,a(" 31GUI绿233")])]),k,e("div",C,[f,e("p",null,[a("true,,"),q,a(" "),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("hideScorchMark:true")]),_:1}),a("")])]),x,e("div",D,[A,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" energyRegen")])]),F])}const M=t(p,[["render",P]]);export{E as __pageData,M as default};
<span class="line"><span style="color:#A6ACCD;">buildingSelectionOffset: 4</span></span></code></pre></div><hr>`,183);function P(T,R,w,_,B,I){const s=c("font");return o(),r("div",null,[d,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("Mod")]),_:1}),a(""),h,a(" "),n(s,{color:"orange"},{default:l(()=>[a("")]),_:1}),a(""),n(s,{color:"orange"},{default:l(()=>[a("mod")]),_:1}),a("")]),u,e("div",b,[g,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("builtFrom")]),_:1}),a(",使"),m,a("1.09"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a("使"),n(s,{color:"orange"},{default:l(()=>[a("overrideAndReplace")]),_:1}),a(""),y,a(" 31GUI绿233")])]),k,e("div",C,[f,e("p",null,[a("true,,"),q,a(" "),n(s,{color:"orange"},{default:l(()=>[a("drawable/blood_mark.png"),v,a("hideScorchMark:true")]),_:1}),a("")])]),x,e("div",D,[F,e("p",null,[a(""),n(s,{color:"orange"},{default:l(()=>[a("energyNeedsToRechargeToFull")]),_:1}),a(" energyRegen")])]),A])}const E=t(p,[["render",P]]);export{M as __pageData,E as default};

View File

@ -9,7 +9,7 @@ import{_ as e,v as a,b as t,R as n}from"./chunks/framework.c741a37c.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 &quot;maxTurnSpeed&quot;"></a></h3><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></a></h4><p>:maxTurnSpeed : : :</p><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>/</strong>160</p></div><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></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 &quot;turnAcceleration&quot;"></a></h3><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></a></h4><p>:turnAcceleration : : :</p><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></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 &quot;-&quot;"></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to &quot;targetHeight&quot;"></a></h3><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>:targetHeight : : :</p><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>0</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>AIRtargetHeight20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-qi5CL" id="tab-bIrGhHL" checked="checked"><label for="tab-bIrGhHL">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 &quot;-&quot;"></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to &quot;targetHeight&quot;"></a></h3><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>:targetHeight : : :</p><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>0</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>AIRtargetHeight20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-pSjCQ" id="tab-1O0eiG0" checked="checked"><label for="tab-1O0eiG0">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>

View File

@ -9,7 +9,7 @@ import{_ as e,v as a,b as t,R as n}from"./chunks/framework.c741a37c.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 &quot;maxTurnSpeed&quot;"></a></h3><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></a></h4><p>:maxTurnSpeed : : :</p><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p><strong>/</strong>160</p></div><h4 id="maxturnspeed-" tabindex="-1">maxTurnSpeed- <a class="header-anchor" href="#maxturnspeed-" aria-label="Permalink to &quot;maxTurnSpeed-&quot;"></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 &quot;turnAcceleration&quot;"></a></h3><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></a></h4><p>:turnAcceleration : : :</p><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></a></h4><p></p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>0.60.01</p></div><h4 id="turnacceleration-" tabindex="-1">turnAcceleration- <a class="header-anchor" href="#turnacceleration-" aria-label="Permalink to &quot;turnAcceleration-&quot;"></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 &quot;-&quot;"></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to &quot;targetHeight&quot;"></a></h3><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>:targetHeight : : :</p><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>0</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>AIRtargetHeight20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-qi5CL" id="tab-bIrGhHL" checked="checked"><label for="tab-bIrGhHL">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 &quot;-&quot;"></a></h2><h3 id="targetheight" tabindex="-1">targetHeight <a class="header-anchor" href="#targetheight" aria-label="Permalink to &quot;targetHeight&quot;"></a></h3><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>:targetHeight : : :</p><h4 id="targetheight-" tabindex="-1">targetHeight- <a class="header-anchor" href="#targetheight-" aria-label="Permalink to &quot;targetHeight-&quot;"></a></h4><p>0</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>AIRtargetHeight20</p></div><div class="vp-code-group"><div class="tabs"><input type="radio" name="group-pSjCQ" id="tab-1O0eiG0" checked="checked"><label for="tab-1O0eiG0">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>

View File

@ -1 +1 @@
{"src_map_tsada.md":"5947f45b","api-dev.md":"0aa495ac","index.md":"7175d133","src_rw-engine_quick-start.md":"20e72dd5","src_debug_test.md":"03f04e38","src_unit_canbuild.md":"2eef810a","src_unit_graphics.md":"f3da4d2a","src_unit_loginboolean.md":"ea80fa6b","src_unit_core.md":"027c4b0e","src_unit_movement.md":"779a1167"}
{"src_debug_test.md":"03f04e38","api-dev.md":"0aa495ac","index.md":"7175d133","src_unit_core.md":"5ce0a05f","src_unit_graphics.md":"f3da4d2a","src_unit_attack.md":"071d9992","src_map_tsada.md":"5947f45b","src_unit_movement.md":"57a6cb8b","src_unit_canbuild.md":"5f8787c9","src_rw-engine_quick-start.md":"20e72dd5","src_unit_loginboolean.md":"88fcbc52"}

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

48
src/Unit/attack.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