محمد ياسر
2019-07-23, 06:10 PM
عفواً لايمكن عرض الروابط في الإرشيف
حط الانبي سي ده في السورس
#region New Garments by karim.slasher
case 802:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there im the new master upgrading your Garment for " + Database.rates.DamageGarment + " CPS and Talismans for " + Database.rates.DamageTails + " Cps each Talisman, What would you want?");
dialog.Text("They will be Enchanted with 255, and blessed -7.");
dialog.Option("Garment.", 1);
dialog.Option("HeavenFan.", 2);
dialog.Option("StarTower.", 3);
dialog.Option("Nothing, Have a good day.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.ConquerPoints >= Database.rates.DamageGarment)
{
IConquerItem i = client.Equipment.TryGetItem(ConquerItem.Garment);
if (i != null)
{
if (i.Bless != 7)
{
client.Entity.ConquerPoints -= Database.rates.DamageGarment;
i.Bless = 7;
i.Enchant = 255;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
i.Send(client);
dialog.Text("Sucess your item is now -7 255 HP Check for your self.");
dialog.Option("Thanks.", 255);
}
else
{
dialog.Text("your item already -7 Hp 255");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Garment First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with " + Database.rates.DamageGarment + " Conquer Points.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
case 2:
case 3:
{
if (client.Entity.ConquerPoints >= Database.rates.DamageTails)
{
IConquerItem i = client.Equipment.TryGetItem(npcRequest.OptionID == 2 ? ConquerItem.Fan : ConquerItem.Tower);
if (i != null)
{
if (i.Bless != 7)
{
client.Entity.ConquerPoints -= Database.rates.DamageTails;
i.Bless = 7;
i.Enchant = 255;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
i.Send(client);
dialog.Text("Sucess your item is now -7 255 HP Check for your self.");
dialog.Option("Thanks.", 255);
}
else
{
dialog.Text("your item already -7 Hp 255");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text(npcRequest.OptionID == 2 ? "Please Equip Your HeavenFan First." : "Please Equip your StarTower First.");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with " + Database.rates.DamageTails + " Conquer Points.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
}
break;
}
#endregion
وده في النفي كات
802 0 0 TalismanGarment 2 50120 -1 1002 412 400 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
حط الانبي سي ده في السورس
#region New Garments by karim.slasher
case 802:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there im the new master upgrading your Garment for " + Database.rates.DamageGarment + " CPS and Talismans for " + Database.rates.DamageTails + " Cps each Talisman, What would you want?");
dialog.Text("They will be Enchanted with 255, and blessed -7.");
dialog.Option("Garment.", 1);
dialog.Option("HeavenFan.", 2);
dialog.Option("StarTower.", 3);
dialog.Option("Nothing, Have a good day.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.ConquerPoints >= Database.rates.DamageGarment)
{
IConquerItem i = client.Equipment.TryGetItem(ConquerItem.Garment);
if (i != null)
{
if (i.Bless != 7)
{
client.Entity.ConquerPoints -= Database.rates.DamageGarment;
i.Bless = 7;
i.Enchant = 255;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
i.Send(client);
dialog.Text("Sucess your item is now -7 255 HP Check for your self.");
dialog.Option("Thanks.", 255);
}
else
{
dialog.Text("your item already -7 Hp 255");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please Equip Your Garment First");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with " + Database.rates.DamageGarment + " Conquer Points.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
case 2:
case 3:
{
if (client.Entity.ConquerPoints >= Database.rates.DamageTails)
{
IConquerItem i = client.Equipment.TryGetItem(npcRequest.OptionID == 2 ? ConquerItem.Fan : ConquerItem.Tower);
if (i != null)
{
if (i.Bless != 7)
{
client.Entity.ConquerPoints -= Database.rates.DamageTails;
i.Bless = 7;
i.Enchant = 255;
ConquerItemTable.UpdateBless(i);
ConquerItemTable.UpdateEnchant(i);
i.Send(client);
dialog.Text("Sucess your item is now -7 255 HP Check for your self.");
dialog.Option("Thanks.", 255);
}
else
{
dialog.Text("your item already -7 Hp 255");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text(npcRequest.OptionID == 2 ? "Please Equip Your HeavenFan First." : "Please Equip your StarTower First.");
dialog.Option("Ahh sorry.", 255);
}
}
else
{
dialog.Text("Please come back to me with " + Database.rates.DamageTails + " Conquer Points.");
dialog.Option("Ahh sorry.", 255);
}
break;
}
}
break;
}
#endregion
وده في النفي كات
802 0 0 TalismanGarment 2 50120 -1 1002 412 400 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0