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:
@@ -16,6 +16,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
class Mob : Npc
|
||||
{
|
||||
public HateContainer hateContainer;
|
||||
public StatusEffects statusEffects;
|
||||
|
||||
public Mob(int actorNumber, ActorClass actorClass, string uniqueId, Area spawnedArea, float posX, float posY, float posZ, float rot,
|
||||
ushort actorState, uint animationId, string customDisplayName)
|
||||
: base(actorNumber, actorClass, uniqueId, spawnedArea, posX, posY, posZ, rot, actorState, animationId, customDisplayName)
|
||||
@@ -23,6 +25,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
this.aiContainer = new AIContainer(this, new MobController(this), new PathFind(this), new TargetFind(this));
|
||||
this.currentSubState = SetActorStatePacket.SUB_STATE_MONSTER;
|
||||
this.hateContainer = new HateContainer(this);
|
||||
this.statusEffects = new StatusEffects(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user