|
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); } } }
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); } } }