private void Bribe(object sender, EventArgs args) { IUnit newUnit = Game.CreateUnit(_unitToBribe.Type, _unitToBribe.X, _unitToBribe.Y, _diplomat.Owner); Game.DisbandUnit(_unitToBribe); _diplomat.KeepMoving(newUnit); _diplomat.Player.Gold -= (short)_bribeCost; Cancel(); }
private void Bribe(object sender, EventArgs args) { IUnit newUnit = Game.CreateUnit(_unitToBribe.Type, _unitToBribe.X, _unitToBribe.Y, _diplomat.Owner); Game.DisbandUnit(_unitToBribe); _diplomat.KeepMoving(newUnit); _diplomat.Player.Gold -= (short)_bribeCost; // fire-eggs 20190725 bribed unit doesn't get to move this turn newUnit.SkipTurn(); Cancel(); }