导入敌人模型素材,统一经验和金币掉落物
This commit is contained in:
@@ -105,7 +105,7 @@ namespace SepCore.Entity
|
||||
return null;
|
||||
}
|
||||
|
||||
float actualTimeout = timeout ?? (GameEntry.Luban.Global.EntityAsyncTimeout / 1000f);
|
||||
float actualTimeout = GameEntry.Luban.Global.EntityAsyncTimeout;
|
||||
WeaponBase weapon = await GameEntry.Entity.ShowWeaponAsync(weaponData, actualTimeout);
|
||||
if (weapon == null)
|
||||
{
|
||||
@@ -160,7 +160,7 @@ namespace SepCore.Entity
|
||||
int id = GameEntry.Entity.NextId();
|
||||
var weaponData = EntityDataFactory.Create(id, nextTierConfig, Id, CampType.Player);
|
||||
|
||||
float actualTimeout = timeout ?? (GameEntry.Luban.Global.EntityAsyncTimeout / 1000f);
|
||||
float actualTimeout = GameEntry.Luban.Global.EntityAsyncTimeout;
|
||||
WeaponBase newWeapon = await GameEntry.Entity.ShowWeaponAsync(weaponData, actualTimeout);
|
||||
if (newWeapon == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user