Files
MinFt/Client/Assets/Scripts/Tables/SuperDash.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

160 lines
7.3 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
/// <summary>
/// 超级冲刺支持Dash
/// </summary>
public sealed partial class SuperDash : FishSpSkillLabel
{
public SuperDash(JSONNode _json) : base(_json)
{
{ var __json0 = _json["PosZInit"]; if(!__json0.IsArray) { throw new SerializationException(); } PosZInit = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PosZInit.Add(__v0); } }
{ if(!_json["PosZChange"].IsNumber) { throw new SerializationException(); } PosZChange = _json["PosZChange"]; }
{ if(!_json["DashSpeedChange"].IsNumber) { throw new SerializationException(); } DashSpeedChange = _json["DashSpeedChange"]; }
{ if(!_json["StrengthChange"].IsNumber) { throw new SerializationException(); } StrengthChange = _json["StrengthChange"]; }
{ if(!_json["ChangeMaxCount"].IsNumber) { throw new SerializationException(); } ChangeMaxCount = _json["ChangeMaxCount"]; }
{ if(!_json["NewSkillCountOffset"].IsNumber) { throw new SerializationException(); } NewSkillCountOffset = _json["NewSkillCountOffset"]; }
{ var __json0 = _json["DashPrepareTime"]; if(!__json0.IsArray) { throw new SerializationException(); } DashPrepareTime = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DashPrepareTime.Add(__v0); } }
{ if(!_json["NoChargeTime"].IsNumber) { throw new SerializationException(); } NoChargeTime = _json["NoChargeTime"]; }
{ if(!_json["NoChargeStamina"].IsNumber) { throw new SerializationException(); } NoChargeStamina = _json["NoChargeStamina"]; }
{ if(!_json["CameraFx"].IsString) { throw new SerializationException(); } CameraFx = _json["CameraFx"]; }
{ if(!_json["ChargeFx"].IsString) { throw new SerializationException(); } ChargeFx = _json["ChargeFx"]; }
{ if(!_json["DashFx"].IsString) { throw new SerializationException(); } DashFx = _json["DashFx"]; }
{ if(!_json["DashWaterFx"].IsString) { throw new SerializationException(); } DashWaterFx = _json["DashWaterFx"]; }
{ if(!_json["StruggleFx"].IsString) { throw new SerializationException(); } StruggleFx = _json["StruggleFx"]; }
PostInit();
}
public SuperDash(System.Collections.Generic.List<float> PosZInit, float PosZChange, float DashSpeedChange, int StrengthChange, int ChangeMaxCount, int NewSkillCountOffset, System.Collections.Generic.List<float> DashPrepareTime, float NoChargeTime, float NoChargeStamina, string CameraFx, string ChargeFx, string DashFx, string DashWaterFx, string StruggleFx ) : base()
{
this.PosZInit = PosZInit;
this.PosZChange = PosZChange;
this.DashSpeedChange = DashSpeedChange;
this.StrengthChange = StrengthChange;
this.ChangeMaxCount = ChangeMaxCount;
this.NewSkillCountOffset = NewSkillCountOffset;
this.DashPrepareTime = DashPrepareTime;
this.NoChargeTime = NoChargeTime;
this.NoChargeStamina = NoChargeStamina;
this.CameraFx = CameraFx;
this.ChargeFx = ChargeFx;
this.DashFx = DashFx;
this.DashWaterFx = DashWaterFx;
this.StruggleFx = StruggleFx;
PostInit();
}
public static SuperDash DeserializeSuperDash(JSONNode _json)
{
return new SuperDash(_json);
}
/// <summary>
/// 冲刺时z轴的初始随机范围
/// </summary>
public System.Collections.Generic.List<float> PosZInit { get; private set; }
/// <summary>
/// z轴随机范围的变化值最小值和最小值 += 参数 * 累积冲刺次数
/// </summary>
public float PosZChange { get; private set; }
/// <summary>
/// 冲刺速度的变化值,冲刺速度 *= (1 + 参数 * 累积冲刺次数)
/// </summary>
public float DashSpeedChange { get; private set; }
/// <summary>
/// 每次冲刺时,力量 += 参数*累积冲刺次数
/// </summary>
public int StrengthChange { get; private set; }
/// <summary>
/// 累积冲刺次数上限每次冲刺一次后加1
/// </summary>
public int ChangeMaxCount { get; private set; }
/// <summary>
/// 重新释放技能后,累积冲刺次数 += 参数不能超过上限也不能小于0
/// </summary>
public int NewSkillCountOffset { get; private set; }
/// <summary>
/// 分别对应不同Dash动画的准备阶段时长这段时长过后再进行冲刺
/// </summary>
public System.Collections.Generic.List<float> DashPrepareTime { get; private set; }
/// <summary>
/// 全力收线后的缓冲时间,这个时间内无法蓄力
/// </summary>
public float NoChargeTime { get; private set; }
/// <summary>
/// 全力收线后的缓冲时间,这段时间内每秒疲劳额外变化
/// </summary>
public float NoChargeStamina { get; private set; }
/// <summary>
/// 全程挂相机的特效挂Camera上
/// </summary>
public string CameraFx { get; private set; }
/// <summary>
/// 充能时特效挂Root上
/// </summary>
public string ChargeFx { get; private set; }
/// <summary>
/// 冲刺准备期间的特效挂Root上
/// </summary>
public string DashFx { get; private set; }
/// <summary>
/// 冲刺动画延迟之后的特效持续到冲刺动画结束挂Tail上
/// </summary>
public string DashWaterFx { get; private set; }
/// <summary>
/// 被硬控時候的特效挂Neck上
/// </summary>
public string StruggleFx { get; private set; }
public const int __ID__ = 1670626701;
public override int GetTypeId() => __ID__;
public override void Resolve(Dictionary<string, object> _tables)
{
base.Resolve(_tables);
PostResolve();
}
public override void TranslateText(System.Func<string, string, string> translator)
{
base.TranslateText(translator);
}
public override string ToString()
{
return "{ "
+ "PosZInit:" + Bright.Common.StringUtil.CollectionToString(PosZInit) + ","
+ "PosZChange:" + PosZChange + ","
+ "DashSpeedChange:" + DashSpeedChange + ","
+ "StrengthChange:" + StrengthChange + ","
+ "ChangeMaxCount:" + ChangeMaxCount + ","
+ "NewSkillCountOffset:" + NewSkillCountOffset + ","
+ "DashPrepareTime:" + Bright.Common.StringUtil.CollectionToString(DashPrepareTime) + ","
+ "NoChargeTime:" + NoChargeTime + ","
+ "NoChargeStamina:" + NoChargeStamina + ","
+ "CameraFx:" + CameraFx + ","
+ "ChargeFx:" + ChargeFx + ","
+ "DashFx:" + DashFx + ","
+ "DashWaterFx:" + DashWaterFx + ","
+ "StruggleFx:" + StruggleFx + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}