Code:
public void Spawnthis(Database.MonsterInformation mt, Client.GameState client, ushort ID, ushort x, ushort y)
{
if (mt == null) return;
mt.RespawnTime += 5;
Entity entity = new Entity(EntityFlag.Monster, false);
entity.MapObjType = MapObjectType.Monster;
entity.MonsterInfo = mt.Copy();
entity.MonsterInfo.Owner = entity;
entity.Name = mt.Name;
entity.MinAttack = mt.MinAttack;
entity.MaxAttack = entity.MagicAttack = mt.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = mt.Hitpoints;
entity.Body = mt.Mesh;
entity.Level = mt.Level;
entity.UID = (uint)ServerBase.Kernel.Random.Next(6000000, 6100000);
entity.MapID = 1024;
entity.X = 79;
entity.Y = 79;
entity.SendUpdates = true;
AddEntity(entity);
entity.SendSpawn(client);
}
BTW, I want to summon a single Boss Monster that is like Sword Master.
thank You Mates






