Files
MinFt/Client/Assets/Scripts/GampPlay/FishSkill/CorruptSpSkillData.cs
2026-04-27 12:07:32 +08:00

100 lines
2.3 KiB
C#
Raw 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.
using cfg;
/// <summary>
/// 腐蚀支持Jump和Struggle技能结束后结束
/// </summary>
public class CorruptSpSkillData : FishSpSkillData<Corrupt>
{
public override string AudioScreen()
{
return spSkill.AudioScreen;
}
public override string AudioRewardFish()
{
return spSkill.AudioRewardFish;
}
#region UI
public override string FxScreen()
{
return spSkill.FxScreen;
}
public override string FxProgressInc()
{
return spSkill.FxProgressInc;
}
#endregion
#region Jump
public override string FxFishJump()
{
return spSkill.FxFishJump;
}
/// <summary>
/// 鱼起跳的时候立刻在Root处挂上一个特效
/// </summary>
public override string FxFishJumpWater()
{
return spSkill.FxFishJumpWater;
}
public override string FxWater()
{
if (spSkill.FxWater == "None")
{
return "";
}
return spSkill.FxWater;
}
#endregion
#region Struggle
public override string FxFishSkillAppend()
{
if (spSkill.FxFishSkillAppend == "None")
{
return "";
}
return spSkill.FxFishSkillAppend;
}
/// <summary>
/// 鱼起跳的时候立刻在Root处挂上一个特效
/// </summary>
public override string FxFishStruggle()
{
return spSkill.FxFishStruggle;
}
#endregion
public override BarTarget GetBarTarget()
{
BarTarget barTarget = new BarTarget();
barTarget.CorruptSpeed = spSkill.CorruptSpeed;
barTarget.ClearSpeed = spSkill.ClearSpeed;
barTarget.CorruptMaxPercent = spSkill.CorruptMaxPercent;
barTarget.CorruptBarIncPercent = spSkill.CorruptBarIncPercent;
barTarget.CorruptBarDecPercent = spSkill.CorruptBarDecPercent;
barTarget.fx_target_bar_bg = spSkill.FxBarBottom;
barTarget.fx_target_bar = spSkill.FxBar; ;
barTarget.fx_target_bar_highlight = spSkill.FxProgressInc;
barTarget.bar_target = spSkill.BarBg;
barTarget.highlight = spSkill.EdgeBg;
barTarget.fxScreenWarning = spSkill.FxScreenWarning;
return barTarget;
}
public override string FxWaterSplash()
{
return spSkill.FxWaterSplash;
}
}