mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-02 07:41:58 +02:00
added status effect saving
- added some of the packets to add/remove effects (todo: battle packet too)
This commit is contained in:
parent
d9d185d7e6
commit
53207a9ff0
7 changed files with 132 additions and 56 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue