OshimaGameModule/OshimaModules/Items/Weapon/糖糖一周年纪念武器.cs

57 lines
2.2 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)WeaponID.;
public override string Name => "粉糖雾蝶";
public override string Description => $"{Skills.Passives.First().Description}{Skills.Passives.Last().Name}{Skills.Passives.Last().Description}";
public override string BackgroundStory => "可长达1.5米的权杖,通体呈半透明的琥珀金色,内部可见如星河般缓缓流动的魔法糖浆。";
public override string Category => "糖糖一周年限定纪念物品";
public override QualityType QualityType => QualityType.Gold;
public (Character? character = null) : base(ItemType.Weapon)
{
Price = 0;
IsSellable = false;
IsTradable = false;
IsLock = true;
WeaponType = WeaponType.Staff;
Skills.Passives.Add(new (character, this));
Skills.Passives.Add(new (character)
{
Level = 1
});
}
}
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 = 0.46;
public (Character? character = null, Item? item = null) : base(SkillType.Passive, character)
{
Level = 1;
Item = item;
Dictionary<string, object> values = new()
{
{ "exatk", }
};
Effects.Add(new ExATK2(this, values, character));
}
public override IEnumerable<Effect> AddPassiveEffectToCharacter()
{
return Effects;
}
}
}