check your mobs controler (thread) the thread must check the mobs status every whatever Seconds.
IE. in the attack handler
PHP Code:
if (Damage > Target.DTN.HP)
{
Target.Dead = ture;
Target.HP = 0;
Target.Died = DateTime.Now;
//To Show the kill Effect + the Blood
Spawns.Spawn(Target, Packets.AttackPacket(Attacker.EntityID, Target.EntityID, Target.X, Target.Y, 1, AttackTypes.Kill));
//To Spawn The Black or whatever color fog that must show up right after the mob is dead
Spawns.Spawn(Target, Packets.Status(Target.EntityID, Structs.Status.Effect, 2080))
}
the thread
PHP Code:
while (true)
{
if (Mob.Dead && DateTaime.Now.addSeconds(WorldTables.Rand.Next(4, 6)))
{
//to clean everything
Packets.GeneralData(Mob.EntityID, 0, 0, 0, 135);
//if you dident send this GeneralData the mob shadow well stay right where you killed the mob though
}
}
im not sure what source you are using but it doesent matter as long as every source must have a thread to control the monsters actions as far as i know
you just need to check your codes thats it
ohh and by the way its the same when it comes to the mobs movements i remember that i made the gourds/mobs run/jump lol
Good Luck.