mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
added a status effect container
- added status effect container to mobs and player objects (maybe should add to all Characters?) - todo: handle gain/tick/lose in lua, send packets, everything else
This commit is contained in:
@@ -141,6 +141,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
|
||||
public Session playerSession;
|
||||
|
||||
public StatusEffects statusEffects;
|
||||
|
||||
public Player(Session cp, uint actorID) : base(actorID)
|
||||
{
|
||||
playerSession = cp;
|
||||
@@ -249,7 +251,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
|
||||
Database.LoadPlayerCharacter(this);
|
||||
lastPlayTimeUpdate = Utils.UnixTimeStampUTC();
|
||||
|
||||
this.aiContainer = new AIContainer(this, new PlayerController(this), null, new TargetFind(this));
|
||||
this.statusEffects = new StatusEffects(this);
|
||||
}
|
||||
|
||||
public List<SubPacket> Create0x132Packets(uint playerActorId)
|
||||
|
Reference in New Issue
Block a user