|
|
أفضل جواب - كتبه محمد ياسر |
ده انبي سي اول ماتدوس عليه ايظهر الوحش في المكان الي اتحدده كود:
|
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 978;
monster.Name = "FuriousFlameDevastator";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "FuriousFlameDevastator";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
#region code
case 6751:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("you need monster ? ");
dialog.Option("yes.", 1);
dialog.Option("No, thanks.", 255);
dialog.Send();
break;
}
case 1:
{
Database.MonsterInformation monster = new Conquer_Online_Server.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000000;
monster.Level = 255;
monster.Mesh = 978;
monster.Name = "FuriousFlameDevastator";
monster.MaxAttack = 10500;
monster.AttackRange = 14;
monster.AttackType = 1;
monster.AttackSpeed = 1000;
monster.ViewRange = 15;
monster.MoveSpeed = 500;
monster.RunSpeed = 500;
monster.MinAttack = 59000;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "FuriousFlameDevastator";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 5000;
entity.X = client.Entity.X;
entity.Y = client.Entity.Y;
entity.UID = 417111;
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
break;
}
}
break;
}
#endregion
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
اضافه ال house | محمد ياسر | تطوير سيرفرات كونكر | 23 | 2024-10-18 02:16 PM |
اضافه رون | medo2020 | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2020-04-30 06:04 PM |
اضافه الرنز | medo2020 | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2020-04-29 07:51 AM |
اضافه حرب GuildPoleWar | Hassan Emprator | تطوير سيرفرات كونكر | 2 | 2019-08-28 12:46 AM |
اضافه | Hassan Emprator | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-07-30 05:08 PM |