<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://rustedwarfare.org/index.php?action=history&amp;feed=atom&amp;title=mod%E5%8F%82%E6%95%B0%2Fattack</id>
	<title>mod参数/attack - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://rustedwarfare.org/index.php?action=history&amp;feed=atom&amp;title=mod%E5%8F%82%E6%95%B0%2Fattack"/>
	<link rel="alternate" type="text/html" href="https://rustedwarfare.org/index.php?title=mod%E5%8F%82%E6%95%B0/attack&amp;action=history"/>
	<updated>2026-04-20T07:57:15Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rustedwarfare.org/index.php?title=mod%E5%8F%82%E6%95%B0/attack&amp;diff=2579&amp;oldid=prev</id>
		<title>AbAb：​创建页面，内容为“{{RW代码|canAttack:|bool|&quot;If set to false, can not attack any unit. Regards of other canAttack options below.&quot;|canAttack: true}} {{RW代码|canAttackFlyingUnits:|LogicBoolean|can also be narrowed per turret. Note: not required if canAttack is false.|canAttackFlyingUnits: false}} {{RW代码|canAttackLandUnits:|LogicBoolean|can also be narrowed per turret|canAttackLandUnits: true}} {{RW代码|canAttackUnderwaterUnits:|LogicBoolean|can also be narrowed per turre…”</title>
		<link rel="alternate" type="text/html" href="https://rustedwarfare.org/index.php?title=mod%E5%8F%82%E6%95%B0/attack&amp;diff=2579&amp;oldid=prev"/>
		<updated>2023-02-20T10:03:28Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{RW代码|canAttack:|bool|&amp;quot;If set to false, can not attack any unit. Regards of other canAttack options below.&amp;quot;|canAttack: true}} {{RW代码|canAttackFlyingUnits:|LogicBoolean|can also be narrowed per turret. Note: not required if canAttack is false.|canAttackFlyingUnits: false}} {{RW代码|canAttackLandUnits:|LogicBoolean|can also be narrowed per turret|canAttackLandUnits: true}} {{RW代码|canAttackUnderwaterUnits:|LogicBoolean|can also be narrowed per turre…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{RW代码|canAttack:|bool|&amp;quot;If set to false, can not attack any unit. Regards of other canAttack options below.&amp;quot;|canAttack: true}}&lt;br /&gt;
{{RW代码|canAttackFlyingUnits:|LogicBoolean|can also be narrowed per turret. Note: not required if canAttack is false.|canAttackFlyingUnits: false}}&lt;br /&gt;
{{RW代码|canAttackLandUnits:|LogicBoolean|can also be narrowed per turret|canAttackLandUnits: true}}&lt;br /&gt;
{{RW代码|canAttackUnderwaterUnits:|LogicBoolean|can also be narrowed per turret|canAttackUnderwaterUnits: false}}&lt;br /&gt;
{{RW代码|maxAttackRange:|float|(multiplied by globalScale)|maxAttackRange: 300}}&lt;br /&gt;
{{RW代码|canAttackNotTouchingWaterUnits:|LogicBoolean|Default true. If false unit can only attack units in contact with the water. Used for units with torpedos. (can also be set per turret)|canAttackNotTouchingWaterUnits: false}}&lt;br /&gt;
{{RW代码|canOnlyAttackUnitsWithTags|tags|Will only attack units that has the specified tags.|&amp;quot;canOnlyAttackUnitsWithTags: metallic, ceramic&amp;quot;}}&lt;br /&gt;
{{RW代码|canOnlyAttackUnitsWithoutTags|tags|Can only attack units without the specified tags.|&amp;quot;canOnlyAttackUnitsWithoutTags: corrosive, magnetic&amp;quot;}}&lt;br /&gt;
{{RW代码|turretMultiTargeting|bool|Allow each turrets to fire at a different target at the same time. Very useful if [turret]limitingAngle is used|turretMultiTargeting: true}}&lt;br /&gt;
{{RW代码|isMelee:|bool|&amp;quot;Used with a low attack range (like maxAttackRange: 9) makes src and target radius get added to range, and effects AI.&amp;quot;|isMelee: true}}&lt;br /&gt;
{{RW代码|meleeEngangementDistance|int|&amp;quot;Makes unit move to attack nearby units. Defaults to 250 for melee, and 0 for non melee (Works even if non-melee, but might be unexpected to players)&amp;quot;|meleeEngangementDistance: 400}}&lt;br /&gt;
{{RW代码|turretRotateWithBody|bool|Are all turrets rotated when body rotates. Defaults to true|turretRotateWithBody: true}}&lt;br /&gt;
{{RW代码|attackMovement:|string|normal/bomber. bomber attack movement will retreat when energy runs out|attackMovement: true}}&lt;br /&gt;
{{RW代码|dieOnAttack:|bool|Will die when it attacks.|dieOnAttack: true}}&lt;br /&gt;
{{RW代码|isFixedFiring:|bool|Must aim body at target to shoot. Will often make the unit need to stop before it can aim and shoot.|isFixedFiring: true}}&lt;br /&gt;
{{RW代码|aimOffsetSpread:|float|Offset each shot multiplied by target radius. Defaults to 0.6. aimOffsetSpread:0 will make unit always attack center|aimOffsetSpread:0}}&lt;br /&gt;
{{RW代码|stopTargetingAfterFiring|bool|Unit stops targeting after firing a shot. Rarely used or needed.|stopTargetingAfterFiring: true}}&lt;br /&gt;
{{RW代码|disablePassiveTargeting:|bool|Unit only attacks manually ordered target. Rarely used or needed.|disablePassiveTargeting: true}}&lt;br /&gt;
{{RW代码|showRangeUIGuide|bool|Will it show the range indicator. Useful for showing ranges in radar and related structures.|showRangeUIGuide: true}}&lt;br /&gt;
{{RW代码|shootDelayMultiplier|float|Defaults to 1. Can be dynamically changed with setUnitStats|shootDelayMultiplier: 0.75}}&lt;br /&gt;
{{RW代码|shootDamageMultiplier|float|Defaults to 1. Can be dynamically changed with setUnitStats|shootDamageMultiplier: 2.43}}&lt;br /&gt;
{{RW代码|turretSize:|float|(multiplied by globalScale)|}}&lt;br /&gt;
{{RW代码|turretTurnSpeed:|float||}}&lt;br /&gt;
{{RW代码|shootDelay:|float|&amp;quot;Global delay, can also use delay on each turret&amp;quot;|}}&lt;/div&gt;</summary>
		<author><name>AbAb</name></author>
	</entry>
</feed>