fix: Fixes buffs don't start/stop properly. Streamlines constructor and Add/Remove buffs. (#2082)
This commit is contained in:
parent
c8f13b2933
commit
d5160bd6db
50 changed files with 651 additions and 616 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using Server.Engines.BuffIcons;
|
||||
|
||||
namespace Server.Network
|
||||
{
|
||||
|
|
@ -11,9 +12,7 @@ namespace Server.Network
|
|||
info.TitleCliloc,
|
||||
info.SecondaryCliloc,
|
||||
info.Args,
|
||||
info.TimeStart != 0 ?
|
||||
TimeSpan.FromMilliseconds(info.TimeStart + (long)info.TimeLength.TotalMilliseconds - Core.TickCount) :
|
||||
TimeSpan.Zero
|
||||
info.Duration
|
||||
)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue