zezonever
2019-11-08, 02:54 AM
السلام عليكم ورحمه الله وبركاته
كوسته بفكره جديد يعتبر منزلتش عند حد كثير تمام الكوسته عباره عن اي بقا
عباره عن هتكلم الانبسى هيدخلك ماب تموت 50 وحش كل وحش هيديك توكن فى الايتمز هتلم 50 تروح لراجل جوا تكلمو هيطلعك وحش الدراجون تموتو يديك الهديه ويوديك التون
نفتح ملف NPC
#region KillerMonster
case 180810:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Huh its you are you afraid!");
dialog.Text("~is about to wake from its slumber. Soldier, if you want to go eliminate it, you have to use 50 OwlToken to summon it out first");
dialog.Text("~Lets Try your Power.");
dialog.Option("Summon~the~Evil!", 1);
dialog.Option("I~see.", 255);
dialog.Avatar(44);
dialog.Send();
break;
}
case 1:
{
if (client.Inventory.Contains(3004462, 50))
{
if (Kernel.Spawn == false && !Kernel.Maps[1045].Dragon.ContainsKey(client.ActiveNpc))
{
client.Inventory.Remove(3004462, 50);
if (client.Player.MapID == 1045)
{
Kernel.Spawn = true;
Database.MonsterInformation mob;
Database.MonsterInformation.MonsterInformations.Tr yGetValue(4152, out mob);//4152 teratodragon
client.Map.Spawnthis(mob, client, 1045, 38, 86);
var Map = Kernel.Maps[1045];
Kernel.Maps[1045].Dragon.Add(client.ActiveNpc, Map.Npcs[client.ActiveNpc]);
client.SendScreen(new MsgAction(true)
{
UID = client.ActiveNpc,
ID = MsgAction.Mode.RemoveEntity
//client.Player.Teleport(1011, 211, 194);
}, true);
}
}
}
else
{
dialog.Text("You need to get 50 OwlToken to summon the Evil.");
dialog.Option("Okay.", 255);
dialog.Avatar(44);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region Mr.ZeZoOo
case 600050:
{
dialog.Avatar(101);
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Player.PheasantPoint >= 1)
{
dialog.Text("Good day, my friend, I`m the TC Captain. I`m in charge of the public security around here. It is indeed an important job, isn`t it? Well, ever thinking about contributing a bit to the public? You`ll be rewarded.");
dialog.Option("What~can~I~do~for~you?", 19);
//dialog.Option("I~want~to~take~a~Daily~Quest.", 1);
dialog.Avatar(75);
}
else
{
dialog.Text("Hello " + client.Player.Name + ", Have you heard of the palace method?");
dialog.Option("Palace method?..", 1);
dialog.Option("Don't care!", 255);
dialog.Send();
}
break;
}
case 19:
{
dialog.Text("I discovered a mystical tactic, but I was not able to solve it.\nI almost died! It's very dangerous.");
dialog.Option("Sounds like my kind of fun.", 20);
dialog.Option("Too dangerous", 255);
dialog.Send();
break;
}
case 1:
{
dialog.Text("I discovered a mystical tactic, but I was not able to solve it.\nI almost died! It's very dangerous.");
dialog.Option("Sounds like my kind of fun.", 2);
dialog.Option("Too dangerous", 255);
dialog.Send();
break;
}
case 2:
{
dialog.Text("I'm serious! You don't understand it's very dangerous...");
dialog.Option("Yea yea. Just take my there.", 3);
dialog.Option("Nevermind... o.o", 255);
dialog.Send();
break;
}
case 3:
{
client.Player.Teleport(1045, 050, 050);
dialog.Text("I warned you....");
dialog.Option("I think you're full of it.\nThere's nothing here.", 255);
dialog.Send();
break;
}
}
break;
}
#endregion
هندخل ع كلاس Map.cs لو عندك الكود ده متحطهوش لو مش عندك ياريت تضيفه
public Dictionary<uint, INpc> Dragon = new Dictionary<uint, INpc>();
فى MonsterTable.cs حط الوحوش دى
كده احنا خلصنا شغل السورس ندخل ع النافي كات يا صحبي نفتح النافي كات تمام اولا Npc
180810 Mr.ZeZoOo 2 6127 1045 36 83
تحته
600050 Mr.ZeZoOo 2 6207 1002 459 360
نفتح النافي كات زي ما احنا ندخل ع ملف Maps
1045 1045 8258 0
بالنسبه لالايتمز تقدرو تغيروها او تعملو ايتم دا كود (3004462, 50);
3004462 اى دى الايتم اللى بتيجى من الوحوش 50 دا العدد
لو في اي ارور او اي مشكله ياريت تبعته صوره للمشكله او تكتبه اي هي المشكله
والسلام عليكم ورحمه الله وبركاته
كوسته بفكره جديد يعتبر منزلتش عند حد كثير تمام الكوسته عباره عن اي بقا
عباره عن هتكلم الانبسى هيدخلك ماب تموت 50 وحش كل وحش هيديك توكن فى الايتمز هتلم 50 تروح لراجل جوا تكلمو هيطلعك وحش الدراجون تموتو يديك الهديه ويوديك التون
نفتح ملف NPC
#region KillerMonster
case 180810:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Huh its you are you afraid!");
dialog.Text("~is about to wake from its slumber. Soldier, if you want to go eliminate it, you have to use 50 OwlToken to summon it out first");
dialog.Text("~Lets Try your Power.");
dialog.Option("Summon~the~Evil!", 1);
dialog.Option("I~see.", 255);
dialog.Avatar(44);
dialog.Send();
break;
}
case 1:
{
if (client.Inventory.Contains(3004462, 50))
{
if (Kernel.Spawn == false && !Kernel.Maps[1045].Dragon.ContainsKey(client.ActiveNpc))
{
client.Inventory.Remove(3004462, 50);
if (client.Player.MapID == 1045)
{
Kernel.Spawn = true;
Database.MonsterInformation mob;
Database.MonsterInformation.MonsterInformations.Tr yGetValue(4152, out mob);//4152 teratodragon
client.Map.Spawnthis(mob, client, 1045, 38, 86);
var Map = Kernel.Maps[1045];
Kernel.Maps[1045].Dragon.Add(client.ActiveNpc, Map.Npcs[client.ActiveNpc]);
client.SendScreen(new MsgAction(true)
{
UID = client.ActiveNpc,
ID = MsgAction.Mode.RemoveEntity
//client.Player.Teleport(1011, 211, 194);
}, true);
}
}
}
else
{
dialog.Text("You need to get 50 OwlToken to summon the Evil.");
dialog.Option("Okay.", 255);
dialog.Avatar(44);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region Mr.ZeZoOo
case 600050:
{
dialog.Avatar(101);
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Player.PheasantPoint >= 1)
{
dialog.Text("Good day, my friend, I`m the TC Captain. I`m in charge of the public security around here. It is indeed an important job, isn`t it? Well, ever thinking about contributing a bit to the public? You`ll be rewarded.");
dialog.Option("What~can~I~do~for~you?", 19);
//dialog.Option("I~want~to~take~a~Daily~Quest.", 1);
dialog.Avatar(75);
}
else
{
dialog.Text("Hello " + client.Player.Name + ", Have you heard of the palace method?");
dialog.Option("Palace method?..", 1);
dialog.Option("Don't care!", 255);
dialog.Send();
}
break;
}
case 19:
{
dialog.Text("I discovered a mystical tactic, but I was not able to solve it.\nI almost died! It's very dangerous.");
dialog.Option("Sounds like my kind of fun.", 20);
dialog.Option("Too dangerous", 255);
dialog.Send();
break;
}
case 1:
{
dialog.Text("I discovered a mystical tactic, but I was not able to solve it.\nI almost died! It's very dangerous.");
dialog.Option("Sounds like my kind of fun.", 2);
dialog.Option("Too dangerous", 255);
dialog.Send();
break;
}
case 2:
{
dialog.Text("I'm serious! You don't understand it's very dangerous...");
dialog.Option("Yea yea. Just take my there.", 3);
dialog.Option("Nevermind... o.o", 255);
dialog.Send();
break;
}
case 3:
{
client.Player.Teleport(1045, 050, 050);
dialog.Text("I warned you....");
dialog.Option("I think you're full of it.\nThere's nothing here.", 255);
dialog.Send();
break;
}
}
break;
}
#endregion
هندخل ع كلاس Map.cs لو عندك الكود ده متحطهوش لو مش عندك ياريت تضيفه
public Dictionary<uint, INpc> Dragon = new Dictionary<uint, INpc>();
فى MonsterTable.cs حط الوحوش دى
كده احنا خلصنا شغل السورس ندخل ع النافي كات يا صحبي نفتح النافي كات تمام اولا Npc
180810 Mr.ZeZoOo 2 6127 1045 36 83
تحته
600050 Mr.ZeZoOo 2 6207 1002 459 360
نفتح النافي كات زي ما احنا ندخل ع ملف Maps
1045 1045 8258 0
بالنسبه لالايتمز تقدرو تغيروها او تعملو ايتم دا كود (3004462, 50);
3004462 اى دى الايتم اللى بتيجى من الوحوش 50 دا العدد
لو في اي ارور او اي مشكله ياريت تبعته صوره للمشكله او تكتبه اي هي المشكله
والسلام عليكم ورحمه الله وبركاته