更新配置

main
zhangaotian 2025-06-10 12:27:49 +08:00
parent c3fd0ee188
commit 835f1bd4d0
14 changed files with 5532 additions and 5035 deletions

View File

@ -22,9 +22,6 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
cacheJsonNode = _buf;
{ if(!_buf["RoleID"].IsNumber) { throw new SerializationException(); } RoleID = _buf["RoleID"]; }
{ if(!_buf["AwakingLevel"].IsNumber) { throw new SerializationException(); } AwakingLevel = _buf["AwakingLevel"]; }
{ if(!_buf["IconDarkPath"].IsString) { throw new SerializationException(); } IconDarkPath = _buf["IconDarkPath"]; }
{ if(!_buf["IconLightPath"].IsString) { throw new SerializationException(); } IconLightPath = _buf["IconLightPath"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ var __json0 = _buf["AttributeGroup"]; if(!__json0.IsArray) { throw new SerializationException(); } AttributeGroup = new System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { ActorCfg.AttributeType _k0; { if(!__e0[0].IsNumber) { throw new SerializationException(); } _k0 = (ActorCfg.AttributeType)__e0[0].AsInt; } float _v0; { if(!__e0[1].IsNumber) { throw new SerializationException(); } _v0 = __e0[1]; } AttributeGroup.Add(_k0, _v0); } }
{ if(!_buf["Defence"].IsNumber) { throw new SerializationException(); } Defence = _buf["Defence"]; }
{ if(!_buf["Hp"].IsNumber) { throw new SerializationException(); } Hp = _buf["Hp"]; }
@ -34,20 +31,20 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
{ if(!_buf["CorrageRecover"].IsNumber) { throw new SerializationException(); } CorrageRecover = _buf["CorrageRecover"]; }
{ if(!_buf["CriticalRatio"].IsNumber) { throw new SerializationException(); } CriticalRatio = _buf["CriticalRatio"]; }
{ if(!_buf["CriticalDamage"].IsNumber) { throw new SerializationException(); } CriticalDamage = _buf["CriticalDamage"]; }
{ var __json0 = _buf["SkillPropModifyList"]; if(!__json0.IsArray) { throw new SerializationException(); } SkillPropModifyList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SkillPropModifyList.Add(__v0); } }
{ if(!_buf["PassiveSkillID"].IsNumber) { throw new SerializationException(); } PassiveSkillID = _buf["PassiveSkillID"]; }
{ if(!_buf["WeaponGrasp"].IsNumber) { throw new SerializationException(); } WeaponGrasp = _buf["WeaponGrasp"]; }
{ var __json0 = _buf["CostItems"]; if(!__json0.IsArray) { throw new SerializationException(); } CostItems = new System.Collections.Generic.List<item.ItemCounts>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { item.ItemCounts __v0; { if(!__e0.IsObject) { throw new SerializationException(); } __v0 = global::cfg.item.ItemCounts.DeserializeItemCounts(__e0); } CostItems.Add(__v0); } }
{ var __json0 = _buf["SkillPropModifyList"]; if(!__json0.IsArray) { throw new SerializationException(); } SkillPropModifyList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SkillPropModifyList.Add(__v0); } }
{ if(!_buf["SkillModifyDesc"].IsString) { throw new SerializationException(); } SkillModifyDesc = _buf["SkillModifyDesc"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ if(!_buf["IconDarkPath"].IsString) { throw new SerializationException(); } IconDarkPath = _buf["IconDarkPath"]; }
{ if(!_buf["IconLightPath"].IsString) { throw new SerializationException(); } IconLightPath = _buf["IconLightPath"]; }
}
public DataCharacterAwaking(int RoleID, int AwakingLevel, string IconDarkPath, string IconLightPath, string Name, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int Defence, int Hp, int Shield, float Speed, float Corrage, float CorrageRecover, float CriticalRatio, float CriticalDamage, int PassiveSkillID, float WeaponGrasp, System.Collections.Generic.List<item.ItemCounts> CostItems, System.Collections.Generic.List<int> SkillPropModifyList, string SkillModifyDesc )
public DataCharacterAwaking(int RoleID, int AwakingLevel, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int Defence, int Hp, int Shield, float Speed, float Corrage, float CorrageRecover, float CriticalRatio, float CriticalDamage, System.Collections.Generic.List<int> SkillPropModifyList, int PassiveSkillID, float WeaponGrasp, System.Collections.Generic.List<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconDarkPath, string IconLightPath )
{
this.RoleID = RoleID;
this.AwakingLevel = AwakingLevel;
this.IconDarkPath = IconDarkPath;
this.IconLightPath = IconLightPath;
this.Name = Name;
this.AttributeGroup = AttributeGroup;
this.Defence = Defence;
this.Hp = Hp;
@ -57,11 +54,14 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
this.CorrageRecover = CorrageRecover;
this.CriticalRatio = CriticalRatio;
this.CriticalDamage = CriticalDamage;
this.SkillPropModifyList = SkillPropModifyList;
this.PassiveSkillID = PassiveSkillID;
this.WeaponGrasp = WeaponGrasp;
this.CostItems = CostItems;
this.SkillPropModifyList = SkillPropModifyList;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
this.IconDarkPath = IconDarkPath;
this.IconLightPath = IconLightPath;
}
@ -78,18 +78,6 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
/// 觉醒等级
/// </summary>
public int AwakingLevel { get; private set; }
/// <summary>
/// 图标路径“Assets/Art/UI/Texture/UI_Pic_Main/UI_Pic_AdvanceUp/”)
/// </summary>
public string IconDarkPath { get; private set; }
/// <summary>
/// 图标路径“Assets/Art/UI/Texture/UI_Pic_Main/UI_Pic_AdvanceUp/”)
/// </summary>
public string IconLightPath { get; private set; }
/// <summary>
/// 觉醒名称
/// </summary>
public string Name { get; private set; }
public System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup { get; private set; }
/// <summary>
/// 防御力
@ -124,6 +112,10 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
/// </summary>
public float CriticalDamage { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 被动技能ID
/// </summary>
public int PassiveSkillID { get; private set; }
@ -136,13 +128,21 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 技能变动描述
/// </summary>
public string SkillModifyDesc { get; private set; }
/// <summary>
/// 觉醒名称
/// </summary>
public string Name { get; private set; }
/// <summary>
/// 图标路径“Assets/Art/UI/Texture/UI_Pic_Main/UI_Pic_AdvanceUp/”)
/// </summary>
public string IconDarkPath { get; private set; }
/// <summary>
/// 图标路径“Assets/Art/UI/Texture/UI_Pic_Main/UI_Pic_AdvanceUp/”)
/// </summary>
public string IconLightPath { get; private set; }
public const int __ID__ = 1506279670;
public override int GetTypeId() => __ID__;
@ -157,9 +157,6 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
return "{ "
+ "RoleID:" + RoleID + ","
+ "AwakingLevel:" + AwakingLevel + ","
+ "IconDarkPath:" + IconDarkPath + ","
+ "IconLightPath:" + IconLightPath + ","
+ "Name:" + Name + ","
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "Defence:" + Defence + ","
+ "Hp:" + Hp + ","
@ -169,11 +166,14 @@ public sealed partial class DataCharacterAwaking : Luban.BeanBase
+ "CorrageRecover:" + CorrageRecover + ","
+ "CriticalRatio:" + CriticalRatio + ","
+ "CriticalDamage:" + CriticalDamage + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "PassiveSkillID:" + PassiveSkillID + ","
+ "WeaponGrasp:" + WeaponGrasp + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","
+ "IconDarkPath:" + IconDarkPath + ","
+ "IconLightPath:" + IconLightPath + ","
+ "}";
}
}

View File

@ -22,9 +22,8 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
cacheJsonNode = _buf;
{ if(!_buf["RoleID"].IsNumber) { throw new SerializationException(); } RoleID = _buf["RoleID"]; }
{ if(!_buf["BreakLevel"].IsNumber) { throw new SerializationException(); } BreakLevel = _buf["BreakLevel"]; }
{ if(!_buf["IconPathLight"].IsString) { throw new SerializationException(); } IconPathLight = _buf["IconPathLight"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ if(!_buf["WeaponId"].IsNumber) { throw new SerializationException(); } WeaponId = _buf["WeaponId"]; }
{ if(!_buf["SpendLeadership"].IsNumber) { throw new SerializationException(); } SpendLeadership = _buf["SpendLeadership"]; }
{ var __json0 = _buf["AttributeGroup"]; if(!__json0.IsArray) { throw new SerializationException(); } AttributeGroup = new System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { ActorCfg.AttributeType _k0; { if(!__e0[0].IsNumber) { throw new SerializationException(); } _k0 = (ActorCfg.AttributeType)__e0[0].AsInt; } float _v0; { if(!__e0[1].IsNumber) { throw new SerializationException(); } _v0 = __e0[1]; } AttributeGroup.Add(_k0, _v0); } }
{ if(!_buf["Defence"].IsNumber) { throw new SerializationException(); } Defence = _buf["Defence"]; }
{ if(!_buf["Hp"].IsNumber) { throw new SerializationException(); } Hp = _buf["Hp"]; }
@ -34,20 +33,20 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
{ if(!_buf["CriticalRatio"].IsNumber) { throw new SerializationException(); } CriticalRatio = _buf["CriticalRatio"]; }
{ if(!_buf["CriticalDamage"].IsNumber) { throw new SerializationException(); } CriticalDamage = _buf["CriticalDamage"]; }
{ if(!_buf["LevelLimit"].IsNumber) { throw new SerializationException(); } LevelLimit = _buf["LevelLimit"]; }
{ if(!_buf["PassiveSkillID"].IsNumber) { throw new SerializationException(); } PassiveSkillID = _buf["PassiveSkillID"]; }
{ if(!_buf["SpendLeadership"].IsNumber) { throw new SerializationException(); } SpendLeadership = _buf["SpendLeadership"]; }
{ var __json0 = _buf["CostItems"]; if(!__json0.IsArray) { throw new SerializationException(); } CostItems = new System.Collections.Generic.List<item.ItemCounts>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { item.ItemCounts __v0; { if(!__e0.IsObject) { throw new SerializationException(); } __v0 = global::cfg.item.ItemCounts.DeserializeItemCounts(__e0); } CostItems.Add(__v0); } }
{ var __json0 = _buf["SkillPropModifyList"]; if(!__json0.IsArray) { throw new SerializationException(); } SkillPropModifyList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SkillPropModifyList.Add(__v0); } }
{ if(!_buf["PassiveSkillID"].IsNumber) { throw new SerializationException(); } PassiveSkillID = _buf["PassiveSkillID"]; }
{ var __json0 = _buf["CostItems"]; if(!__json0.IsArray) { throw new SerializationException(); } CostItems = new System.Collections.Generic.List<item.ItemCounts>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { item.ItemCounts __v0; { if(!__e0.IsObject) { throw new SerializationException(); } __v0 = global::cfg.item.ItemCounts.DeserializeItemCounts(__e0); } CostItems.Add(__v0); } }
{ if(!_buf["SkillModifyDesc"].IsString) { throw new SerializationException(); } SkillModifyDesc = _buf["SkillModifyDesc"]; }
{ if(!_buf["Name"].IsString) { throw new SerializationException(); } Name = _buf["Name"]; }
{ if(!_buf["IconPathLight"].IsString) { throw new SerializationException(); } IconPathLight = _buf["IconPathLight"]; }
}
public DataCharacterBreak(int RoleID, int BreakLevel, string IconPathLight, string Name, int WeaponId, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int Defence, int Hp, int Shield, float Speed, float Corrage, float CriticalRatio, float CriticalDamage, int LevelLimit, int PassiveSkillID, int SpendLeadership, System.Collections.Generic.List<item.ItemCounts> CostItems, System.Collections.Generic.List<int> SkillPropModifyList, string SkillModifyDesc )
public DataCharacterBreak(int RoleID, int BreakLevel, int WeaponId, int SpendLeadership, System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup, int Defence, int Hp, int Shield, float Speed, float Corrage, float CriticalRatio, float CriticalDamage, int LevelLimit, System.Collections.Generic.List<int> SkillPropModifyList, int PassiveSkillID, System.Collections.Generic.List<item.ItemCounts> CostItems, string SkillModifyDesc, string Name, string IconPathLight )
{
this.RoleID = RoleID;
this.BreakLevel = BreakLevel;
this.IconPathLight = IconPathLight;
this.Name = Name;
this.WeaponId = WeaponId;
this.SpendLeadership = SpendLeadership;
this.AttributeGroup = AttributeGroup;
this.Defence = Defence;
this.Hp = Hp;
@ -57,11 +56,12 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
this.CriticalRatio = CriticalRatio;
this.CriticalDamage = CriticalDamage;
this.LevelLimit = LevelLimit;
this.PassiveSkillID = PassiveSkillID;
this.SpendLeadership = SpendLeadership;
this.CostItems = CostItems;
this.SkillPropModifyList = SkillPropModifyList;
this.PassiveSkillID = PassiveSkillID;
this.CostItems = CostItems;
this.SkillModifyDesc = SkillModifyDesc;
this.Name = Name;
this.IconPathLight = IconPathLight;
}
@ -79,17 +79,13 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
/// </summary>
public int BreakLevel { get; private set; }
/// <summary>
/// 图片路径“Assets/Art/UI/Texture/UI_Pic_Main/UI_Pic_RankUp”
/// </summary>
public string IconPathLight { get; private set; }
/// <summary>
/// 名字
/// </summary>
public string Name { get; private set; }
/// <summary>
/// 武器id
/// </summary>
public int WeaponId { get; private set; }
/// <summary>
/// 花费领导力
/// </summary>
public int SpendLeadership { get; private set; }
public System.Collections.Generic.Dictionary<ActorCfg.AttributeType, float> AttributeGroup { get; private set; }
/// <summary>
/// 防御力
@ -124,25 +120,29 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
/// </summary>
public int LevelLimit { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 被动技能ID
/// </summary>
public int PassiveSkillID { get; private set; }
/// <summary>
/// 花费领导力
/// </summary>
public int SpendLeadership { get; private set; }
/// <summary>
/// 消耗道具
/// </summary>
public System.Collections.Generic.List<item.ItemCounts> CostItems { get; private set; }
/// <summary>
/// 技能变动
/// </summary>
public System.Collections.Generic.List<int> SkillPropModifyList { get; private set; }
/// <summary>
/// 技能变动描述
/// </summary>
public string SkillModifyDesc { get; private set; }
/// <summary>
/// 名字
/// </summary>
public string Name { get; private set; }
/// <summary>
/// 图片路径“Assets/Art/UI/Texture/UI_Pic_Main/UI_Pic_RankUp”
/// </summary>
public string IconPathLight { get; private set; }
public const int __ID__ = -1329496589;
public override int GetTypeId() => __ID__;
@ -157,9 +157,8 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
return "{ "
+ "RoleID:" + RoleID + ","
+ "BreakLevel:" + BreakLevel + ","
+ "IconPathLight:" + IconPathLight + ","
+ "Name:" + Name + ","
+ "WeaponId:" + WeaponId + ","
+ "SpendLeadership:" + SpendLeadership + ","
+ "AttributeGroup:" + Luban.StringUtil.CollectionToString(AttributeGroup) + ","
+ "Defence:" + Defence + ","
+ "Hp:" + Hp + ","
@ -169,11 +168,12 @@ public sealed partial class DataCharacterBreak : Luban.BeanBase
+ "CriticalRatio:" + CriticalRatio + ","
+ "CriticalDamage:" + CriticalDamage + ","
+ "LevelLimit:" + LevelLimit + ","
+ "PassiveSkillID:" + PassiveSkillID + ","
+ "SpendLeadership:" + SpendLeadership + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillPropModifyList:" + Luban.StringUtil.CollectionToString(SkillPropModifyList) + ","
+ "PassiveSkillID:" + PassiveSkillID + ","
+ "CostItems:" + Luban.StringUtil.CollectionToString(CostItems) + ","
+ "SkillModifyDesc:" + SkillModifyDesc + ","
+ "Name:" + Name + ","
+ "IconPathLight:" + IconPathLight + ","
+ "}";
}
}

View File

@ -150,6 +150,18 @@ namespace cfg
/// </summary>
CombatDefault = 504,
/// <summary>
/// (战斗)指定一个角色上载具
/// </summary>
CombatInVehicleByCharacterId = 505,
/// <summary>
/// (战斗)指定一个职业上载具
/// </summary>
CombatInVehicleByJob = 506,
/// <summary>
/// (战斗)指定任意个单位上载具
/// </summary>
CombatInVehicleByCount = 507,
/// <summary>
/// (新手引导)引导通过
/// </summary>
GuidePass = 1000,

View File

@ -22,7 +22,9 @@ public sealed partial class DataBattery : Luban.BeanBase
cacheJsonNode = _buf;
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
{ if(!_buf["NameRead"].IsString) { throw new SerializationException(); } NameRead = _buf["NameRead"]; }
{ if(!_buf["CanAttack"].IsBoolean) { throw new SerializationException(); } CanAttack = _buf["CanAttack"]; }
{ if(!_buf["DamagePower"].IsNumber) { throw new SerializationException(); } DamagePower = _buf["DamagePower"]; }
{ if(!_buf["MoraleDamage"].IsNumber) { throw new SerializationException(); } MoraleDamage = _buf["MoraleDamage"]; }
{ if(!_buf["MaxBulletCount"].IsNumber) { throw new SerializationException(); } MaxBulletCount = _buf["MaxBulletCount"]; }
{ if(!_buf["AttackPowerLevel"].IsNumber) { throw new SerializationException(); } AttackPowerLevel = _buf["AttackPowerLevel"]; }
{ if(!_buf["AttackDistance"].IsNumber) { throw new SerializationException(); } AttackDistance = _buf["AttackDistance"]; }
@ -37,24 +39,24 @@ public sealed partial class DataBattery : Luban.BeanBase
{ if(!_buf["ScaleForVehicle"].IsNumber) { throw new SerializationException(); } ScaleForVehicle = _buf["ScaleForVehicle"]; }
{ if(!_buf["ScaleForHuman"].IsNumber) { throw new SerializationException(); } ScaleForHuman = _buf["ScaleForHuman"]; }
{ if(!_buf["ScaleForBuilding"].IsNumber) { throw new SerializationException(); } ScaleForBuilding = _buf["ScaleForBuilding"]; }
{ if(!_buf["MoraleDamage"].IsNumber) { throw new SerializationException(); } MoraleDamage = _buf["MoraleDamage"]; }
{ if(!_buf["AttackShiledScale"].IsNumber) { throw new SerializationException(); } AttackShiledScale = _buf["AttackShiledScale"]; }
{ if(!_buf["AttackHpScale"].IsNumber) { throw new SerializationException(); } AttackHpScale = _buf["AttackHpScale"]; }
{ if(!_buf["CanAttack"].IsBoolean) { throw new SerializationException(); } CanAttack = _buf["CanAttack"]; }
{ if(!_buf["ModelPath"].IsString) { throw new SerializationException(); } ModelPath = _buf["ModelPath"]; }
{ var __json0 = _buf["FireAudioId"]; if(!__json0.IsArray) { throw new SerializationException(); } FireAudioId = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } FireAudioId.Add(__v0); } }
{ if(!_buf["FireEffectId"].IsNumber) { throw new SerializationException(); } FireEffectId = _buf["FireEffectId"]; }
{ if(!_buf["HitEffectId"].IsNumber) { throw new SerializationException(); } HitEffectId = _buf["HitEffectId"]; }
{ if(!_buf["CriticalHitEffectId"].IsNumber) { throw new SerializationException(); } CriticalHitEffectId = _buf["CriticalHitEffectId"]; }
{ if(!_buf["MissHitGroundEffectId"].IsNumber) { throw new SerializationException(); } MissHitGroundEffectId = _buf["MissHitGroundEffectId"]; }
{ if(!_buf["FlyEffectId"].IsNumber) { throw new SerializationException(); } FlyEffectId = _buf["FlyEffectId"]; }
{ var __json0 = _buf["FireAudioId"]; if(!__json0.IsArray) { throw new SerializationException(); } FireAudioId = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } FireAudioId.Add(__v0); } }
{ if(!_buf["ModelPath"].IsString) { throw new SerializationException(); } ModelPath = _buf["ModelPath"]; }
}
public DataBattery(long ID, string NameRead, int DamagePower, int MaxBulletCount, int AttackPowerLevel, int AttackDistance, float FireRate, float BulletFlySpeed, System.Collections.Generic.List<float> ShootDistanceScale, float TurnSpeed, int AttackLoopCount, float AttackSplitTime, float ReloadTime, bool AttackIgnoreBlock, float ScaleForVehicle, float ScaleForHuman, float ScaleForBuilding, int MoraleDamage, float AttackShiledScale, float AttackHpScale, bool CanAttack, string ModelPath, System.Collections.Generic.List<string> FireAudioId, int FireEffectId, int HitEffectId, int CriticalHitEffectId, int MissHitGroundEffectId, int FlyEffectId )
public DataBattery(long ID, string NameRead, bool CanAttack, int DamagePower, int MoraleDamage, int MaxBulletCount, int AttackPowerLevel, int AttackDistance, float FireRate, float BulletFlySpeed, System.Collections.Generic.List<float> ShootDistanceScale, float TurnSpeed, int AttackLoopCount, float AttackSplitTime, float ReloadTime, bool AttackIgnoreBlock, float ScaleForVehicle, float ScaleForHuman, float ScaleForBuilding, float AttackShiledScale, float AttackHpScale, int FireEffectId, int HitEffectId, int CriticalHitEffectId, int MissHitGroundEffectId, int FlyEffectId, System.Collections.Generic.List<string> FireAudioId, string ModelPath )
{
this.ID = ID;
this.NameRead = NameRead;
this.CanAttack = CanAttack;
this.DamagePower = DamagePower;
this.MoraleDamage = MoraleDamage;
this.MaxBulletCount = MaxBulletCount;
this.AttackPowerLevel = AttackPowerLevel;
this.AttackDistance = AttackDistance;
@ -69,17 +71,15 @@ public sealed partial class DataBattery : Luban.BeanBase
this.ScaleForVehicle = ScaleForVehicle;
this.ScaleForHuman = ScaleForHuman;
this.ScaleForBuilding = ScaleForBuilding;
this.MoraleDamage = MoraleDamage;
this.AttackShiledScale = AttackShiledScale;
this.AttackHpScale = AttackHpScale;
this.CanAttack = CanAttack;
this.ModelPath = ModelPath;
this.FireAudioId = FireAudioId;
this.FireEffectId = FireEffectId;
this.HitEffectId = HitEffectId;
this.CriticalHitEffectId = CriticalHitEffectId;
this.MissHitGroundEffectId = MissHitGroundEffectId;
this.FlyEffectId = FlyEffectId;
this.FireAudioId = FireAudioId;
this.ModelPath = ModelPath;
}
@ -97,10 +97,18 @@ public sealed partial class DataBattery : Luban.BeanBase
/// </summary>
public string NameRead { get; private set; }
/// <summary>
/// 是否可以攻击
/// </summary>
public bool CanAttack { get; private set; }
/// <summary>
/// 单发伤害
/// </summary>
public int DamagePower { get; private set; }
/// <summary>
/// 士气伤害
/// </summary>
public int MoraleDamage { get; private set; }
/// <summary>
/// 弹夹容量
/// </summary>
public int MaxBulletCount { get; private set; }
@ -157,10 +165,6 @@ public sealed partial class DataBattery : Luban.BeanBase
/// </summary>
public float ScaleForBuilding { get; private set; }
/// <summary>
/// 士气伤害
/// </summary>
public int MoraleDamage { get; private set; }
/// <summary>
/// 穿甲系数
/// </summary>
public float AttackShiledScale { get; private set; }
@ -169,18 +173,6 @@ public sealed partial class DataBattery : Luban.BeanBase
/// </summary>
public float AttackHpScale { get; private set; }
/// <summary>
/// 是否可以攻击
/// </summary>
public bool CanAttack { get; private set; }
/// <summary>
/// 武器模型路径
/// </summary>
public string ModelPath { get; private set; }
/// <summary>
/// 开火音效
/// </summary>
public System.Collections.Generic.List<string> FireAudioId { get; private set; }
/// <summary>
/// 武器使用的开枪特效id
/// </summary>
public int FireEffectId { get; private set; }
@ -200,6 +192,14 @@ public sealed partial class DataBattery : Luban.BeanBase
/// 武器使用的弹道特效id
/// </summary>
public int FlyEffectId { get; private set; }
/// <summary>
/// 开火音效
/// </summary>
public System.Collections.Generic.List<string> FireAudioId { get; private set; }
/// <summary>
/// 武器模型路径
/// </summary>
public string ModelPath { get; private set; }
public const int __ID__ = -1782591927;
public override int GetTypeId() => __ID__;
@ -213,7 +213,9 @@ public sealed partial class DataBattery : Luban.BeanBase
return "{ "
+ "ID:" + ID + ","
+ "NameRead:" + NameRead + ","
+ "CanAttack:" + CanAttack + ","
+ "DamagePower:" + DamagePower + ","
+ "MoraleDamage:" + MoraleDamage + ","
+ "MaxBulletCount:" + MaxBulletCount + ","
+ "AttackPowerLevel:" + AttackPowerLevel + ","
+ "AttackDistance:" + AttackDistance + ","
@ -228,17 +230,15 @@ public sealed partial class DataBattery : Luban.BeanBase
+ "ScaleForVehicle:" + ScaleForVehicle + ","
+ "ScaleForHuman:" + ScaleForHuman + ","
+ "ScaleForBuilding:" + ScaleForBuilding + ","
+ "MoraleDamage:" + MoraleDamage + ","
+ "AttackShiledScale:" + AttackShiledScale + ","
+ "AttackHpScale:" + AttackHpScale + ","
+ "CanAttack:" + CanAttack + ","
+ "ModelPath:" + ModelPath + ","
+ "FireAudioId:" + Luban.StringUtil.CollectionToString(FireAudioId) + ","
+ "FireEffectId:" + FireEffectId + ","
+ "HitEffectId:" + HitEffectId + ","
+ "CriticalHitEffectId:" + CriticalHitEffectId + ","
+ "MissHitGroundEffectId:" + MissHitGroundEffectId + ","
+ "FlyEffectId:" + FlyEffectId + ","
+ "FireAudioId:" + Luban.StringUtil.CollectionToString(FireAudioId) + ","
+ "ModelPath:" + ModelPath + ","
+ "}";
}
}

View File

@ -25115,6 +25115,32 @@
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "condition_defense_wave",
"Name": "condition_defense_wave",
"value": "防守{0}/{1}波",
"Desc": "防守{0}/{1}波",
"Notes": "",
"Param0": "",
"Param1": "",
"Param2": "",
"InnerCalculate": false,
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "condition_defense_time",
"Name": "condition_defense_time",
"value": "坚持{0}",
"Desc": "坚持{0}",
"Notes": "",
"Param0": "",
"Param1": "",
"Param2": "",
"InnerCalculate": false,
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "weapon_1",
"Name": "weapon_1",
@ -160203,7 +160229,7 @@
{
"Key": "Guide_816",
"Name": "Guide_816",
"value": "敌人正在后撤,快上车追上他!",
"value": "有些敌人会后撤,需要快速移动追击",
"Desc": "",
"Notes": "",
"Param0": "",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -199,6 +199,57 @@
"SuccessTaskId": 1000,
"FailTaskId": 1001
},
{
"Id": 100012,
"levelGroupID": 100,
"LevelType": 0,
"Unlocks": "",
"IsShow": false,
"CostItems": [
{
"Id": 4,
"Count": 0
}
],
"NormalRewardID": [
5101,
5102,
5103
],
"RandomRewardID": [],
"FristRewardID": [
5004
],
"StarRewardID_1": [
5001
],
"StarRewardID_2": [
5001
],
"StarRewardID_3": [
5001
],
"SettleExp": 0,
"SettleLikability": 30,
"ShadowDistance": 100,
"LevelTime": 0,
"LevelWeather": 0,
"LevelScene": "Assets/Scenes/Maps/Maps04_Snowfield/Maps04_Snowfield_a_0_4.unity",
"MapData": "MapData_Maps04_Snowfield_a_0_4",
"LevelData": "LevelData_1_100012",
"FightStoryNameId": "",
"StoryID": "",
"RecommendLevel": 1,
"MaxSweepingNumbert": 10,
"TimeAfterActivity": 0,
"ListLevelTaskId": [
1001,
2001,
2002
],
"SuccessTaskId": 2002,
"FailTaskId": 1001
},
{
"Id": 100014,
"levelGroupID": 100,
@ -7839,7 +7890,7 @@
"FailTaskId": 1001
},
{
"Id": 9900001,
"Id": 990001,
"levelGroupID": 999,
"LevelType": 0,
"Unlocks": "",
@ -7875,7 +7926,7 @@
"LevelWeather": 0,
"LevelScene": "Assets/Scenes/Maps/Maps04_Snowfield/Maps04_Snowfield_a_0_6.unity",
"MapData": "MapData_Maps04_Snowfield_a_0_6",
"LevelData": "LevelData_t_designer_9900001",
"LevelData": "LevelData_6_990001",
"FightStoryNameId": "",
"StoryID": "",
"RecommendLevel": 1,
@ -7887,5 +7938,105 @@
],
"SuccessTaskId": 1000,
"FailTaskId": 1001
},
{
"Id": 990002,
"levelGroupID": 999,
"LevelType": 0,
"Unlocks": "",
"IsShow": false,
"CostItems": [
{
"Id": 4,
"Count": 0
}
],
"NormalRewardID": [
5101,
5102,
5103
],
"RandomRewardID": [],
"FristRewardID": [
5004
],
"StarRewardID_1": [
5001
],
"StarRewardID_2": [
5001
],
"StarRewardID_3": [
5001
],
"SettleExp": 0,
"SettleLikability": 30,
"ShadowDistance": 100,
"LevelTime": 0,
"LevelWeather": 0,
"LevelScene": "Assets/Scenes/Maps/test/test_designer_fangshou.unity",
"MapData": "MapData_test_designer_fangshou",
"LevelData": "LevelData_6_990002",
"FightStoryNameId": "",
"StoryID": "",
"RecommendLevel": 1,
"MaxSweepingNumbert": 10,
"TimeAfterActivity": 0,
"ListLevelTaskId": [
3001,
1001
],
"SuccessTaskId": 1000,
"FailTaskId": 1001
},
{
"Id": 990003,
"levelGroupID": 999,
"LevelType": 0,
"Unlocks": "",
"IsShow": false,
"CostItems": [
{
"Id": 4,
"Count": 0
}
],
"NormalRewardID": [
5101,
5102,
5103
],
"RandomRewardID": [],
"FristRewardID": [
5004
],
"StarRewardID_1": [
5001
],
"StarRewardID_2": [
5001
],
"StarRewardID_3": [
5001
],
"SettleExp": 0,
"SettleLikability": 30,
"ShadowDistance": 100,
"LevelTime": 0,
"LevelWeather": 0,
"LevelScene": "Assets/Scenes/Maps/test/test_designer_fangshou.unity",
"MapData": "MapData_test_designer_fangshou",
"LevelData": "LevelData_6_990003",
"FightStoryNameId": "",
"StoryID": "",
"RecommendLevel": 1,
"MaxSweepingNumbert": 10,
"TimeAfterActivity": 0,
"ListLevelTaskId": [
3002,
1001
],
"SuccessTaskId": 1000,
"FailTaskId": 1001
}
]

View File

@ -10,5 +10,29 @@
"PreTaskId": 0,
"PostTaskId": 0,
"TaskCondition": "CombatAllAlliesDead"
},
{
"Id": 2001,
"PreTaskId": 0,
"PostTaskId": 2002,
"TaskCondition": "CombatLeastOccupy(1)"
},
{
"Id": 2002,
"PreTaskId": 2001,
"PostTaskId": 0,
"TaskCondition": "CombatDefenseWave(2)"
},
{
"Id": 3001,
"PreTaskId": 0,
"PostTaskId": 0,
"TaskCondition": "CombatDefenseTime(60)"
},
{
"Id": 3002,
"PreTaskId": 0,
"PostTaskId": 0,
"TaskCondition": "CombatDefenseWave(3)"
}
]

View File

@ -27262,5 +27262,165 @@
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000101,
"NameRead": "高塔狙击",
"NpcType": 0,
"MonsterClassID": 10251001,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 10,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000102,
"NameRead": "阵地机枪",
"NpcType": 0,
"MonsterClassID": 10251002,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 7,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000103,
"NameRead": "埋伏侦察",
"NpcType": 0,
"MonsterClassID": 10251003,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 6,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000104,
"NameRead": "埋伏冲锋",
"NpcType": 0,
"MonsterClassID": 10251004,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 6,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000105,
"NameRead": "普通冲锋",
"NpcType": 0,
"MonsterClassID": 10251005,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 6,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000106,
"NameRead": "支援医疗",
"NpcType": 0,
"MonsterClassID": 10251006,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 5,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000107,
"NameRead": "高塔狙击",
"NpcType": 0,
"MonsterClassID": 10251001,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 8,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000108,
"NameRead": "阵地机枪",
"NpcType": 0,
"MonsterClassID": 10251002,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 5,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000109,
"NameRead": "普通冲锋",
"NpcType": 0,
"MonsterClassID": 10251005,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 6,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
},
{
"MonsterID": 99000110,
"NameRead": "支援反载具",
"NpcType": 0,
"MonsterClassID": 10251007,
"AttackFix": 0.3,
"HPFix": 1,
"ShieldFix": 1,
"DefenceFix": 1,
"FindEnemyRange": 7,
"TrackRange": 0,
"SkillLevel": 1,
"WeaponGraspScale": 1,
"WeaponDegreeScale": 1,
"MonsterLevel": 2
}
]

View File

@ -3280,7 +3280,7 @@
{
"MonsterClassID": 10391401,
"NameId": "E00014",
"Name": "自制土枪拾荒者",
"Name": "拾荒者(自制土枪)",
"EnemyType": 1,
"UseSkillAudioName": "",
"DeadAudioName": "",
@ -3319,7 +3319,7 @@
{
"MonsterClassID": 20391401,
"NameId": "E00014",
"Name": "自制土枪拾荒者",
"Name": "拾荒者(自制土枪)",
"EnemyType": 1,
"UseSkillAudioName": "",
"DeadAudioName": "",
@ -3358,7 +3358,7 @@
{
"MonsterClassID": 10161401,
"NameId": "E00014",
"Name": "栓步侦查(短莫辛)",
"Name": "侦查(短莫辛纳甘",
"EnemyType": 1,
"UseSkillAudioName": "",
"DeadAudioName": "",
@ -3397,7 +3397,7 @@
{
"MonsterClassID": 10441004,
"NameId": "E00010",
"Name": "勃朗宁机枪",
"Name": "铁血战士(勃朗宁机枪",
"EnemyType": 1,
"UseSkillAudioName": "",
"DeadAudioName": "",
@ -3438,7 +3438,7 @@
{
"MonsterClassID": 10191005,
"NameId": "E00010",
"Name": "栓步指挥(带镜莫辛)",
"Name": "指挥(带镜莫辛纳甘",
"EnemyType": 1,
"UseSkillAudioName": "",
"DeadAudioName": "",

View File

@ -25115,6 +25115,32 @@
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "condition_defense_wave",
"Name": "condition_defense_wave",
"value": "防守{0}/{1}波",
"Desc": "防守{0}/{1}波",
"Notes": "",
"Param0": "",
"Param1": "",
"Param2": "",
"InnerCalculate": false,
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "condition_defense_time",
"Name": "condition_defense_time",
"value": "坚持{0}",
"Desc": "坚持{0}",
"Notes": "",
"Param0": "",
"Param1": "",
"Param2": "",
"InnerCalculate": false,
"OutCalculate": [],
"CalculateType": 0
},
{
"Key": "weapon_1",
"Name": "weapon_1",
@ -160203,7 +160229,7 @@
{
"Key": "Guide_816",
"Name": "Guide_816",
"value": "敌人正在后撤,快上车追上他!",
"value": "有些敌人会后撤,需要快速移动追击",
"Desc": "",
"Notes": "",
"Param0": "",

View File

@ -7,7 +7,9 @@
"leftMarginInPre": 1.2000000476837159,
"rightMarginInPre": 1.2000000476837159,
"topMarginInInPre": 0.8999999761581421,
"bottomMarginInPre": 0.8999999761581421
"bottomMarginInPre": 0.8999999761581421,
"initialFOV": 30.0,
"initialOrthographicSize": 12.0
},
"position": {
"x": 0.0,
@ -365,7 +367,8 @@
33,
34,
17
]
],
"centerCellIndex": -1
},
{
"positions": [
@ -376,7 +379,8 @@
32,
16,
0
]
],
"centerCellIndex": -1
},
{
"positions": [
@ -387,7 +391,8 @@
79,
95,
111
]
],
"centerCellIndex": -1
},
{
"positions": [
@ -398,14 +403,107 @@
98,
82,
99
]
],
"centerCellIndex": -1
}
],
"blockRegions": [
{
"id": 0,
"positions": [],
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Attack.prefab",
"centerPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}
],
"defenseRegions": [],
"initialCameraPosition": {
"x": 0,
"y": 0
},
"capturePoints": [],
"flagStartPoints": [],
"showBuffPoints": []
"showBuffPoints": [
{
"cellIndex": 11,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 14,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 20,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 30,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 36,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 37,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 41,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 43,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 54,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 55,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 59,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 69,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 71,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 77,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 78,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 90,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 93,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 104,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 106,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
},
{
"cellIndex": 107,
"path": "Assets/Art_Out/Other/BuffPoint/Buff_Cover.prefab"
}
]
}