server-master/srcs/WingsAPI.Game/Buffs/BuffFactoryExtensions.cs
2026-02-10 18:21:30 +01:00

11 lines
No EOL
352 B
C#

using System;
using WingsEmu.Game._enum;
using WingsEmu.Game.Entities;
namespace WingsEmu.Game.Buffs;
public static class BuffFactoryExtensions
{
public static Buff CreateOneHourBuff(this IBuffFactory factory, IBattleEntity caster, int cardId, BuffFlag buffFlags)
=> factory.CreateBuff(cardId, caster, TimeSpan.FromHours(1), buffFlags);
}