المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : NPC Stuff P7


محمد ياسر
2019-04-18, 10:27 AM
السلام عليكم ورحمة الله وبركاته

npc اسطفات 7 +12

بالاجنحه لكل الشخصيات

#region Stuff[P7]
case 195291:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey There " + client.Entity.Name + " Would you like to take Full Stuff");
dialog.Option("Stuff Bruce_LeeP7", 1);
dialog.Option("Stuff NinjaP7", 3);
dialog.Option("Stuff MonkP7", 4);
dialog.Option("Stuff TaoistP7", 5);
dialog.Option("Stuff TrojanP7", 6);
dialog.Option("Stuff PirateP7", 7);
dialog.Option("Stuff WarriorP7", 8);
dialog.Option("Stuff ArcherP7", 9);
dialog.Option("Stuff WindWalkerP7", 11);
dialog.Option("Fan-Tower-Wing-Crop-Steed", 10);
if (DateTime.Now.Minute >= 08 && DateTime.Now.Minute <= 10)
{

using (var cmd = new MySqlCommand(MySqlCommandType.Update).Update("npcs"))
{
cmd.Set("mapid", "5000")
.Set("cellx", "60")
.Set("celly", "70")
.Where("id", "195291").Execute();
}
}

dialog.Send();
break;
}


#region Steed > tower > fan > wing > Crop
case 10:
{
uint itemid1 = 300000;//Steed
uint itemid2 = 202009;//Tower
uint itemid3 = 201009;//Fan
uint itemid4 = 204009;//Wing
uint itemid5 = 203009;//Crop
ConquerItem item1 = new ConquerItem(true);
item1.ID = itemid1;
item1.Color = Game.Enums.Color.White;
item1.Plus = 12;
item1.Durability = item1.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid1].Durability;
client.Inventory.Add(item1, Game.Enums.ItemUse.CreateAndAdd);

ConquerItem item2 = new ConquerItem(true);
item2.ID = itemid2;
item2.Color = Game.Enums.Color.White;
item2.Plus = 12;
item2.Bless = 1;
item2.SocketOne = Game.Enums.Gem.SuperGloryGem;
item2.SocketTwo = Game.Enums.Gem.SuperGloryGem;
item2.Durability = item2.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid2].Durability;
client.Inventory.Add(item2, Game.Enums.ItemUse.CreateAndAdd);

ConquerItem item3 = new ConquerItem(true);
item3.ID = itemid3;
item3.Color = Game.Enums.Color.White;
item3.Plus = 12;
item3.Bless = 1;
item3.SocketOne = Game.Enums.Gem.SuperThunderGem;
item3.SocketTwo = Game.Enums.Gem.SuperThunderGem;
item3.Durability = item3.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid3].Durability;
client.Inventory.Add(item3, Game.Enums.ItemUse.CreateAndAdd);

ConquerItem item4 = new ConquerItem(true);
item4.ID = itemid4;
item4.Color = Game.Enums.Color.White;
item4.Plus = 12;
item4.Bless = 1;
item4.SocketOne = Game.Enums.Gem.SuperThunderGem;
item4.SocketTwo = Game.Enums.Gem.SuperGloryGem;
item4.Durability = item4.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid4].Durability;
client.Inventory.Add(item4, Game.Enums.ItemUse.CreateAndAdd);

ConquerItem item5 = new ConquerItem(true);
item5.ID = itemid5;
item5.Color = Game.Enums.Color.White;
item5.Plus = 12;
item5.Bless = 1;
item5.Durability = item5.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid5].Durability;
client.Inventory.Add(item5, Game.Enums.ItemUse.CreateAndAdd);
break;
}
#endregion


case 11://windwalker
{
client.Inventory.AddSoul(626439, 801308, 6, 12, 12, 1, true, false);//DragonFan
client.Inventory.AddSoul(626439, 801308, 6, 12, 12, 1, true, false);//DragonFan
client.Inventory.AddSoul(101309, 822071, 6, 12, 12, 1, true, false);//Armor
client.Inventory.AddSoul(170309, 820073, 6, 12, 12, 1, true, false);//Hat
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
break;

}
case 1://Bruce_Lee
{
// client.Entity.ConquerPoints -= 1;




client.Inventory.AddSoul(617439, 801004, 6, 12, 12, 1, true, false);//SkyNunchaku
client.Inventory.AddSoul(617439, 801004, 6, 12, 12, 1, true, false);//SkyNunchaku
client.Inventory.AddSoul(138309, 822071, 6, 12, 12, 1, true, false);//Bruce_LeeArmor
client.Inventory.AddSoul(148309, 820073, 6, 12, 12, 1, true, false);//Bruce_LeeHood
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}

case 3://ninja
{
// client.Entity.ConquerPoints -= 1;


client.Inventory.AddSoul(511439, 800255, 6, 12, 12, 1, true, false);//Scythe
client.Inventory.AddSoul(511439, 800255, 6, 12, 12, 1, true, false);//Scythe
client.Inventory.AddSoul(616439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(616439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800111, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana
client.Inventory.AddSoul(135309, 822071, 6, 12, 12, 1, true, false);//ArmorNinja
client.Inventory.AddSoul(123309, 820073, 6, 12, 12, 1, true, false);//NinjaHood
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
case 4://Monk
{
// client.Entity.ConquerPoints -= 1;

client.Inventory.AddSoul(622439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(622439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(610439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(610439, 800725, 6, 12, 12, 1, true, false);//Beads
client.Inventory.AddSoul(136309, 822071, 6, 12, 12, 1, true, false);//ArmorMonk
client.Inventory.AddSoul(143309, 820073, 6, 12, 12, 1, true, false);//CapMonk
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
case 5://Fire And Water
{
// client.Entity.ConquerPoints -= 1;




client.Inventory.AddSoul(421439, 800522, 6, 12, 12, 1, true, false);//BackSword
client.Inventory.AddSoul(620439, 800522, 6, 12, 12, 1, true, false);//ImperialBacksword
client.Inventory.AddSoul(619439, 801104, 6, 12, 12, 1, true, false);
client.Inventory.AddSoul(134309, 822071, 6, 12, 12, 1, true, false);//ArmorFire
client.Inventory.AddSoul(114309, 820076, 6, 12, 12, 1, true, false);//CapFire
client.Inventory.AddSoul(152279, 823060, 6, 12, 12, 1, true, false);//Bracelet
client.Inventory.AddSoul(121269, 821034, 6, 12, 12, 1, true, false);//Bag
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
//client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
case 6://Trojan
{
// client.Entity.ConquerPoints -= 1;



client.Inventory.AddSoul(480439, 800111, 6, 12, 12, 1, true, false);//Clup
client.Inventory.AddSoul(614429, 800111, 6, 12, 12, 1, true, false);//ShadowCrossSaber
client.Inventory.AddSoul(614429, 800111, 6, 12, 12, 1, true, false);//ShadowCrossSaber
client.Inventory.AddSoul(410439, 800111, 6, 12, 12, 1, true, false);//Blade
client.Inventory.AddSoul(420439, 800111, 6, 12, 12, 1, true, false);//Sword
client.Inventory.AddSoul(130309, 822071, 6, 12, 12, 1, true, false);//ArmorTrojan
client.Inventory.AddSoul(118309, 820073, 6, 12, 12, 1, true, false);//CapTrojan
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
//client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
case 7://Pirate
{
// client.Entity.ConquerPoints -= 1;


client.Inventory.AddSoul(671439, 800811, 6, 12, 12, 1, true, false);//EpicRapier
client.Inventory.AddSoul(670439, 800810, 6, 12, 12, 1, true, false);//EpicPistol
client.Inventory.AddSoul(611439, 800811, 6, 12, 12, 1, true, false);//Rapier
client.Inventory.AddSoul(612439, 800810, 6, 12, 12, 1, true, false);//Pistol
client.Inventory.AddSoul(139309, 822071, 6, 12, 12, 1, true, false);//ArmorPirate
client.Inventory.AddSoul(144309, 820073, 6, 12, 12, 1, true, false);//CapPirate
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
case 8://Warrior
{
// client.Entity.ConquerPoints -= 1;


client.Inventory.AddSoul(560439, 800215, 6, 12, 12, 1, true, false);//Spear
client.Inventory.AddSoul(900309, 800422, 6, 12, 12, 1, true, false);//Shield
client.Inventory.AddSoul(131309, 822071, 6, 12, 12, 1, true, false);//ArmorWarrior
client.Inventory.AddSoul(111309, 820073, 6, 12, 12, 1, true, false);//CapWarrior
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
// client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
case 9://Archer
{
// client.Entity.ConquerPoints -= 1;


client.Inventory.AddSoul(613429, 800917, 6, 12, 12, 1, true, false);//Knife
client.Inventory.AddSoul(613429, 800917, 6, 12, 12, 1, true, false);//Knife
client.Inventory.AddSoul(500429, 800618, 6, 12, 12, 1, true, false);//Bow
client.Inventory.AddSoul(133309, 822071, 6, 12, 12, 1, true, false);//ArmorArcher
client.Inventory.AddSoul(113309, 820073, 6, 12, 12, 1, true, false);//CapArcher
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
//client.Entity.Teleport(1002, 310, 277);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;

}
}
break;
}
#endregion

Mero
2019-04-18, 10:53 PM
الله ينور جميل

MohamedModyAdel
2019-06-25, 10:42 PM
جميل