ElSaher
2020-04-02, 12:54 AM
اول حاجا ابحث عن
region stamina
اقفلها وامسحها بدلها بي دي
#region Stamina
if (client.Player.StaminaStamp.Next(500, time: time))
{
if (client.Vigor < client.Player.ExtraVigor)
{
client.Vigor += (ushort)(3 + (client.Player.Action == Game.Enums.ConquerAction.Sit ? 2 : 0));
{
Vigor vigor = new Vigor(true);
vigor.Amount = client.Vigor;
vigor.Send(client);
}
}
if (!client.Player.ContainsFlag(Update.Flags.Ride) && !client.Player.ContainsFlag(Update.Flags.Fly) || client.Equipment.TryGetItem(18) != null)
{
int limit = 0;
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
if (client.Player.HeavenBlessing > 0)
limit = 50;
#region Toaist
if (client.Player.Class >= 140 && client.Player.Class <= 145)
{
if (!client.Player.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.FlameLotus))
{
client.Player.AddFlag3((ulong)Network.GamePackets. Update.Flags3.FlameLotus);
}
if (client.Player.Energy <= 300)
{
if (client.Player.Action == Enums.ConquerAction.Sit)
{
if (client.Player.Energy <= 280)
{
client.Player.Energy += 4;
}
else
{
if (client.Player.Energy != 300)
client.Player.Energy += 1;
}
}
}
}
if (client.Player.Class >= 100 && client.Player.Class <= 135)
{
if (!client.Player.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.AuroraLotus))
{
client.Player.AddFlag3((ulong)Network.GamePackets. Update.Flags3.AuroraLotus);
}
if (client.Player.Energy <= 200)
{
if (client.Player.Action == Enums.ConquerAction.Sit)
{
if (client.Player.Energy <= 180)
{
client.Player.Energy += 4;
}
else
{
if (client.Player.Energy != 200)
client.Player.Energy += 1;
}
}
}
}
#endregion
#region Monk
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
#endregion
if (client.Player.Stamina != 100 + limit)
{
if (client.Player.Action == Enums.ConquerAction.Sit)
{
if (client.Player.Stamina <= 93 + limit)
{
client.Player.Stamina += 7;
}
else
{
if (client.Player.Stamina != 100 + limit)
client.Player.Stamina = (byte)(100 + limit);
}
}
else
{
if (client.Player.Stamina <= 97 + limit)
{
client.Player.Stamina += 5;
}
else
{
if (client.Player.Stamina != 100 + limit)
client.Player.Stamina = (byte)(100 + limit);
}
}
}
client.Player.StaminaStamp = new Time32(time);
}
}
#endregion
ولو عايز تخليه بيخلص
امسحها وبدلها بي دي
#region Stamina
if (client.Entity.StaminaStamp.Next(500, time: time))
{
if (client.Vigor < client.Entity.ExtraVigor)
{
client.Vigor += (ushort)(3 + (client.Entity.Action == Game.Enums.ConquerAction.Sit ? 2 : 0));
{
Vigor vigor = new Vigor(true);
vigor.Amount = client.Vigor;
vigor.Send(client);
}
}
if (!client.Entity.ContainsFlag(Update.Flags.Ride) && !client.Entity.ContainsFlag(Update.Flags.Fly) || client.Equipment.TryGetItem(18) != null)
{
int limit = 0;
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
if (client.Entity.HeavenBlessing > 0)
limit = 50;
#region Toaist
if (client.Entity.Class >= 140 && client.Entity.Class <= 145)
{
if (!client.Entity.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.FlameLotus))
{
client.Entity.AddFlag3((ulong)Network.GamePackets. Update.Flags3.FlameLotus);
}
if (client.Entity.Energy <= 300)
{
if (client.Entity.Action == Enums.ConquerAction.Sit)
{
if (client.Entity.Energy <= 280)
{
client.Entity.Energy += 4;
}
else
{
if (client.Entity.Energy != 300)
client.Entity.Energy += 1;
}
}
}
}
if (client.Entity.Class >= 100 && client.Entity.Class <= 135)
{
if (!client.Entity.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.AuroraLotus))
{
client.Entity.AddFlag3((ulong)Network.GamePackets. Update.Flags3.AuroraLotus);
}
if (client.Entity.Energy <= 200)
{
if (client.Entity.Action == Enums.ConquerAction.Sit)
{
if (client.Entity.Energy <= 180)
{
client.Entity.Energy += 4;
}
else
{
if (client.Entity.Energy != 200)
client.Entity.Energy += 1;
}
}
}
}
#endregion
#region Monk
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
#endregion
if (client.Entity.Stamina != 100 + limit)
{
if (client.Entity.Action == Enums.ConquerAction.Sit)
{
if (client.Entity.Stamina <= 93 + limit)
{
client.Entity.Stamina += 7;
}
else
{
if (client.Entity.Stamina != 100 + limit)
client.Entity.Stamina = (byte)(100 + limit);
}
}
else
{
if (client.Entity.Stamina <= 97 + limit)
{
client.Entity.Stamina += 5;
}
else
{
if (client.Entity.Stamina != 100 + limit)
client.Entity.Stamina = (byte)(100 + limit);
}
}
}
client.Entity.StaminaStamp = new Time32(time);
}
}
#endregion
region stamina
اقفلها وامسحها بدلها بي دي
#region Stamina
if (client.Player.StaminaStamp.Next(500, time: time))
{
if (client.Vigor < client.Player.ExtraVigor)
{
client.Vigor += (ushort)(3 + (client.Player.Action == Game.Enums.ConquerAction.Sit ? 2 : 0));
{
Vigor vigor = new Vigor(true);
vigor.Amount = client.Vigor;
vigor.Send(client);
}
}
if (!client.Player.ContainsFlag(Update.Flags.Ride) && !client.Player.ContainsFlag(Update.Flags.Fly) || client.Equipment.TryGetItem(18) != null)
{
int limit = 0;
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
if (client.Player.HeavenBlessing > 0)
limit = 50;
#region Toaist
if (client.Player.Class >= 140 && client.Player.Class <= 145)
{
if (!client.Player.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.FlameLotus))
{
client.Player.AddFlag3((ulong)Network.GamePackets. Update.Flags3.FlameLotus);
}
if (client.Player.Energy <= 300)
{
if (client.Player.Action == Enums.ConquerAction.Sit)
{
if (client.Player.Energy <= 280)
{
client.Player.Energy += 4;
}
else
{
if (client.Player.Energy != 300)
client.Player.Energy += 1;
}
}
}
}
if (client.Player.Class >= 100 && client.Player.Class <= 135)
{
if (!client.Player.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.AuroraLotus))
{
client.Player.AddFlag3((ulong)Network.GamePackets. Update.Flags3.AuroraLotus);
}
if (client.Player.Energy <= 200)
{
if (client.Player.Action == Enums.ConquerAction.Sit)
{
if (client.Player.Energy <= 180)
{
client.Player.Energy += 4;
}
else
{
if (client.Player.Energy != 200)
client.Player.Energy += 1;
}
}
}
}
#endregion
#region Monk
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
#endregion
if (client.Player.Stamina != 100 + limit)
{
if (client.Player.Action == Enums.ConquerAction.Sit)
{
if (client.Player.Stamina <= 93 + limit)
{
client.Player.Stamina += 7;
}
else
{
if (client.Player.Stamina != 100 + limit)
client.Player.Stamina = (byte)(100 + limit);
}
}
else
{
if (client.Player.Stamina <= 97 + limit)
{
client.Player.Stamina += 5;
}
else
{
if (client.Player.Stamina != 100 + limit)
client.Player.Stamina = (byte)(100 + limit);
}
}
}
client.Player.StaminaStamp = new Time32(time);
}
}
#endregion
ولو عايز تخليه بيخلص
امسحها وبدلها بي دي
#region Stamina
if (client.Entity.StaminaStamp.Next(500, time: time))
{
if (client.Vigor < client.Entity.ExtraVigor)
{
client.Vigor += (ushort)(3 + (client.Entity.Action == Game.Enums.ConquerAction.Sit ? 2 : 0));
{
Vigor vigor = new Vigor(true);
vigor.Amount = client.Vigor;
vigor.Send(client);
}
}
if (!client.Entity.ContainsFlag(Update.Flags.Ride) && !client.Entity.ContainsFlag(Update.Flags.Fly) || client.Equipment.TryGetItem(18) != null)
{
int limit = 0;
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
if (client.Entity.HeavenBlessing > 0)
limit = 50;
#region Toaist
if (client.Entity.Class >= 140 && client.Entity.Class <= 145)
{
if (!client.Entity.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.FlameLotus))
{
client.Entity.AddFlag3((ulong)Network.GamePackets. Update.Flags3.FlameLotus);
}
if (client.Entity.Energy <= 300)
{
if (client.Entity.Action == Enums.ConquerAction.Sit)
{
if (client.Entity.Energy <= 280)
{
client.Entity.Energy += 4;
}
else
{
if (client.Entity.Energy != 300)
client.Entity.Energy += 1;
}
}
}
}
if (client.Entity.Class >= 100 && client.Entity.Class <= 135)
{
if (!client.Entity.ContainsFlag3((ulong)Network.GameP ackets.Update.Flags3.AuroraLotus))
{
client.Entity.AddFlag3((ulong)Network.GamePackets. Update.Flags3.AuroraLotus);
}
if (client.Entity.Energy <= 200)
{
if (client.Entity.Action == Enums.ConquerAction.Sit)
{
if (client.Entity.Energy <= 180)
{
client.Entity.Energy += 4;
}
else
{
if (client.Entity.Energy != 200)
client.Entity.Energy += 1;
}
}
}
}
#endregion
#region Monk
if (client.Spells != null)
{
if (client.Spells.ContainsKey(12560))
{
var spell = client.Spells[12560];
var skill = Database.SpellTable.SpellInformations[12560][spell.Level];
limit += (int)skill.Power;
}
}
#endregion
if (client.Entity.Stamina != 100 + limit)
{
if (client.Entity.Action == Enums.ConquerAction.Sit)
{
if (client.Entity.Stamina <= 93 + limit)
{
client.Entity.Stamina += 7;
}
else
{
if (client.Entity.Stamina != 100 + limit)
client.Entity.Stamina = (byte)(100 + limit);
}
}
else
{
if (client.Entity.Stamina <= 97 + limit)
{
client.Entity.Stamina += 5;
}
else
{
if (client.Entity.Stamina != 100 + limit)
client.Entity.Stamina = (byte)(100 + limit);
}
}
}
client.Entity.StaminaStamp = new Time32(time);
}
}
#endregion