(client) feat:添加角色定义,为匿名定义建立索引,修复一些数据定义中的错误 (#39)
Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
This commit is contained in:
57
Client/Data/Core/Define/Item/Weapon.xml
Normal file
57
Client/Data/Core/Define/Item/Weapon.xml
Normal file
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Define>
|
||||
<AttributesDef>
|
||||
<defName>TestGun</defName>
|
||||
<attack>10</attack>
|
||||
<defense>3</defense>
|
||||
<attackSpeed>3</attackSpeed>
|
||||
<attackRange>10</attackRange>
|
||||
<attackTargetCount>1</attackTargetCount>
|
||||
</AttributesDef>
|
||||
|
||||
<WeaponDef>
|
||||
<defName>TestGun</defName>
|
||||
<label>测试枪</label>
|
||||
<description>一把测试用的枪</description>
|
||||
<attributes>TestGun</attributes>
|
||||
<texture>TestGun</texture>
|
||||
<itemTexture>TestGunItem</itemTexture>
|
||||
<bullet>yellowBullet</bullet>
|
||||
</WeaponDef>
|
||||
|
||||
<BulletDef>
|
||||
<defName>yellowBullet</defName>
|
||||
<moveSpeed>10</moveSpeed>
|
||||
<texture>
|
||||
<path>Resources\Item\YellowBullet.png</path>
|
||||
</texture>
|
||||
</BulletDef>
|
||||
|
||||
<ImageDef>
|
||||
<defName>TestGunItem</defName>
|
||||
<path>Resources\Item\TestGun.png</path>
|
||||
</ImageDef>
|
||||
|
||||
<ImageDef>
|
||||
<defName>TestGun</defName>
|
||||
<path>Resources\Item\TestGunUse.png</path>
|
||||
</ImageDef>
|
||||
|
||||
|
||||
|
||||
<AttributesDef>
|
||||
<defName>Claw</defName>
|
||||
<attack>3</attack>
|
||||
<defense>1</defense>
|
||||
<attackSpeed>1</attackSpeed>
|
||||
<attackRange>1</attackRange>
|
||||
<attackTargetCount>1</attackTargetCount>
|
||||
</AttributesDef>
|
||||
|
||||
<WeaponDef>
|
||||
<defName>Claw</defName>
|
||||
<label>爪子</label>
|
||||
<description>爪子</description>
|
||||
<attributes>Claw</attributes>
|
||||
</WeaponDef>
|
||||
</Define>
|
Reference in New Issue
Block a user