OshimaGameModule/OshimaModules/Items/Shoes/糖糖一周年纪念鞋子.cs
2026-01-15 01:27:48 +08:00

62 lines
2.6 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 Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Constant;
using Oshima.FunGame.OshimaModules.Effects.OpenEffects;
using Oshima.FunGame.OshimaModules.Skills;
namespace Oshima.FunGame.OshimaModules.Items
{
public class : Item
{
public override long Id => (long)ShoesID.;
public override string Name => "蜜步流心";
public override string Description => $"{Skills.Passives.FirstOrDefault()?.Description}{(Skills.Active != null ? $"{Skills.Active.Name}{Skills.Active.Description}" : "")}";
public override string BackgroundStory => "一双棕色及踝短靴,靴面有蜂窝状暗纹,靴底内嵌彩色糖豆,每走一步糖豆轻轻碰撞,发出微不可闻的清脆声响。";
public override string Category => "糖糖一周年限定纪念物品";
public override QualityType QualityType => QualityType.Gold;
public (Character? character = null) : base(ItemType.Shoes)
{
Price = 0;
IsSellable = false;
IsTradable = false;
IsLock = true;
Skills.Active = new (character)
{
Level = 5
};
Skills.Passives.Add(new (character, this));
}
}
public class : Skill
{
public override long Id => (long)ItemPassiveID.;
public override string Name => "蜜步流心";
public override string Description => string.Join("", Effects.Select(e => e.Description));
private readonly double = 180;
private readonly double = 4;
private readonly double = 0.2;
public (Character? character = null, Item? item = null) : base(SkillType.Passive, character)
{
Level = 1;
Item = item;
Dictionary<string, object> values = new()
{
{ "exspd", },
{ "exmov", },
{ "exacc", }
};
Effects.Add(new ExSPD(this, values, character));
Effects.Add(new ExMOV(this, values, character));
Effects.Add(new AccelerationCoefficient(this, values, character));
}
public override IEnumerable<Effect> AddPassiveEffectToCharacter()
{
return Effects;
}
}
}