(client)feat:实现按武器释放技能

This commit is contained in:
m0_75251201
2025-08-27 19:08:27 +08:00
parent 63efa89ac1
commit 5315e29147
25 changed files with 1184 additions and 5106 deletions

View File

@ -29,8 +29,10 @@
<label>测试枪</label>
<description>一把测试用的枪</description>
<attributes>TestGun</attributes>
<texture>TestGun</texture>
<itemTexture>TestGunItem</itemTexture>
<type>Ranged</type>
<textures>
<li>TestGunItem</li>
</textures>
<bullet>yellowBullet</bullet>
</WeaponDef>
@ -52,12 +54,27 @@
</textures>
</walk_down>
</drawingOrder>
<behaviorTree>
<Node className="JobGiver_ContinuousMove"/>
</behaviorTree>
</BulletDef>
<BulletDef>
<defName>testGunBullet</defName>
<attributes>
<health>1</health>
<moveSpeed>20</moveSpeed>
</attributes>
<drawingOrder>
<idle_down>
<textures>
<li>TestGun</li>
</textures>
</idle_down>
<walk_down>
<textures>
<li>TestGun</li>
</textures>
</walk_down>
</drawingOrder>
</BulletDef>
@ -73,6 +90,7 @@
<WeaponDef>
<defName>Claw</defName>
<label>爪子</label>
<type>Melee</type>
<description>爪子</description>
<attributes>Claw</attributes>
</WeaponDef>