if (CanAttack(attacker, attacked, spell, attack.AttackType == Attack.Melee)) { attack.Effect1 = Attack.AttackEffects1.None; uint damage = Game.Attacking.Calculate.Melee(attacker, attacked, ref attack); if (attacker.NobilityRank == M.AzozProject.Game.ConquerStructures.NobilityRank.King) { damage = (uint)(damage * 0.9); } if (attacker.NobilityRank == M.AzozProject.Game.ConquerStructures.NobilityRank.Prince) { damage = (uint)(damage * 0.4); } if (attacker.NobilityRank == M.AzozProject.Game.ConquerStructures.NobilityRank.Duke) { damage = (uint)(damage * 0.1); } if (attacker.NobilityRank == M.AzozProject.Game.ConquerStructures.NobilityRank.Earl) { damage = (uint)(damage * 0.2); }