导入敌人模型素材,统一经验和金币掉落物
This commit is contained in:
@@ -24,8 +24,6 @@ public sealed partial class EnemyConfig : Luban.BeanBase
|
||||
AttackCooldown = _buf.ReadFloat();
|
||||
AttackRange = _buf.ReadFloat();
|
||||
Speed = _buf.ReadFloat();
|
||||
CoinDrop = _buf.ReadInt();
|
||||
ExpDrop = _buf.ReadInt();
|
||||
DropPercent = _buf.ReadFloat();
|
||||
Scale = _buf.ReadFloat();
|
||||
Color = _buf.ReadString();
|
||||
@@ -71,14 +69,6 @@ public sealed partial class EnemyConfig : Luban.BeanBase
|
||||
/// </summary>
|
||||
public readonly float Speed;
|
||||
/// <summary>
|
||||
/// 金币掉落
|
||||
/// </summary>
|
||||
public readonly int CoinDrop;
|
||||
/// <summary>
|
||||
/// 经验掉落
|
||||
/// </summary>
|
||||
public readonly int ExpDrop;
|
||||
/// <summary>
|
||||
/// 掉落概率
|
||||
/// </summary>
|
||||
public readonly float DropPercent;
|
||||
@@ -112,8 +102,6 @@ public sealed partial class EnemyConfig : Luban.BeanBase
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Prefab_Ref = tables.TbEntityConfig.GetOrDefault(Prefab);
|
||||
}
|
||||
|
||||
@@ -128,8 +116,6 @@ public sealed partial class EnemyConfig : Luban.BeanBase
|
||||
+ "attackCooldown:" + AttackCooldown + ","
|
||||
+ "attackRange:" + AttackRange + ","
|
||||
+ "speed:" + Speed + ","
|
||||
+ "coinDrop:" + CoinDrop + ","
|
||||
+ "expDrop:" + ExpDrop + ","
|
||||
+ "dropPercent:" + DropPercent + ","
|
||||
+ "scale:" + Scale + ","
|
||||
+ "color:" + Color + ","
|
||||
|
||||
Reference in New Issue
Block a user