Quest da epic de Warrio TQ
Página 1 de 1
Quest da epic de Warrio TQ
- Fotos:
Npc do centro de Promoção: Clique aqui
===============================================================
Adicione na source em : bin\Debug\database\maps
Download do arquivo dos mapas:Clique Aqui
===============================================================
Na Npc.cs
- Código:
#region Quest Warrior
#region Miracle`sSpirit
case 19254:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("(moahemd watany You tried to talk to the person in front but failed and it seemed he could not hear you either why not chest on the tabe flrst?");
dialog.Option("it`s Weird.", 255);
dialog.Send();
break;
}
}
break;
}
#endregion
#region Miracle`sSpirit
case 19259:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("i`m the `miracle` you`re looking for since you`ve been here you must heve seen l sealing the fists in the virtual zone actually the fists hzve ever brought great houor to me mohamedwatany.");
dialog.Option("Tell me more.", 1);
dialog.Send();
break;
}
case 1:
{
client.Quests.FinishQuest(MaTrix.QuestID.Mind_of_Evil);
client.Inventory.Add(624059, 0, 2);
client.Entity.Teleport(1002, 304, 282);
break;
}
}
break;
}
#endregion
#region Chest
case 19253:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("(moahmed.watany The man at the table put a pair fists into a chest and tried to seal the chest.)");
dialog.Option("who is him?.", 1);
dialog.Send();
break;
}
case 1:
{
client.Quests.FinishQuest(MaTrix.QuestID.Secret_in_the_Chest);
client.Quests.Accept(MaTrix.QuestID.Weird_Formation);
client.Entity.Teleport(1004, 39, 66);
dialog.Text("(mohamed.watanyYou wanted to see his face but felt dzzy and found yoursrlf back to the reality.)");
dialog.Option("what heppened just now?.", 1);
dialog.Send();
break;
}
}
break;
}
#endregion
#region Chest
case 19258:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("(You almost believed it was dream but the skulls and bones of the dead were so real the chest was tied with heavy iron cheains the closer you moced toward the chest the stronger you felt a mysteious force.mohamed watany");
dialog.Option("Open the chest.", 1);
dialog.Send();
break;
}
case 1:
{
client.Quests.FinishQuest(MaTrix.QuestID.Weird_Formation);
client.Quests.Accept(MaTrix.QuestID.Mind_of_Evil);
Database.MonsterInformation monster = new Conquer_Mohamed_Watany.Database.MonsterInformation();
monster.Boss = true;
monster.Hitpoints = 50000;
monster.Level = 70;
monster.Mesh = 977;
monster.Name = "TinyMindofEvil";
monster.MaxAttack = 1;
monster.AttackRange = 20;
monster.AttackType = 2;
monster.AttackSpeed = 1000;
monster.ViewRange = 20;
monster.MoveSpeed = 2000;
monster.RunSpeed = 2000;
monster.MinAttack = 1;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "TinyMindofEvil";
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 = 40000;
entity.X = 50;
entity.Y = 49;
entity.UID = 2769;
entity.MapID = 10011;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
break;
}
}
break;
}
#endregion
#region GuardingStele
case 19256:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("(you followed the mysterions force to the plain and was surprised to find a mountain that suddenly appeared at the foot of the mountain there was a rotten stele forgotten be tome you decided to go up th viking check it out.mohamedwatany.");
dialog.Option("climb up the mountain.", 1);
dialog.Send();
break;
}
case 1:
{
client.Entity.Teleport(10010, 77, 88);
Data datapacket = new Data(true);
datapacket.UID = client.Entity.UID;
datapacket.ID = 162;
datapacket.TimeStamp2 = 0;
datapacket.wParam1 = 52;
datapacket.wParam2 = 46;
client.Send(datapacket);
dialog.Send();
break;
}
}
break;
}
#endregion
#region GuardingStele
case 19257:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Quests.CheckQuest(QuestID.Release_the_souls) == QuestPacket.QuestData.QuestStatus.Available)
{
dialog.Text("(the uphill road was blocked by an ancient foration you observed the formation carefully and found the sealing stele was the key to break the formatuin mohamedwatany");
dialog.Option("Destroy the stele.", 1);
dialog.Send();
break;
}
else
dialog.Text("You`ve already broken the Formation mohamedwatany");
dialog.Option("Okay.", 2);
dialog.Send();
break;
}
case 2:
{
client.Entity.Teleport(10011, 44, 56);
break;
}
case 1:
{
INpc npc = new Network.GamePackets.NpcSpawn();
client.Map.Npcs[npc.UID = 19257].X = 10;
client.Map.Npcs[npc.UID = 19257].Y = 10;
client.Screen.FullWipe();
client.Screen.Reload(null);
_String str = new _String(true);
str.Type = 10;
str.UID = client.Entity.UID;
str.Texts.Add("cantask");
Database.MonsterInformation monster = new Conquer_Mohamed_Watany.Database.MonsterInformation();
monster.Hitpoints = 30000;
monster.Level = 72;
monster.Mesh = 770;
monster.Name = "SealingStele";
monster.MaxAttack = 1;
monster.AttackRange = 20;
monster.AttackType = 2;
monster.AttackSpeed = 1000;
monster.ViewRange = 20;
monster.MoveSpeed = 2000;
monster.RunSpeed = 2000;
monster.MinAttack = 1;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "SealingStele";
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 = 40000;
entity.X = 51;
entity.Y = 43;
entity.UID = 2769;
entity.MapID = 10010;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
client.Map.AddEntity(entity);
dialog.Send();
break;
}
}
break;
}
#endregion
#endregion
- Código:
Secret_in_the_Chest =3679,
Weird_Formation = 3680,
Mind_of_Evil = 3682,
- Código:
if (Name == "SealingStele")
{
{
INpc npc = new Network.GamePackets.NpcSpawn();
killer.Owner.Map.Npcs[npc.UID = 19257].X = 51;
killer.Owner.Map.Npcs[npc.UID = 19257].Y = 43;
killer.Owner.Screen.FullWipe();
killer.Owner.Screen.Reload(null);
_String str = new _String(true);
str.Type = 10;
str.UID = killer.UID;
str.Texts.Add("cantask");
killer.Owner.Quests.IncreaseQuestKills(QuestID.Mind_of_Evil, 1);
}
}
if (Name == "TinyMindofEvil")
{
{
INpc npc = new Network.GamePackets.NpcSpawn();
killer.Owner.Map.Npcs[npc.UID = 19259].X = 40;
killer.Owner.Map.Npcs[npc.UID = 19259].Y = 45;
killer.Owner.Screen.FullWipe();
killer.Owner.Screen.Reload(null);
_String str = new _String(true);
str.Type = 10;
str.UID = killer.UID;
str.Texts.Add("cantask");
killer.Owner.Quests.IncreaseQuestKills(QuestID.Weird_Formation, 1);
}
}
- Código:
INSERT INTO `maps` VALUES ('10009', '10009', '65544', '0000');
INSERT INTO `maps` VALUES ('10010', '10010', '65544', '0000');
INSERT INTO `maps` VALUES ('10011', '10009', '65544', '0000');
INSERT INTO `npcs` VALUES ('19254', 'Miracle`sSpirit', '0002', '41364', '10009', '0043', '0045', null);
INSERT INTO `npcs` VALUES ('19253', 'Chest', '0002', '41310', '10009', '0042', '0040', null);
INSERT INTO `npcs` VALUES ('19256', 'GuardingStele', '0002', '41320', '1002', '0137', '0427', null);
INSERT INTO `npcs` VALUES ('19257', 'SealingStele', '0002', '41330', '10010', '0051', '0043', null);
INSERT INTO `npcs` VALUES ('19258', 'Chest', '0002', '41310', '10011', '0042', '0040', '');
INSERT INTO `npcs` VALUES ('19259', 'Miracle`sSpirit', '0002', '41367', '10011', '0010', '0010', '');
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|