mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
added status effect saving
- added some of the packets to add/remove effects (todo: battle packet too)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using FFXIVClassic_Map_Server.Actors;
|
||||
using FFXIVClassic_Map_Server.lua;
|
||||
using FFXIVClassic_Map_Server.packets.send.actor;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -440,6 +441,16 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
return (uint)id;
|
||||
}
|
||||
|
||||
public ushort GetEffectIdForCharaWork()
|
||||
{
|
||||
return (ushort)(id - 200000);
|
||||
}
|
||||
|
||||
public DateTime GetStartTime()
|
||||
{
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public string GetName()
|
||||
{
|
||||
return name;
|
||||
@@ -480,6 +491,12 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
return (byte)overwrite;
|
||||
}
|
||||
|
||||
public void SetStartTime(DateTime time)
|
||||
{
|
||||
this.startTime = time;
|
||||
this.lastTick = time;
|
||||
}
|
||||
|
||||
public void SetOwner(Character owner)
|
||||
{
|
||||
this.owner = owner;
|
||||
|
||||
Reference in New Issue
Block a user