This commit is contained in:
2025-10-05 16:13:26 +08:00
parent 0a44683611
commit 286c91579f
8 changed files with 441 additions and 73 deletions

Binary file not shown.

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<FleckDef ParentName="FleckBase">
<defName>Fleck_Wula_Dark_Matter_Beam</defName>
<altitudeLayer>MoteOverhead</altitudeLayer>
<fadeInTime>0.025</fadeInTime>
<solidTime>0.025</solidTime>
<fadeOutTime>0.025</fadeOutTime>
<graphicData>
<texPath>ArachnaeSwarm/Mote/ARA_Lighting_Beam_Horizon</texPath>
<color>(188, 112, 255, 180)</color> <!-- Slightly transparent -->
<shaderType>MoteGlow</shaderType> <!-- Use standard Mote shader -->
</graphicData>
</FleckDef>
</Defs>

View File

@@ -44,7 +44,7 @@
<!-- 基础射线参数 -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>1</warmupTime>
<warmupTime>0</warmupTime>
<range>36</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
@@ -58,8 +58,7 @@
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamMoteDef>Mote_Wula_Dark_Matter_Beam</beamMoteDef>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<screenShakeFactor>0.35</screenShakeFactor>
<!-- 火焰效果 -->
<beamChanceToStartFire>0.6</beamChanceToStartFire>
<beamChanceToAttachFire>0.6</beamChanceToAttachFire>
@@ -67,12 +66,12 @@
<!-- 攻击目标设置 -->
<targetParams>
<canTargetLocations>true</canTargetLocations>
<canTargetLocations>true</canTargetLocations>
</targetParams>
<!-- 电弧链属性 -->
<conductNum>4</conductNum>
<conductRange>30</conductRange>
<conductNum>6</conductNum>
<conductRange>18</conductRange>
<secondaryDamageFactor>0.7</secondaryDamageFactor>
<chainMoteDef>Mote_Wula_Dark_Matter_Beam</chainMoteDef>
</li>
@@ -83,4 +82,89 @@
</thingSetMakerTags>
</ThingDef>
<!-- 暗物质步枪 (已修改为电弧链式攻击) -->
<ThingDef ParentName="BaseHumanMakeableGun">
<defName>WULA_RW_DM_AR_SuperArc</defName>
<label>DMa-8 "陨硫" (超级电弧型)</label>
<description>乌拉帝国一线部队所使用的由暗物质驱动的常规步枪的改造版。现在它发射的能量束会在命中后寻找并跳跃到附近的其他敌人身上,形成致命的能量链。</description>
<techLevel>Ultra</techLevel>
<graphicData>
<texPath>Wula/Weapon/WULA_RW_DM_AR</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>1.2</drawSize>
</graphicData>
<weaponTags>
<li>Wula_Ranged_Weapon_T4</li>
</weaponTags>
<uiIconScale>0.9</uiIconScale>
<soundInteract>Interact_ChargeRifle</soundInteract>
<recipeMaker>
<recipeUsers Inherit="False">
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
<researchPrerequisite>WULA_Synth_Weapon_4_DM_Base_Technology</researchPrerequisite>
<unfinishedThingDef>UnfinishedWeapon</unfinishedThingDef>
</recipeMaker>
<costList Inherit="False">
<Steel>400</Steel>
<Plasteel>200</Plasteel>
<WULA_Dark_Matter_Item>4</WULA_Dark_Matter_Item>
</costList>
<statBases>
<WorkToMake>40000</WorkToMake>
<Mass>4.5</Mass>
<AccuracyTouch>1</AccuracyTouch>
<AccuracyShort>1</AccuracyShort>
<AccuracyMedium>1</AccuracyMedium>
<AccuracyLong>1</AccuracyLong>
<RangedWeapon_Cooldown>1.25</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li Class="ArachnaeSwarm.VerbProperties_SplitAndChain">
<verbClass>ArachnaeSwarm.Verb_ShootBeamSplitAndChain</verbClass>
<!-- Base Properties -->
<hasStandardCommand>true</hasStandardCommand>
<warmupTime>0</warmupTime>
<range>36</range>
<burstShotCount>6</burstShotCount>
<ticksBetweenBurstShots>10</ticksBetweenBurstShots>
<!-- Damage -->
<beamDamageDef>Wula_Dark_Matter_Beam</beamDamageDef>
<beamTotalDamage>90</beamTotalDamage>
<beamArmorPenetration>0.5</beamArmorPenetration>
<!-- Visuals & Sound -->
<muzzleFlashScale>0</muzzleFlashScale>
<soundCastBeam>BeamGraser_Shooting</soundCastBeam>
<beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
<beamFleckChancePerTick>0.32</beamFleckChancePerTick>
<beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
<beamLineFleckDef>Fleck_Wula_Dark_Matter_Beam</beamLineFleckDef> <!-- Fallback for base verb properties -->
<beamCurvature>0.5</beamCurvature> <!-- 让光束更弯曲一点 -->
<flecksPerCell>1.5</flecksPerCell>
<!-- Split Config -->
<isSplit>true</isSplit>
<splitNum>3</splitNum>
<splitRange>7</splitRange>
<splitDamageFactor>0.8</splitDamageFactor>
<!-- Corrected to use the FleckDef we created -->
<splitMoteDef>Fleck_Wula_Dark_Matter_Beam</splitMoteDef>
<!-- Chain Config -->
<conductNum>3</conductNum>
<conductRange>12</conductRange>
<conductDamageFactor>0.6</conductDamageFactor>
<!-- Corrected to use the FleckDef we created -->
<chainMoteDef>Fleck_Wula_Dark_Matter_Beam</chainMoteDef>
</li>
</verbs>
<tradeability>None</tradeability>
<thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
</ThingDef>
</Defs>