100 lines
2.3 KiB
C#
100 lines
2.3 KiB
C#
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;
|
||
}
|
||
}
|
||
|