(client)feat:实现按武器释放技能
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user